This commit is contained in:
Hexugory 2023-03-31 23:50:06 -05:00
parent 861585ceba
commit 4add3d504c

View File

@ -142,7 +142,7 @@ export class CommandClient extends Client {
}
}
if(command.guildOnly && !(msg.channel instanceof GuildChannel)) {
if(command.guildOnly && msg.channel.isDMBased()) {
msg.reply(strings.command.guildOnly);
return;
}