From a9a28b6271d81b25838160be88870c63d4cf43fd Mon Sep 17 00:00:00 2001 From: pokesudenk Date: Sun, 25 Feb 2018 14:47:02 -0500 Subject: fixy fix --- commands/Utility/nick.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands') 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(' ')); -- cgit v1.2.3