aboutsummaryrefslogtreecommitdiff
path: root/174bg/discord-bot/main.js
diff options
context:
space:
mode:
Diffstat (limited to '174bg/discord-bot/main.js')
-rw-r--r--174bg/discord-bot/main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/174bg/discord-bot/main.js b/174bg/discord-bot/main.js
index 30c64d4..b3db705 100644
--- a/174bg/discord-bot/main.js
+++ b/174bg/discord-bot/main.js
@@ -225,7 +225,10 @@ client.on(Events.InteractionCreate, async (interaction) => {
name: `${channelName}.txt`,
attachment: Buffer.from(
messages
- .map((message) => `${message.author.tag}: ${message.content}`)
+ .map(
+ (message) =>
+ `${message.author.tag}/${message.author.id}: ${message.content}`,
+ )
.join("\n"),
),
},