From 0c0c1d837c7e5bb49fb9bddfde884f43f442a949 Mon Sep 17 00:00:00 2001 From: pokesudenk Date: Sat, 24 Feb 2018 20:30:02 -0500 Subject: fuck you justin --- commands/Utility/userinfo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/Utility/userinfo.js b/commands/Utility/userinfo.js index 6a0d442..851dc01 100644 --- a/commands/Utility/userinfo.js +++ b/commands/Utility/userinfo.js @@ -1,6 +1,6 @@ exports.run = async (bot, msg) => { const { RichEmbed } = require('discord.js'); - if (!msg.mentions) { + if (!msg.mentions.users.first()) { var user = msg.author; } else { var user = msg.mentions.members.first(); -- cgit v1.2.3