diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-08 17:23:34 -0500 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-08 17:23:34 -0500 |
| commit | 48a576ab5605ec3ec9272809668b8d7ce91c477e (patch) | |
| tree | 7780c94dd6a39c5b5beae9edfc568e6669b88967 /bot/src/events/MessageUpdate.js | |
| parent | 52f8826e526f0c0aadb86c3e29975aef4dc1ab85 (diff) | |
| download | AleeBot-48a576ab5605ec3ec9272809668b8d7ce91c477e.tar.gz AleeBot-48a576ab5605ec3ec9272809668b8d7ce91c477e.tar.bz2 AleeBot-48a576ab5605ec3ec9272809668b8d7ce91c477e.zip | |
Put LLM output on text file; Some fixes in logging; New command
Diffstat (limited to 'bot/src/events/MessageUpdate.js')
| -rw-r--r-- | bot/src/events/MessageUpdate.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bot/src/events/MessageUpdate.js b/bot/src/events/MessageUpdate.js index f4cb769..7fc5e1b 100644 --- a/bot/src/events/MessageUpdate.js +++ b/bot/src/events/MessageUpdate.js @@ -1,6 +1,8 @@ import { EmbedBuilder, Events } from 'discord.js'; import { guildSettings } from '../models/guild-settings.js'; +// bug: whenever a long message is edited, the bot crashes; also make sure that the log has newline + export default { name: Events.MessageUpdate, async execute(msg, newmsg) { |
