aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-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(' '));