From 69d96908df8c0ece22d617a1029559a096919c85 Mon Sep 17 00:00:00 2001 From: Legonzaur Date: Sat, 17 Jun 2023 11:55:22 +0200 Subject: [PATCH] defer reply on goob --- src/commands/goob.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands/goob.ts b/src/commands/goob.ts index 487c476..73302bb 100644 --- a/src/commands/goob.ts +++ b/src/commands/goob.ts @@ -20,6 +20,7 @@ module.exports = { void interaction.reply({ content: 'I am sorry dave, I\'m afraid I cannot do that\nYou do not have access to that command', ephemeral: true }) return } + await interaction.deferReply() const amountOfGoobs = (await execute('SELECT COUNT(*) as totalweight from goob'))[0].totalweight let number = Number(interaction.options.get('gooberid')?.value) let targetImage: { guild: string, channel: string, messageid: string, url: string, id: number }