defer reply on goob
This commit is contained in:
@@ -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 })
|
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
|
return
|
||||||
}
|
}
|
||||||
|
await interaction.deferReply()
|
||||||
const amountOfGoobs = (await execute('SELECT COUNT(*) as totalweight from goob'))[0].totalweight
|
const amountOfGoobs = (await execute('SELECT COUNT(*) as totalweight from goob'))[0].totalweight
|
||||||
let number = Number(interaction.options.get('gooberid')?.value)
|
let number = Number(interaction.options.get('gooberid')?.value)
|
||||||
let targetImage: { guild: string, channel: string, messageid: string, url: string, id: number }
|
let targetImage: { guild: string, channel: string, messageid: string, url: string, id: number }
|
||||||
|
|||||||
Reference in New Issue
Block a user