diff options
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/Utility/userinfo.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/Utility/userinfo.js b/commands/Utility/userinfo.js index b19339d..6a0d442 100644 --- a/commands/Utility/userinfo.js +++ b/commands/Utility/userinfo.js @@ -1,7 +1,6 @@ exports.run = async (bot, msg) => { const { RichEmbed } = require('discord.js'); - const { mentions } = require('discord.js'); - if (!mentions) { + if (!msg.mentions) { var user = msg.author; } else { var user = msg.mentions.members.first(); |
