(name: string, description: string)
| 58 | } |
| 59 | |
| 60 | createSlashCommand(name: string, description: string): Commands.SlashCommandBuilder<{}> { |
| 61 | const builder = Commands.slashCommand(name, description) |
| 62 | builder.onBuilt = (cmd) => this.createCommand(cmd) |
| 63 | |
| 64 | return builder |
| 65 | } |
| 66 | |
| 67 | createUserCommand(name: string): Commands.UserCommandBuilder { |
| 68 | const builder = Commands.userCommand(name) |
nothing calls this directly
no test coverage detected