From 224b8cd8393e7d3a3cf3c84da383b43bc419ca30 Mon Sep 17 00:00:00 2001 From: Matte <51192395+MatteZ02@users.noreply.github.com> Date: Sun, 13 Oct 2019 21:08:04 +0300 Subject: [PATCH] Update message.js --- events/message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/events/message.js b/events/message.js index 70f6ddb8..15434390 100644 --- a/events/message.js +++ b/events/message.js @@ -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);