thready
This commit is contained in:
parent
861585ceba
commit
4add3d504c
@ -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);
|
msg.reply(strings.command.guildOnly);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user