aboutsummaryrefslogtreecommitdiff
path: root/commands/Utility/userinfo.js
diff options
context:
space:
mode:
authorpokesudenk <thisis@notarealema.il>2018-02-24 20:26:53 -0500
committerpokesudenk <thisis@notarealema.il>2018-02-24 20:26:53 -0500
commit770a23492c03c323d5a2c8e3dcfcd19fff61b0a5 (patch)
treecba231250d425278a98836994cc61796c19562c5 /commands/Utility/userinfo.js
parent089974a6a78bb425db8ebd18de6855a294b88295 (diff)
downloadPokeBot-770a23492c03c323d5a2c8e3dcfcd19fff61b0a5.tar.gz
PokeBot-770a23492c03c323d5a2c8e3dcfcd19fff61b0a5.tar.bz2
PokeBot-770a23492c03c323d5a2c8e3dcfcd19fff61b0a5.zip
pelase wrokd
Diffstat (limited to 'commands/Utility/userinfo.js')
-rw-r--r--commands/Utility/userinfo.js3
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();