mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Fix button-based stuff
This commit is contained in:
+2
-1
@@ -359,7 +359,8 @@ module.exports = class Util {
|
||||
if (joined.includes(interaction.user.id)) return false;
|
||||
return true;
|
||||
};
|
||||
const collector = msg.channel.createMessageComponentCollector(filter, {
|
||||
const collector = msg.channel.createMessageComponentCollector({
|
||||
filter,
|
||||
componentType: 'BUTTON',
|
||||
max: max - 1,
|
||||
time: 120000
|
||||
|
||||
Reference in New Issue
Block a user