move filter

This commit is contained in:
Noah committed 2021-12-18 22:59:05 -06:00
1 parent 09b335ac46
commit 615a074540
1 file changed
+1 -1
+1 -1
View File
@@ -246,9 +246,9 @@ module.exports = new Command({
components: [row], components: [row],
}); });
const filter = (i) => i.user.id === interaction.user.id;
let collector; let collector;
try { try {
const filter = (i) => i.user.id === interaction.user.id;
collector = await m.awaitMessageComponent({ collector = await m.awaitMessageComponent({
filter, filter,
max: 1, max: 1,