diff options
| author | 8cy <[email protected]> | 2020-04-15 03:42:44 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-15 03:42:44 -0700 |
| commit | f4fec35fe597a233b4c1d8430668b9f14206e68b (patch) | |
| tree | d22380c665bb34b70f021f812f9a7ed1e0d0885a /src/bot.ts | |
| parent | remove build script, v5.0.5 (diff) | |
| download | dep-core-f4fec35fe597a233b4c1d8430668b9f14206e68b.tar.xz dep-core-f4fec35fe597a233b4c1d8430668b9f14206e68b.zip | |
on msg also log server name, v5.0.6
Diffstat (limited to 'src/bot.ts')
| -rw-r--r-- | src/bot.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } } |