aboutsummaryrefslogtreecommitdiff
path: root/commands/Utility
diff options
context:
space:
mode:
authorpokesudenk <thisis@notarealema.il>2018-02-25 14:47:02 -0500
committerpokesudenk <thisis@notarealema.il>2018-02-25 14:47:02 -0500
commita9a28b6271d81b25838160be88870c63d4cf43fd (patch)
tree60ee020143ac783000d1b706dd84dd863fa8eef6 /commands/Utility
parent7801330c236d701b69072c8225ead51d048daefa (diff)
downloadPokeBot-a9a28b6271d81b25838160be88870c63d4cf43fd.tar.gz
PokeBot-a9a28b6271d81b25838160be88870c63d4cf43fd.tar.bz2
PokeBot-a9a28b6271d81b25838160be88870c63d4cf43fd.zip
fixy fix
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 ea13f88..d3f371e 100644
--- a/commands/Utility/nick.js
+++ b/commands/Utility/nick.js
@@ -21,7 +21,7 @@
exports.run = async (bot, msg, args) => {
const { RichEmbed } = require('discord.js');
- msg.author.setNickname(args.join(' '), 'Requested by bot');
+ msg.member.setNickname(args.join(' '), 'Requested by bot');
msg.channel.send('Changed nickname to: ' + args.join(' '));