aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/Utility/userinfo.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/Utility/userinfo.js b/commands/Utility/userinfo.js
index f834e2f..d4ccb91 100644
--- a/commands/Utility/userinfo.js
+++ b/commands/Utility/userinfo.js
@@ -2,7 +2,7 @@ exports.run = async (bot, msg) => {
const { RichEmbed } = require('discord.js');
let user;
if (!msg.mentions.members.first()) {
- user = msg.author;
+ user = msg.member;
} else {
user = msg.mentions.members.first();
}