Privacy Policy for Raki Bot
**Last Updated: November 2026**
This Privacy Policy explains how **Raki** ("we", "us", or "the Bot") collects, uses, processes, and protects user and server data when you interact with our Discord bot, web dashboard, or associated services. We are fully committed to protecting your privacy and complying with Discord's Developer Terms of Service and Developer Policy.
---
### 1. Information We Collect
When Raki is invited to a Discord server and interacts with users, we collect only the minimum amount of data required to operate its conversational and community features:
- **Discord Identifiers:** User IDs, Guild (Server) IDs, Channel IDs, and Role IDs. These are used to identify settings, permissions, and server configurations.
- **Display Names & Nicknames:** We process user display names and server-specific nicknames so the bot can address community members naturally.
- **Message Content (Contextual & Ephemeral):**
- The content of messages directed at Raki (via direct mentions `@Raki`, message replies, or in explicitly designated channels).
- Recent short-term channel history (a rolling cache of the last 25–50 messages per active channel) to maintain multi-turn conversational context.
- Image/Media attachments solely for real-time vision processing (when enabled on supported tiers).
- **Configuration & Analytical Data:** Server settings (chosen dialect, designated channels, admin roles, custom instructions) and aggregated usage metrics (total daily message counts, token usage).
---
### 2. How We Use the Information
We process collected data exclusively to:
- Generate contextually relevant, conversational AI responses in Arabic dialects.
- Deliver automated server greetings (welcome messages) when new members join.
- Enforce administrative access control and verify permissions for `/setup` and dashboard features.
- Provide interactive server features and mini-games (e.g., Tic-Tac-Toe, Mafia).
- Monitor rate limits, prevent abuse, and track quota consumption.
---
### 3. Data Storage, Retention, and Security
- **No AI Model Training:** **We do NOT use any user message content, attachments, or personal data to train or fine-tune machine learning or AI models.**
- **Short-Term Conversation Cache:** Channel conversation history is retained in a temporary rolling database and is **automatically purged after 48 hours**.
- **Security:** All stored configurations and administrative RPC communications are secured using industry-standard encryption (AES-256-GCM) and secure hosting infrastructure.
- **Restricted Channels:** Raki does **not** read or store messages in age-restricted (NSFW) channels or in channels where it does not have explicit permission.
---
### 4. Third-Party Services
To provide natural language understanding, message prompts are processed securely via official, enterprise-grade AI APIs (e.g., Google Gemini API via paid enterprise tiers with data protection agreements). Data sent to these APIs is transmitted over encrypted HTTPS channels solely for inferencing and is not stored or repurposed by third parties.
---
### 5. User Rights, Opt-Out, and Data Deletion
You have complete control over your data:
- **Server Removal:** Removing the Bot from a server immediately halts all message processing in that server.
- **Right to Erasure (Data Deletion):** Server owners and users can request complete deletion of their stored data (user memory notes, relationships, report snapshots, and server configurations) at any time through our web dashboard or by contacting our support team.
- **Opt-Out:** Server administrators can disable the bot or restrict its access to specific channels at any time using `/setup`.
---
### 6. Contact Us
If you have questions about this Privacy Policy or wish to request data deletion, please contact us:
- **Discord:** Contact the bot owner or open a ticket in our official support server.
- **Web:** Via our management dashboard support channel.
Last updated: 2026-11-19