mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 16:00:17 +00:00
Update msg.js
This commit is contained in:
parent
c2d527d9c6
commit
a7282e40cf
@ -34,7 +34,8 @@ module.exports = {
|
|||||||
client.commandAliases.get(commandName);
|
client.commandAliases.get(commandName);
|
||||||
if (!command && msg.content !== `${prefix}`) return;
|
if (!command && msg.content !== `${prefix}`) return;
|
||||||
if (command.onlyDev && msg.author.id !== client.config.devId) return;
|
if (command.onlyDev && msg.author.id !== client.config.devId) return;
|
||||||
if (client.config.devMode && msg.member.id !== client.config.devId) return msg.channel.send(client.messages.devMode);
|
if (client.config.devMode && msg.member.id !== client.config.devId)
|
||||||
|
return msg.channel.send(client.messages.devMode);
|
||||||
client.funcs.exe(msg, args, client, Discord, command);
|
client.funcs.exe(msg, args, client, Discord, command);
|
||||||
},
|
},
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user