mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix all awaitMessages
This commit is contained in:
@@ -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, '');
|
||||
|
||||
Reference in New Issue
Block a user