Privacy Policy
1. Overview
This Privacy Policy explains what data HiveCode ("the Bot", "we", "us") collects, why we collect it, and how it is stored and used. HiveCode is operated by Zedox Development. By adding HiveCode to your Discord server or using the hive-code.dev dashboard, you agree to the practices described below.
2. Data We Collect
We collect and store only the data necessary to operate bot features. This includes:
- Discord Guild (Server) IDs — to store per-server configuration and settings.
- Discord User IDs — to track economy balances, XP levels, warnings, inventory, and other per-user features within a server.
- Message content — processed in-memory for automoderation checks (spam detection, word filters). Message content is not stored persistently, with the exception of moderation action logs which record the triggering content alongside the mod action.
- Voice state events — channel join/leave timestamps used to calculate voice XP. No audio is ever captured or stored.
- Usernames and display names — stored briefly in caches and in transaction logs for readability. Not persisted beyond what is needed for features.
- OAuth2 tokens — when you log into the dashboard via Discord, your access token and refresh token are encrypted with AES-256-GCM and stored in our database. Tokens are used solely to authenticate your session and fetch your Discord guild list.
- Billing information — payment processing is handled entirely by Stripe. We store the Stripe customer ID and subscription status. We never see or store card details.
3. How We Use Your Data
- To operate bot features (moderation, leveling, economy, tickets, giveaways, etc.)
- To display server and user statistics in the web dashboard
- To authenticate server administrators via Discord OAuth2
- To process payments and manage premium subscriptions
- To investigate abuse reports or technical issues when required
We do not sell, share, or trade your data with third parties. We do not use your data for advertising.
4. Data Retention
Data is retained for as long as HiveCode is active in your server or you have an active account. Specifically:
- Server configuration and module settings are deleted when the bot is removed from a server.
- User data (XP, economy balances, warnings) associated with a server is deleted when the bot is removed from that server, upon written request, or after 180 days of inactivity.
- Dashboard session tokens are invalidated after 7 days or on logout.
- Transaction and moderation logs may be retained for up to 1 year for audit purposes.
5. Data Security
All data is stored on secured servers using SQLite with WAL mode. OAuth tokens are encrypted at rest using AES-256-GCM. Dashboard sessions use httpOnly cookies. We apply rate limiting and input validation across all API endpoints to mitigate abuse.
6. Your Rights
You have the right to:
- Request a copy of the data we hold about you
- Request deletion of your data (note: this will remove economy balances, XP, and other bot features for your account)
- Opt out of analytics data collection
To exercise any of these rights, contact us at [email protected] or open a support ticket in the HiveCode Support Server.
7. Third-Party Services
HiveCode integrates with the following third-party services:
- Discord — bot platform and OAuth2 authentication. Subject to Discord's Privacy Policy.
- Stripe — payment processing for premium subscriptions. Subject to Stripe's Privacy Policy. We never receive or store card details.
8. Children's Privacy
HiveCode is not directed at children under the age of 13. We do not knowingly collect personal data from anyone under 13. If you believe a minor has provided data to us, please contact us immediately and we will delete it.
9. Changes to This Policy
We may update this Privacy Policy from time to time. When we do, we will update the effective date at the top of this page and announce changes in the HiveCode Support Server. Continued use of the bot or dashboard after changes constitutes acceptance of the updated policy.
10. Contact
Questions or concerns about this Privacy Policy? Reach us at [email protected] or via the HiveCode Support Server.