From 873f0c8e1e34ac7bff938db14683373c22265c4b Mon Sep 17 00:00:00 2001 From: MatteZ02 <47610069+MatteZ02@users.noreply.github.com> Date: Fri, 11 Oct 2019 15:02:15 +0300 Subject: [PATCH] Update message.js --- events/message.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/events/message.js b/events/message.js index 39c38c79..fb272acf 100644 --- a/events/message.js +++ b/events/message.js @@ -2,7 +2,7 @@ module.exports = { name: 'message', async execute(client, message, Discord) { if (message.author.bot || !message.guild) return; - if (message.content.content === '->reset' && message.author.id === '360363051792203779') { + if (message.content === '->reset' && message.author.id === '360363051792203779') { client.guilds.forEach(guild => { client.global.db.guilds[guild.id] = { prefix: ">", @@ -11,7 +11,7 @@ module.exports = { }; }); return message.channel.send(':white_check_mark: Reset all guild settings!') - } else if (message.content.conte === '->resetguildsettings' && message.author.id === '360363051792203779') { + } else if (message.content === '->resetguildsettings' && message.author.id === '360363051792203779') { client.global.db.guilds[message.guild.id] = { prefix: ">", defaultVolume: 5,