This commit is contained in:
Dragon Fire
2024-05-02 00:04:52 -04:00
parent ea4ac30733
commit 605268ff17
+8 -4
View File
@@ -73,11 +73,15 @@ module.exports = class HungerGamesCommand extends Command {
max: 1,
time: 30000
});
if (buttonPress.customId === 'false') return buttonPress.reply({ content: 'Too bad...', components: [] });
} catch {
return buttonPress.reply({ content: 'See you next time!', components: [] });
if (buttonPress.customId === 'false') {
await buttonPress.update({ content: text, components: [] });
return msg.reply('Too bad...', { components: [] });
}
buttonPress.update({ content: text, components: [] });
} catch {
await buttonPress.update({ content: text, components: [] });
return msg.reply('See you next time!', { components: [] });
}
await buttonPress.update({ content: text, components: [] });
if (!bloodbath) sun = !sun;
if (bloodbath) bloodbath = false;
}