aboutsummaryrefslogtreecommitdiff
path: root/commands/Utility/userinfo.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-24 20:29:37 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-24 20:29:37 -0500
commitf6c8e529eb06a3d1121feeebb5de6c97eefbc571 (patch)
tree7fb075133c19c99dcc4fb94645d2a9dd604d6d14 /commands/Utility/userinfo.js
parent4a0f6bb4e4dd01f18304308c257130a8ca096376 (diff)
downloadPokeBot-f6c8e529eb06a3d1121feeebb5de6c97eefbc571.tar.gz
PokeBot-f6c8e529eb06a3d1121feeebb5de6c97eefbc571.tar.bz2
PokeBot-f6c8e529eb06a3d1121feeebb5de6c97eefbc571.zip
fixy
Diffstat (limited to 'commands/Utility/userinfo.js')
-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();
}