changed order for quickmode
This commit is contained in:
@@ -296,10 +296,6 @@ async function nutsNut(interaction, quickMode) {
|
||||
files: [`${asset_path}nuts_onCD.avif`]
|
||||
})
|
||||
}
|
||||
embed.setDescription('\u200B')
|
||||
// pseudo animation
|
||||
|
||||
|
||||
// set 1 hour cooldown
|
||||
const cd = Math.floor((Date.now() + 3600000) / 1000)
|
||||
await cdColl.findOneAndUpdate({
|
||||
@@ -338,7 +334,9 @@ async function nutsNut(interaction, quickMode) {
|
||||
|
||||
if (quickMode) {
|
||||
return interaction.editReply({ content: `Du hast ${formatNut(amount)} bekommen! :chestnut:` })
|
||||
} else {
|
||||
}
|
||||
|
||||
// pseudo animation
|
||||
embed.setImage(assets.box)
|
||||
await interaction.editReply({
|
||||
embeds: [embed],
|
||||
@@ -366,7 +364,6 @@ async function nutsNut(interaction, quickMode) {
|
||||
embeds: [embed],
|
||||
files: [`${asset_path}${assetFile.split('://')[1]}`]
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user