Fixed rolemenu (should be usable now)
diff --git a/src/utils/dualCollector.ts b/src/utils/dualCollector.ts
index 28fa2bc..b9f2c23 100644
--- a/src/utils/dualCollector.ts
+++ b/src/utils/dualCollector.ts
@@ -54,7 +54,7 @@
return i.channel!.id === m.channel!.id && i.user.id === user.id;
}
function defaultModalFilter(i: ModalSubmitInteraction, user: User, m: Message) {
- return (i.channel ? (i.channel!.id === m.channel!.id) : true) && i.user.id === user.id;
+ return (i.channel ? i.channel!.id === m.channel!.id : true) && i.user.id === user.id;
}
export async function modalInteractionCollector(