From 35378dfa07360c9a0d6414922b03b0faa40a7f28 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 29 Nov 2019 21:56:00 +0100 Subject: [PATCH] fix nickname thing --- commands/fun/fakebot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/fakebot.js b/commands/fun/fakebot.js index 742cc978..59bf160a 100644 --- a/commands/fun/fakebot.js +++ b/commands/fun/fakebot.js @@ -41,7 +41,7 @@ class fakebotCommand extends Command { url = Attachment[0].url; } // Show nickname if user is in guild - if (message.guild.members.get(args.user.id)) { + if (message.guild.members.get(args.user.id).nickname) { username = message.guild.members.get(args.user.id).nickname; }