(commandName: string)
| 398 | return INLINE_COMMANDS[commandKey]; |
| 399 | } |
| 400 | |
| 401 | private resolveSlashCommand(commandName: string): BotCommand | undefined { |
| 402 | if (commandName === "/new") { |
| 403 | return "clear"; |
| 404 | } |
| 405 | |
| 406 | return SLASH_COMMANDS[commandName]; |
| 407 | } |
| 408 | |
| 409 | private resolveSlashCommandTarget( |