Skip to content
3ndetz edited this page Dec 6, 2024 · 1 revision

ctx_chat structure template

ctx_chat is a list with dicts, represents the messages or the events.

Sample:

ctx_chat = [
    {"user":"Lexa542","msg":"Hello!"},
    {"event":"Lexa542","msg":"Hello!"}
]

env = minecraft msg["date"] = eztime() msg["processing_timestamp"] = time.time_ns()

Minecraft message template

format fields

"pre", "rank", "clan", "team", "server", "serverMode", "chat_type", "precision",

Clone this wiki locally