Register a slash command (with optional typed options).
(command: BotCommand)
| 221 | ): void; |
| 222 | /** Register a slash command (with optional typed options). */ |
| 223 | onCommand(command: BotCommand): void; |
| 224 | /** Register a free-text slash command by name. */ |
| 225 | onCommand( |
| 226 | name: string, |
no outgoing calls
no test coverage detected