From 770a23492c03c323d5a2c8e3dcfcd19fff61b0a5 Mon Sep 17 00:00:00 2001 From: pokesudenk Date: Sat, 24 Feb 2018 20:26:53 -0500 Subject: pelase wrokd --- commands/Utility/userinfo.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'commands') 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(); -- cgit v1.2.3