Fix all awaitMessages

This commit is contained in:
Dragon Fire
2024-03-20 00:04:07 -04:00
parent 02500a4336
commit 47f6333c60
49 changed files with 130 additions and 66 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ module.exports = class PokerCommand extends Command {
}
return false;
};
const msgs = await msg.channel.awaitMessages(filter, { max: 1, time: 60000 });
const msgs = await msg.channel.awaitMessages({ filter, max: 1, time: 60000 });
let choiceAction;
if (msgs.size) {
choiceAction = msgs.first().content.toLowerCase().replace(/[$,]/g, '');