From d4403fc68053bad6a8cc1a7f824c70ec6c94ba0d Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 24 Mar 2018 22:10:27 -0400 Subject: OH, TREY CAUSED THE ERROR --- commands/Utility/suggest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/Utility/suggest.js b/commands/Utility/suggest.js index 9a0179d..05f4773 100644 --- a/commands/Utility/suggest.js +++ b/commands/Utility/suggest.js @@ -18,10 +18,10 @@ * * *************************************/ -exports.run = (bot, msg, args) => { +exports.run = async (bot, msg, args) => { if (msg.guild.id != '417088992329334792') return msg.reply ('This is a PokeWorld exclusive command. Sorry!'); const { RichEmbed } = require('discord.js'); - const suggestionChannel = await bot.plugins.settings.getStr('suggestions', member.guild.id); + const suggestionChannel = await bot.plugins.settings.getStr('suggestions', msg.member.guild.id); bot.channels.find('id', suggestionChannel).send( new RichEmbed() .setColor (0x00ae86) -- cgit v1.2.3