1
0
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:
MatteZ02 2020-04-28 12:00:58 +03:00
parent c2d527d9c6
commit a7282e40cf

View File

@ -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);
}, },
}; };