aboutsummaryrefslogtreecommitdiff
path: root/commands/Utility/nick.js
diff options
context:
space:
mode:
authorTheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com>2018-03-11 20:33:17 -0400
committerTheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com>2018-03-11 20:33:17 -0400
commit9056d09d3c397fc3a64f27cfae3ce06c6a758c16 (patch)
tree028381a09b0e608f54cb161a8a4a4b5b1ae748c3 /commands/Utility/nick.js
parente3c5468b4748c879892ff520e20b7753d5c1ff0f (diff)
downloadPokeBot-9056d09d3c397fc3a64f27cfae3ce06c6a758c16.tar.gz
PokeBot-9056d09d3c397fc3a64f27cfae3ce06c6a758c16.tar.bz2
PokeBot-9056d09d3c397fc3a64f27cfae3ce06c6a758c16.zip
1.0.1 fixes
Diffstat (limited to 'commands/Utility/nick.js')
-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}`)