1. Information We Collect
When you use PeakBot, we collect the following information:
- Discord Account Data: Your Discord user ID, username, avatar, email address, and guild (server) memberships. This data is provided through Discord OAuth2 using the
identify, guilds, and email scopes. - Server Data: Server IDs, names, icons, channel lists, role lists, and member counts for servers where you use PeakBot.
- AI Conversation Data: Messages you send to the PeakBot AI Builder, including your prompts, the AI responses, and the server plans generated during your sessions.
- Usage & Cost Data: We log AI API usage for internal cost tracking, which includes your guild ID, user ID, the text of messages you send to the AI Builder, the AI model used, token counts, and processing costs.
- Template Interaction Data: Your Discord user ID is recorded when you like or use a server template.
- Analytics Data: We use Google Analytics 4 (GA4) to collect anonymized website usage data, including pages visited, session duration, device type, browser, and approximate location. GA4 may collect your IP address for geolocation purposes. See Section 8 for more details.
2. How We Use Your Information
- To authenticate your identity via Discord OAuth2 and manage your session
- To provide the AI Server Builder, including sending your messages to AI providers for processing
- To display and manage your Discord servers in the dashboard
- To track template likes, usage counts, and trending data
- To monitor AI API costs and platform usage internally
- To analyze website traffic and improve the Service via Google Analytics
- To detect and prevent abuse or violations of our Terms
3. Third-Party Services & Data Sharing
We do not sell your personal data. To operate the Service, your data is shared with the following third-party providers:
- Anthropic (Claude API): Your AI Builder messages and conversation history are sent to Anthropic for AI response generation. Anthropic does not use API data to train its models.
- OpenAI: Your search queries are converted into numerical embeddings via OpenAI for our knowledge retrieval system. OpenAI does not use API data to train its models.
- Cohere: Your search queries are sent to Cohere to re-rank knowledge retrieval results for accuracy.
- Google (Gemini): When enabled, your AI Builder messages may also be processed by Google Gemini as part of our understanding system.
- Discord: We interact with the Discord API to authenticate you, fetch your server data, and execute bot actions on your behalf.
- Google Analytics: Anonymized website usage data is collected and processed by Google. See Section 8.
- Railway: Our application is hosted on Railway. Your data passes through their infrastructure.
- Legal Requirements: We may disclose data when required by law or to protect our rights and safety.
All AI providers listed above process your data solely to generate responses and do not use your data for model training through their API services.
4. Data Storage & Security
Your data is stored across the following systems:
- Redis: Chat sessions, pipeline states, template analytics, and AI cost tracking data are stored in Redis. Data is hosted on servers provided by Railway.
- PostgreSQL: AI usage logs (including message text, user IDs, and cost data) are stored in a PostgreSQL database for internal cost tracking and analytics.
- Your Browser: Your Discord auth token, user profile, chat history, and preferences are stored in your browser's local storage. This data never leaves your device unless sent as part of an API request.
We use HTTPS for all data in transit. However, no method of transmission over the Internet is 100% secure, and we cannot guarantee absolute security.
5. AI-Powered Features
PeakBot uses artificial intelligence to power its Server Builder feature. When you interact with the AI Builder:
- Your messages are sent to third-party AI providers (Anthropic Claude, and optionally Google Gemini) for processing
- Your conversation history (up to 14 recent messages) is included for context
- Server structure data (channel names, role names, categories) is included to give the AI context about your server
- Your message text is logged to our database for cost tracking purposes
- AI-generated responses may not always be accurate and should not be relied upon as professional advice
None of the AI providers use data submitted via their APIs to train their models.
6. Discord Bot & Message Content
The PeakBot Discord bot (operated via a separate backend service) may process messages in real-time for moderation features such as spam detection and toxicity filtering. The bot backend handles message content access in accordance with Discord's Developer Policy. This frontend application does not directly access Discord message content. Moderation logs may record limited metadata (user ID, action taken, timestamp).
7. Data Retention
We retain your data for the following periods:
- AI chat sessions: Stored in Redis for up to 90 days, then automatically deleted.
- Pipeline states: Stored in Redis for 30 minutes to 2 hours during active use.
- AI cost logs: Stored in PostgreSQL for internal analytics. These logs include your message text, user ID, and guild ID.
- AI usage tracking: Per-guild monthly cost data is stored in Redis for 45 days.
- Template likes and usage: Stored in Redis indefinitely while the Service is operational.
- Browser local storage: Remains on your device until you clear your browser data or log out.
- Google Analytics: Data is retained according to our GA4 configuration (default: 14 months).
8. Cookies & Tracking
PeakBot itself does not set cookies. However, we use Google Analytics 4 (GA4), which sets cookies in your browser to distinguish users and sessions:
_ga — Used to distinguish users. Expires after 2 years._ga_<ID> — Used to maintain session state. Expires after 2 years.
We also use browser local storage extensively to save your authentication token, user profile, chat history, preferences, and session data. This data is stored only on your device.
9. Your Rights
You have the right to:
- Access the personal data we hold about you
- Request correction of inaccurate data
- Request deletion of your data
- Opt out of Google Analytics tracking by using the Google Analytics Opt-out Browser Add-on
To exercise these rights, please contact us through our Discord support server. We will respond to requests within 30 days.
10. International Data Transfers
Your data may be transferred to and processed in the United States, where our third-party service providers (Anthropic, OpenAI, Cohere, Google, Pinecone) are based. By using the Service, you consent to the transfer of your data to the United States and other countries that may have different data protection laws than your country of residence.
11. Children's Privacy
PeakBot is not intended for users under 13 years of age, consistent with Discord's own age requirements. We do not knowingly collect personal information from children under 13. If we become aware that we have inadvertently collected personal information from a child under 13, we will take steps to delete that information as quickly as possible. If you believe a child under 13 has provided us with personal information, please contact us immediately through our Discord server.
12. Changes to This Policy
We may update this Privacy Policy from time to time. We will notify you of significant changes through the Service or via our Discord server. Your continued use of the Service after changes constitutes acceptance of the updated policy.
13. Contact
If you have questions about this Privacy Policy or your data, please reach out through our Discord support server.