diff options
| author | pokesudenk <thisis@notarealema.il> | 2018-02-24 20:26:53 -0500 |
|---|---|---|
| committer | pokesudenk <thisis@notarealema.il> | 2018-02-24 20:26:53 -0500 |
| commit | 770a23492c03c323d5a2c8e3dcfcd19fff61b0a5 (patch) | |
| tree | cba231250d425278a98836994cc61796c19562c5 /commands | |
| parent | 089974a6a78bb425db8ebd18de6855a294b88295 (diff) | |
| download | PokeBot-770a23492c03c323d5a2c8e3dcfcd19fff61b0a5.tar.gz PokeBot-770a23492c03c323d5a2c8e3dcfcd19fff61b0a5.tar.bz2 PokeBot-770a23492c03c323d5a2c8e3dcfcd19fff61b0a5.zip | |
pelase wrokd
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(); |
