diff options
Diffstat (limited to 'src/commands/dev/test.ts')
-rw-r--r-- | src/commands/dev/test.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/commands/dev/test.ts b/src/commands/dev/test.ts index 0029a3a..5552803 100644 --- a/src/commands/dev/test.ts +++ b/src/commands/dev/test.ts @@ -136,8 +136,10 @@ export default class TestCommand extends BushCommand { // }) // ); const guildCommands = await message.guild.commands.fetch(); + // eslint-disable-next-line @typescript-eslint/no-misused-promises guildCommands.forEach(async (command) => await command.delete()); const globalCommands = await client.application.commands.fetch(); + // eslint-disable-next-line @typescript-eslint/no-misused-promises globalCommands.forEach(async (command) => await command.delete()); return await message.util.reply( |