Fix button-based stuff

This commit is contained in:
Dragon Fire
2024-03-21 16:32:39 -04:00
parent 60b4d5b5b7
commit 99b71f5657
5 changed files with 63 additions and 54 deletions
+2 -1
View File
@@ -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