diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-02-24 20:29:37 -0500 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-02-24 20:29:37 -0500 |
| commit | f6c8e529eb06a3d1121feeebb5de6c97eefbc571 (patch) | |
| tree | 7fb075133c19c99dcc4fb94645d2a9dd604d6d14 /commands | |
| parent | 4a0f6bb4e4dd01f18304308c257130a8ca096376 (diff) | |
| download | PokeBot-f6c8e529eb06a3d1121feeebb5de6c97eefbc571.tar.gz PokeBot-f6c8e529eb06a3d1121feeebb5de6c97eefbc571.tar.bz2 PokeBot-f6c8e529eb06a3d1121feeebb5de6c97eefbc571.zip | |
fixy
Diffstat (limited to 'commands')
| -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 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(); } |
