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
+2 -1
View File
@@ -62,7 +62,8 @@ module.exports = class SortingHatCommand extends Command {
`);
const filter = res =>
res.author.id === msg.author.id && choices.slice(0, answers.length).includes(res.content.toUpperCase());
const choice = await msg.channel.awaitMessages(filter, {
const choice = await msg.channel.awaitMessages({
filter,
max: 1,
time: 120000
});