diff options
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(); |
