diff options
| author | pokesudenk <thisis@notarealema.il> | 2018-02-24 20:30:02 -0500 |
|---|---|---|
| committer | pokesudenk <thisis@notarealema.il> | 2018-02-24 20:30:02 -0500 |
| commit | 0c0c1d837c7e5bb49fb9bddfde884f43f442a949 (patch) | |
| tree | 474a1dc686220770f1ad8c04319c13e932d4b4bc /commands/Utility/userinfo.js | |
| parent | 770a23492c03c323d5a2c8e3dcfcd19fff61b0a5 (diff) | |
| download | PokeBot-0c0c1d837c7e5bb49fb9bddfde884f43f442a949.tar.gz PokeBot-0c0c1d837c7e5bb49fb9bddfde884f43f442a949.tar.bz2 PokeBot-0c0c1d837c7e5bb49fb9bddfde884f43f442a949.zip | |
fuck you justin
Diffstat (limited to 'commands/Utility/userinfo.js')
| -rw-r--r-- | commands/Utility/userinfo.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Utility/userinfo.js b/commands/Utility/userinfo.js index 6a0d442..851dc01 100644 --- a/commands/Utility/userinfo.js +++ b/commands/Utility/userinfo.js @@ -1,6 +1,6 @@ exports.run = async (bot, msg) => { const { RichEmbed } = require('discord.js'); - if (!msg.mentions) { + if (!msg.mentions.users.first()) { var user = msg.author; } else { var user = msg.mentions.members.first(); |
