From b3b29cc99b6fe0acf3b4fc7f05e7ab6f85c7214d Mon Sep 17 00:00:00 2001 From: Unknown Date: Sun, 25 Mar 2018 21:53:12 -0400 Subject: things --- commands/Utility/nick.js | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/Utility/nick.js') 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) -- cgit v1.2.3