mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-22 21:13:18 +00:00
Update msg.js
This commit is contained in:
parent
83b449e17f
commit
c2d527d9c6
@ -34,8 +34,7 @@ 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)
|
if (client.config.devMode && msg.member.id !== client.config.devId) return msg.channel.send(client.messages.devMode);
|
||||||
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