mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix
This commit is contained in:
@@ -67,7 +67,7 @@ module.exports = class LieSwatterCommand extends Command {
|
|||||||
let choices;
|
let choices;
|
||||||
try {
|
try {
|
||||||
choices = await msg.channel.awaitMessageComponent({
|
choices = await msg.channel.awaitMessageComponent({
|
||||||
filter: res => awaitedPlayers.includes(res.author.id),
|
filter: res => awaitedPlayers.includes(res.user.id),
|
||||||
max: pts.size,
|
max: pts.size,
|
||||||
time: 30000
|
time: 30000
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user