diff options
| author | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-07-06 01:13:13 +0100 |
|---|---|---|
| committer | Alex Pooley (@zuedev) <zuedev@gmail.com> | 2026-07-06 01:13:13 +0100 |
| commit | ca6f3cdad929ef596ca2cbe82d78e7dff37c08d3 (patch) | |
| tree | d11e1650f3cad2c53ee049360e1c93ee36fb4ddb /174bg | |
| parent | 9cd5a6e9086d7c9b78f14a02c17279e842d3b908 (diff) | |
| download | unnamed-group-ca6f3cdad929ef596ca2cbe82d78e7dff37c08d3.tar unnamed-group-ca6f3cdad929ef596ca2cbe82d78e7dff37c08d3.tar.gz unnamed-group-ca6f3cdad929ef596ca2cbe82d78e7dff37c08d3.tar.bz2 unnamed-group-ca6f3cdad929ef596ca2cbe82d78e7dff37c08d3.tar.xz unnamed-group-ca6f3cdad929ef596ca2cbe82d78e7dff37c08d3.zip | |
include author ID in log message format for requisition ticket attachments
Diffstat (limited to '174bg')
| -rw-r--r-- | 174bg/discord-bot/main.js | 5 |
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"), ), }, |
