move filter
This commit is contained in:
1 parent
09b335ac46
commit
615a074540
1 file changed
+1
-1
+1
-1
@@ -246,9 +246,9 @@ module.exports = new Command({
|
||||
components: [row],
|
||||
});
|
||||
|
||||
const filter = (i) => i.user.id === interaction.user.id;
|
||||
let collector;
|
||||
try {
|
||||
const filter = (i) => i.user.id === interaction.user.id;
|
||||
collector = await m.awaitMessageComponent({
|
||||
filter,
|
||||
max: 1,
|
||||
|
||||
Reference in new issue
Block a user