-
When I call external function (when compiling): proc statusOffline*(s: Shard) {.event(discord).} = from another file, I get this : or updateStatus intended to run only from onReady() proc? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
statusOffline is not an event, it can run through any event e.g. message create, guild create, ready. Ideally it would be better to set it to onReady proc. You can ask questions on the channel at discord api server or dimscord server. |
Beta Was this translation helpful? Give feedback.
statusOffline is not an event, it can run through any event e.g. message create, guild create, ready. Ideally it would be better to set it to onReady proc.
You can ask questions on the channel at discord api server or dimscord server.