Skip to content
GitHub

ReadyInfo

interface in meocord/interface Since 4.1.0

interface ReadyInfo

What onReady learns about its process, beside the client: whether it should do one-off work.

Members

primary

primary: boolean

Whether this process should do one-off work, such as starting a scheduler that must run once. true for a bot running in one process, and in process sharding for the process holding shard 0 only.

See also