diff options
| author | pokesudenk <thisis@notarealema.il> | 2018-02-25 14:47:02 -0500 |
|---|---|---|
| committer | pokesudenk <thisis@notarealema.il> | 2018-02-25 14:47:02 -0500 |
| commit | a9a28b6271d81b25838160be88870c63d4cf43fd (patch) | |
| tree | 60ee020143ac783000d1b706dd84dd863fa8eef6 | |
| parent | 7801330c236d701b69072c8225ead51d048daefa (diff) | |
| download | PokeBot-a9a28b6271d81b25838160be88870c63d4cf43fd.tar.gz PokeBot-a9a28b6271d81b25838160be88870c63d4cf43fd.tar.bz2 PokeBot-a9a28b6271d81b25838160be88870c63d4cf43fd.zip | |
fixy fix
| -rw-r--r-- | commands/Utility/nick.js | 2 |
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(' ')); |
