aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-24 22:10:27 -0400
committerUnknown <jtsshieh@outlook.com>2018-03-24 22:10:27 -0400
commitd4403fc68053bad6a8cc1a7f824c70ec6c94ba0d (patch)
tree3f0776bb81015cfc8f83fe3743d5e744b8a098b9 /commands
parentad486fb18483b2edd3dcfaf03ab0b89b20219f07 (diff)
downloadPokeBot-1.2.5.tar.gz
PokeBot-1.2.5.tar.bz2
PokeBot-1.2.5.zip
OH, TREY CAUSED THE ERROR1.2.5
Diffstat (limited to 'commands')
-rw-r--r--commands/Utility/suggest.js4
1 files 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)