modmail-dev / Modmail

A Discord bot that functions as a shared inbox between staff and members, similar to Reddit's Modmail.
https://docs.modmail.dev
GNU Affero General Public License v3.0
1.57k stars 4.59k forks source link

add bot responses also in loglinks #3184

Open lorenzo132 opened 2 years ago

lorenzo132 commented 2 years ago

when lookin in a loglink internal messages are shown send by users, would be great to see bots internal messages also in loglinks: https://usagi.xn--6frz82g/m0M5t6 in thread: https://usagi.xn--6frz82g/MJ0DRz

Taaku18 commented 2 years ago

Image links are down.

lorenzo132 commented 2 years ago

Image links are down.

https://i.discord.gold/m0M5t6 https://i.discord.gold/MJ0DRz

Taaku18 commented 2 years ago

Transferred this issue to Modmail. Modmail currently does not store any messages from bots, so this'll need to be implemented here before adding to the logviewer.

Taaku18 commented 2 years ago

A problem with storing bot responses is that we'll need to store embeds alongside the message. This means that the database format may need to be altered.

andyondrya commented 1 year ago

@Taaku18 Could end up having the bot messages stored as a raw message unless we are feeling fancy and adding embeds too.