changed order for quickmode

This commit is contained in:
2026-04-08 11:38:39 +02:00
parent 0218583d24
commit 0c84c85b62
+3 -6
View File
@@ -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]}`]
})
}
}