From f4fec35fe597a233b4c1d8430668b9f14206e68b Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Wed, 15 Apr 2020 03:42:44 -0700 Subject: on msg also log server name, v5.0.6 --- src/bot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/bot.ts b/src/bot.ts index cf90dfc..f8fc6b3 100644 --- a/src/bot.ts +++ b/src/bot.ts @@ -59,7 +59,7 @@ client.on('message', async msg => { if (msg.channel.type == 'dm') { console.log(msg.author.tag, 'says', msgContent, 'in a DM'); } else { - console.log(msg.member.user.tag, 'says', msgContent, 'in #' + msg.channel.name); + console.log(msg.member.user.tag, 'says', msgContent, 'in #' + msg.channel.name + ' in ' + msg.guild.name); } } -- cgit v1.2.3