Methods
check
- check(message: Message): Promise<boolean>
Parameters
Returns Promise<boolean>
exclusive
Returns boolean
Whether or not this command is exclusive
(i.e. stops other commands from running, doesn't stop higher priority commands).
execute
- execute(message: Message): Promise<void>
Parameters
Returns Promise<void>
getPersistentState
Parameters
getState
Parameters
Returns Promise<State>
priority
Returns number
Priority of command, with higher number being higher priority.
setPersistentState
Parameters
Returns Promise<void>
setState
- setState(index: Index, newStateChanges: Partial<State>): Promise<void>
Parameters
Returns Promise<void>
If other commands should not be parsed/executed if this command is triggered.