aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-25 21:53:12 -0400
committerUnknown <jtsshieh@outlook.com>2018-03-25 21:53:12 -0400
commitb3b29cc99b6fe0acf3b4fc7f05e7ab6f85c7214d (patch)
tree3ccdbbac48f3d438eae39eefdefe18dc42cc4577
parentc272bbb64bac1e3129d7ae4e6dac3ec103a2be23 (diff)
downloadPokeBot-b3b29cc99b6fe0acf3b4fc7f05e7ab6f85c7214d.tar.gz
PokeBot-b3b29cc99b6fe0acf3b4fc7f05e7ab6f85c7214d.tar.bz2
PokeBot-b3b29cc99b6fe0acf3b4fc7f05e7ab6f85c7214d.zip
things
-rw-r--r--commands/Utility/nick.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/Utility/nick.js b/commands/Utility/nick.js
index 43041b5..9701a3c 100644
--- a/commands/Utility/nick.js
+++ b/commands/Utility/nick.js
@@ -23,6 +23,7 @@ exports.run = async (bot, msg, args) => {
msg.member.setNickname(args.join(' '), 'Requested by bot');
msg.channel.send('Changed nickname to: ' + args.join(' '));
+ const logChannel = await bot.plugins.settings.getStr('logs', msg.member.guild.id);
bot.channels.find('id', logChannel).send(
new RichEmbed()
.setColor(0x00ae86)