When a user replies to a message in Discord, the bot now reads m.ReferencedMessage and prepends its content to the incoming message as '[quoted message from Username]: content'. This gives the LLM full context of what message the user is replying to, enabling meaningful follow-up conversations. |
||
|---|---|---|
| .. | ||
| discord.go | ||
| discord_test.go | ||
| init.go | ||