forked from embee/woomy
cmd.conf.enabled actually does something now
This commit is contained in:
parent
7e4b355627
commit
debd47fe02
1 changed files with 4 additions and 0 deletions
|
@ -163,6 +163,10 @@ module.exports = async (client, message) => {
|
|||
return message.author.send(`<:error:466995152976871434> I don't have permission to speak in **#${message.channel.name}**, Please ask a moderator to give me the send messages permission!`);
|
||||
};
|
||||
|
||||
if (!cmd.conf.enabled) {
|
||||
return message.channel.send('<:error:466995152976871434> This command has been disabled by my developers.')
|
||||
}
|
||||
|
||||
if(message.guild && blacklisted == true) {
|
||||
try {
|
||||
return message.author.send(
|
||||
|
|
Loading…
Reference in a new issue