defer reply on goob

This commit is contained in:
2023-06-17 11:55:22 +02:00
parent f03ffa419a
commit 69d96908df
+1
View File
@@ -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 }