mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 10:49:20 +00:00
Fixed message command not working
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user