From f5dc555e45f8b04674c7b67b98dd18d99f52f9e4 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 27 Nov 2019 13:17:49 +0100 Subject: [PATCH] Make it not ping the user --- commands/fun/fakeleave.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/fun/fakeleave.js b/commands/fun/fakeleave.js index f5daa965..81654db3 100644 --- a/commands/fun/fakeleave.js +++ b/commands/fun/fakeleave.js @@ -31,7 +31,7 @@ class fakeleaveCommand extends Command { let byeMessage = leave.get('message'); - byeMessage = byeMessage.replace(/\[member\]/, args.member); + byeMessage = byeMessage.replace(/\[member\]/, args.member.username); byeMessage = byeMessage.replace(/\[server\]/, message.guild.name); let attach;