This commit is contained in:
Dragon Fire
2021-08-02 20:26:18 -04:00
parent 0ba5f71e06
commit 2c3ecd51cd
4 changed files with 10 additions and 10 deletions
+2 -2
View File
@@ -348,7 +348,7 @@ module.exports = class Util {
const filter = interaction => {
if (interaction.user.bot) return false;
if (blacklist.includes(interaction.user.id)) return false;
if (interaction.user.id !== msg.author.id && interaction.customID === 'start') return false;
if (interaction.user.id !== msg.author.id && interaction.customId === 'start') return false;
if (joined.includes(interaction.user.id)) return false;
return true;
};
@@ -358,7 +358,7 @@ module.exports = class Util {
time: 120000
});
collector.on('collect', interaction => {
if (interaction.customID === 'start') {
if (interaction.customId === 'start') {
interaction.deferUpdate();
collector.stop();
return;