1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 02:00:20 +00:00

Update message.js

This commit is contained in:
Matte 2019-10-13 21:08:04 +03:00 committed by GitHub
parent 5007962c4e
commit 224b8cd839
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ module.exports = {
djrole: null
};
}
let prefix = "-"//client.global.db.guilds[message.guild.id].prefix;
let prefix = client.global.db.guilds[message.guild.id].prefix;
const args = message.content.slice(prefix.length).split(' ');
if (message.mentions.users.first()) {
if (message.mentions.users.first().id === '607266889537945605' && args[1] === 'help') return client.commands.get('help').execute(message, args, client, Discord, prefix, client);