aboutsummaryrefslogtreecommitdiff
path: root/commands/Utility
diff options
context:
space:
mode:
Diffstat (limited to 'commands/Utility')
-rw-r--r--commands/Utility/nick.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Utility/nick.js b/commands/Utility/nick.js
index 8ebc36a..43041b5 100644
--- a/commands/Utility/nick.js
+++ b/commands/Utility/nick.js
@@ -23,7 +23,7 @@ exports.run = async (bot, msg, args) => {
msg.member.setNickname(args.join(' '), 'Requested by bot');
msg.channel.send('Changed nickname to: ' + args.join(' '));
- bot.channels.find('name', 'logs').send(
+ bot.channels.find('id', logChannel).send(
new RichEmbed()
.setColor(0x00ae86)
.setTitle(`Nickname: ${msg.author.tag}`)