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 store what the features a server turns on need, and nothing else. Records are kept per server unless a line says otherwise.
- Discord server IDs and settings: the server ID, the module configuration the server's staff set, and the plan or trial state of the server.
- Discord user IDs: stored inside a server's records for the features that server uses: XP and levels, economy balances and inventory, warnings and moderation actions (with the moderator's ID), tickets, suggestions, giveaway entries, poll votes, birthdays and AFK status when a member sets them, invite attribution (who invited whom), verification records, and application forms.
- Member events (Server Members intent): Discord tells HiveCode when a member joins, leaves or has roles, nickname or timeout changed. We use these for welcome and goodbye messages, verification, automatic roles, re-applying a mute or hardmute when a muted member rejoins, anti-nuke checks, invite tracking, member and moderation logs, and checking whether a person is staff. What we keep from them is the user ID (and sometimes the username) inside the per-server records above and in the server's activity log. We do not collect profile data such as email address, bio or connected accounts.
- Current status and device: Info can show a member's current online status and whether they use desktop, mobile or web. HiveCode reads this live from Discord when the command runs and never stores it. Anyone can turn this off in My HiveCode.
- Message content, read in memory: HiveCode receives message text through the Message Content intent and reads it only for the features a server has turned on: automoderation (spam, word filters, links, invites), custom commands, autoresponders and tag triggers, the verification password channel, XP and levels, counting channels, sticky messages, AFK mentions, highlight keywords, and Ticket AI inside ticket channels. The text is used to decide what to do with that message and is not stored, except as listed in the next items.
- Message content that is stored or kept for a short time:
- Suggestions: the text of a suggestion is stored with the suggestion.
- AFK: the status message a member sets for themselves is stored.
- Activity log: if a server turns on message logging and picks a log channel, HiveCode posts deleted and edited messages to that channel and also saves a log entry in our database. The entry holds the author and channel IDs and names, and the first 300 characters of a deleted message or the first 150 characters of the old and new text of an edited one. It is deleted after the server's log retention period, see section 4.
- Memory only: for servers with message logging on, recent messages are held in memory for up to 6 hours (at most 8,000 at a time) so a deleted message can still be logged. The /snipe command, which a server has to turn on, keeps a deleted message in memory for 60 seconds. Neither is written to disk and both are lost when the bot restarts.
- Ticket transcripts: when a ticket is closed, HiveCode builds an HTML transcript of the ticket channel and posts it as a file in the server's own ticket log channel, if the server set one. We do not keep a copy of the transcript. The ticket record in our database holds the opener's ID, category, timestamps, the answers to the opening form, who handled it and the close reason, not the conversation.
- Moderation records: warnings and moderation actions store the reason the moderator typed, or an automatic label such as "AutoMod: emoji spam". They do not store the message that triggered them.
- Scheduled event attendance: if a server turns on event XP, how many seconds you spent in a scheduled event's channel while it was running, and whether you have been paid XP for it. Kept per event so nobody is paid twice.
- Voice state events: channel join/leave timestamps used to calculate voice XP, plus whether you are deafened and how many people are in the channel with you, both read at the moment of the event and used only to decide whether that time earns XP. Neither is stored. No audio is ever captured or stored.
- Usernames and display names: stored next to the user ID in a few records (verification records, the activity log and some logs) and held in memory caches.
- Dashboard sign-in: 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 with your Discord user ID and username. Tokens are used solely to authenticate your session and fetch your Discord guild list. The dashboard also keeps a log of changes made there (which user changed which setting).
- Billing information: payment processing is handled entirely by Stripe. We store the Stripe customer ID, the subscription and its status, and the balance and history of any AI credits. For a voluntary donation we store your Discord user ID, the amount and the Stripe session ID, so the Donator role can be given once and not twice. We never see or store card details.
Personal features
When you add HiveCode to your own Discord account, you can use some of its actions anywhere in Discord. For these we store data about you, not about a server:
- Saved messages (Save and Note): only when you click Save or Note on a message. We keep the message link, the author's name, the text (up to 2000 characters), the first attachment link, the time, and your note if you wrote one.
- Reminders: what you asked to be reminded of, when, and a link to the message. Remind me on a message does not store the message text.
- Settings: your card theme, whether your global level is shown, whether servers may send you DMs, your time zone and quiet hours.
- Streak: the days on which you used a personal command, as a current and a best count.
- Translate count: how many translations you used today, to apply the daily limit.
- Saved emoji: the emoji ID and name when you save an emoji, so it can appear in My HiveCode and /emoji post.
- AI credits: your personal credit balance and transaction history. These are billing records and stay when you delete personal data.
Translate and Info keep no message text. When you use Translate or Explain, the text of that one message is sent to OpenRouter (openrouter.ai), with data collection by the model providers denied, and the result is shown only to you. Check links reads links in that message to inspect them. Add emoji adds an emoji to the server you choose. /theme share and posting a saved emoji store nothing. Your global level is calculated from the levels you already have in servers that use HiveCode; nothing new is collected for it.
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 donations and manage premium subscriptions
- To investigate abuse reports or technical issues when required
Two outside services receive data to do their part of this. Stripe receives payment details when you pay. If a server turns on Ticket AI, the text of the messages in that ticket, with the names of attached files, is sent to OpenRouter (openrouter.ai) to generate the reply, together with the server's own Ticket AI instructions and knowledge base entries. If a server turns on AI review for an application form, the questions and answers of a submitted application are sent to OpenRouter the same way to write a short summary for the server's staff. Nothing is sent for servers that have not enabled these features, and we use it only to produce that reply or summary.
We do not sell your data, we do not trade it, and we do not use it for advertising.
4. Data Retention
Personal data stays until you delete it. On hive-code.dev/me you can delete single saved messages, notes, reminders and emoji, or use "Delete my data" to remove all of your personal data at once. It is deleted immediately, not scheduled. AI credit billing records stay.
Data is kept while HiveCode is in your server, except where a shorter time is given below. Specifically:
- When HiveCode is removed from a server, we delete that server's data from our database 30 days later: its settings, and every per-server record listed in section 2 including member records, tickets, warnings and the activity log. If HiveCode is added back within those 30 days nothing is deleted. The exceptions are billing records, which we keep as required for accounting, and a record that the server added and removed HiveCode (dates, member count and number of modules enabled), which holds no member data.
- Warnings are kept while HiveCode is in the server. The activity log, the moderation action log and the economy transaction log are deleted after the server's log retention period: 7 days by default, 90 days on Pro, or the number of days (1 to 365) the server sets.
- The dashboard audit log (which staff member changed which setting, and when) is deleted after the same retention period, but never sooner than 90 days.
- Dashboard sessions end after 2 hours without activity and in any case 30 days after login. Logging out deletes the session record and the stored tokens immediately, and expired sessions are cleared out every hour.
- Message text held in memory is kept for the times given in section 2 and is not written to disk. Ticket transcripts live only in the Discord channel of the server that received them, and that server decides how long they stay there.
- On request we delete data about you from our database, using the contact details in section 10. Billing records we must keep for accounting stay.
5. Data Security
All data is stored in an SQLite database that is encrypted at rest (SQLCipher, AES-256), including its write-ahead log and the backups we make of it. OAuth tokens are additionally encrypted with 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 can see, export and delete your personal data yourself on hive-code.dev/me, without asking anyone.
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)
To exercise any of these rights, contact us at zdevelopmentinfo at gmail dot com 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 and donations. Subject to Stripe's Privacy Policy. We never receive or store card details.
- OpenRouter: generates Ticket AI replies and application review summaries for servers that enable those features, and translates a message when you use Translate. Subject to OpenRouter's Privacy Policy.
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 zdevelopmentinfo at gmail dot com or via the HiveCode Support Server.