mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-26 14:19:11 +02:00
Fix all awaitMessages
This commit is contained in:
@@ -38,7 +38,8 @@ module.exports = class MemoryCommand extends Command {
|
||||
await delay(10000);
|
||||
await memorizeMsg.edit('Type what you saw. Don\'t worry about formatting, just the words.');
|
||||
const memorizeType = memorize.join(' ');
|
||||
const msgs = await msg.channel.awaitMessages(res => msg.author.id === res.author.id, {
|
||||
const msgs = await msg.channel.awaitMessages({
|
||||
filter: res => msg.author.id === res.author.id,
|
||||
max: 1,
|
||||
time: 30000
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user