chylex / Discord-History-Tracker

Desktop app & browser script that saves Discord chat history into a file, and an offline viewer that displays the file.
https://dht.chylex.com
MIT License
475 stars 83 forks source link

Support unique names and avatars per-message with App integrations #269

Open Drakonas opened 1 month ago

Drakonas commented 1 month ago

App integrations on servers allow using a dynamic nickname and avatar per-message. For example, Final Fantasy XIV has a plugin using XIVLauncher that can forward messages from in-game to a channel with the player's character portrait and name as the avatar and name that posts the message from the app.

DHT picks up the first message's avatar and character name displayed by the bot, but then defaults to that same name and avatar for every message following, instead of checking every message individually for changed avatar/names. Is the database not assigning a unique avatar and name per-message for apps? Is there a way that apps can be handled differently so each message will have the avatar and name rechecked and uniquely stored?

chylex commented 1 month ago

Technically an issue that would resolve this is already opened (#247), but I'll keep it separate in case I look into it before that.