Skip to main content

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.

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.

Enabling Discussion Mode

Commands

CommandEffect
/start_discussionActivates discussion mode for the current chat
/end_discussionDeactivates discussion mode, reverting to the default persona

Example Interaction

User:    /start_discussion
Bot:     Discussion mode enabled. I'll now respond in a professional,
         technical style. Ask away!

User:    What's the difference between a mutex and a semaphore?
Bot:     A mutex (mutual exclusion lock) is a synchronization primitive
         that allows only one thread to hold the lock at a time...
         [structured, technical response]

User:    /end_discussion
Bot:     Discussion mode disabled. Back to normal!
Once /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 the DISCUSSION_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
The DISCUSSION_PROMPT is fully configurable via the admin Settings tab without requiring a bot restart.

Admin Configuration

Config KeyDefaultDescription
DISCUSSION_MODE_ENABLEDTrueEnables 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.
Per-chat discussion status is stored in the 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.
Use /start_discussion before pasting code or asking technical questions for more accurate, well-structured responses. Use /end_discussion when the session is over to return to the bot’s normal personality.

Build docs developers (and LLMs) love