Fixed some errors and messages

This commit is contained in:
MatteZ02 committed 2020-03-13 16:20:23 +02:00
1 parent e15e81d9fe
commit 34a5d26829
14 files changed
+69 -64

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ module.exports = {
const command = client.commands.get(commandName) || client.commands.find(cmd => cmd.aliases && cmd.aliases.includes(commandName)) || client.commandAliases.get(commandName);
if (!command && msg.content !== `${prefix}`) return;
if (command.onlyDev && msg.author.id !== client.config.devId) return msg.channel.send(client.messages.notAllowed);
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, prefix, command);
}
}