Fixed message command not working

This commit is contained in:
2021-09-17 11:27:08 -07:00
parent a8d4c11046
commit e705a36035
+1 -1
View File
@@ -173,7 +173,7 @@ export default class MembershipScreening {
const isSlashCommand = data instanceof CommandInteraction && data.isCommand();
const isMessage = data instanceof Message;
if(!isSlashCommand && isMessage) return;
if(!isSlashCommand && !isMessage) return;
if(data.guild === null || data.guildId === null) return;