How reply-based conversations work
mainllmcord uses Discord's own message structure to manage conversation history, meaning no external database is required.
Conversation Mechanics
- Starting a conversation: @ the bot in a channel or send it a DM.
- Continuing a conversation: Reply to a previous message in the chain and @ the bot.
- Branching: You can branch conversations endlessly by replying to different messages in the chain.
- Threads: You can use Discord threads; simply create a thread from a message and @ the bot inside it.
- DM Mode: In DMs, conversations continue automatically without needing to @ the bot, though @ing the bot will start a fresh conversation.
- Message Chaining: Back-to-back messages from the same user are automatically grouped. Replying to the latest message includes the previous ones in the context.