Thanks to visit codestin.com
Credit goes to github.com

Skip to content
alantr7 edited this page May 12, 2024 · 1 revision

Events are handled on a parallel thread. To register an event handler, simply but @event("NAMESPACE", "EVENT_NAME") above a handler function.

@event("bot", "start")
function on_bot_start() {
  print("Bot has started!")
}
Clone this wiki locally