Discussion mode lets you toggle the bot between its default casual, sarcastic persona and a professional, technically precise persona — in any chat, at any time. This is especially useful in group chats where the conversation shifts from casual chatting to focused technical Q&A, code review, or study sessions.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/AmiraliNotFound/dummy-gemini-bot/llms.txt
Use this file to discover all available pages before exploring further.
Enabling Discussion Mode
Commands
| Command | Effect |
|---|---|
/start_discussion | Activates discussion mode for the current chat |
/end_discussion | Deactivates discussion mode, reverting to the default persona |
Example Interaction
/start_discussion is sent, all subsequent messages in that chat use the DISCUSSION_PROMPT system instruction until /end_discussion is called.
Discussion Persona
When discussion mode is active, the bot uses theDISCUSSION_PROMPT system instruction to shape its responses. The default prompt instructs the model to be:
- Friendly but professional — polite and approachable, but not casual
- Technically precise — accurate, well-structured answers with correct terminology
- Informative — provides context and explanation, not just one-line answers
- No slang or profanity — clean, neutral language suitable for all audiences
DISCUSSION_PROMPT is fully configurable via the admin Settings tab without requiring a bot restart.
Admin Configuration
| Config Key | Default | Description |
|---|---|---|
DISCUSSION_MODE_ENABLED | True | Enables or disables the /start_discussion and /end_discussion commands globally |
DISCUSSION_PROMPT | (Persian technical/professional prompt) | The system instruction injected when discussion mode is active. Editable in the admin Settings tab. |
is_discussion column of the chat_metadata table in SQLite, so it persists across bot restarts.
Discussion mode is per-chat. Enabling it in a group does not affect DMs, other groups, or any other chat.
Use Cases
- Group technical Q&A — switch on discussion mode before a question session to keep answers structured and on-topic.
- Code review discussions — paste code snippets and get precise, professional feedback without the sarcastic commentary.
- Learning sessions — ideal for study groups where accurate, detailed explanations are more valuable than humor.