Skip to content

Privacy

What this website stores — and what stays on Discord.

Last updated: 11 November 2026

This notice explains what The Beehive website stores when Postgres is available, what stays on Discord, and what we do not collect. The site is not a shop and does not sell personal information.

Last updated: 11 November 2026

Discord login

When you choose Log in with Discord, the authorization URL requests scopes identify and guilds.members.read.

For sign-in the site may store or update:

  • Internal user id (users.id)
  • Discord id, username, global display name, and avatar hash (discord_accounts)
  • Guild membership snapshot: whether you are in the server, your Discord role ids, mapped website roles, and membership state (discord_memberships)
  • A revocable server session id, user id, expiry, and optional revocation time (auth_sessions)

The signed-in browser receives a JWT in the beehive_session cookie (see cookies). Claims include user id, Discord id, username, display name, avatar URL, in-guild flag, website roles, permissions, and membership state. We do not store your Discord OAuth access token after the callback finishes.

PKCE and a short-lived sealed state are used during login (beehive_oauth_state cookie, about ten minutes, path limited to /api/auth).

Community profile (optional)

If you save a profile, Postgres stores community_profiles for your user id:

  • Display name, bio, favourite games, interests (arrays), timezone, pronouns
  • Visibility (public, members, or private)
  • Notification preference flags in preferences JSON (for example event reminders). No outbound email is sent by this codebase today — preferences are stored only.
  • Social links if present on the row

You can download a JSON export at Account → Settings (/api/account/export) when signed in and the database is online.

Noctaly leveling

When enabled, /account and /roles may show live XP and level data from the hive leveling service using your Discord id. The site may cache that snapshot briefly and does not store it long-term in your saved profile.

Feedback

The feedback form stores category, message, optional contact note, status, staff notes, optional user id if signed in, and timestamps (feedback). Optional Discord webhooks may notify staff when DISCORD_FEEDBACK_WEBHOOK_URL is configured.

Submissions are rate-limited per IP. The form does not collect email unless you type a contact note.

Activity and analytics

  • Staff activity log (audit_logs): append-only records of admin actions (actor user id, action, target, optional before/after JSON, reason, timestamp). Staff with permission can view a readable feed in admin.
  • Analytics events (analytics_events): first-party rows with event name, optional page path, optional UTM map, and timestamp — no user id, IP address, or cookie. Elements with data-analytics (for example join_discord on Discord invite links) post to POST /api/analytics via navigator.sendBeacon where supported; common bot user agents are ignored and requests are rate-limited per hashed IP. Other names (such as search, feedback_submission, and event_registration) may be recorded from UI or server actions. There is no Google Analytics or ad network in this repository.

Discord bot data

The bot posts guild snapshots (discord_snapshots: member counts and related payload, capture time, source) and heartbeats (bot_heartbeats). It may sync a member directory (discord_members) for admin tools. Messages and voice chat remain on Discord.

Hosting

Production deploys described in instruction.md run the Next.js app and bot on a VPS you control, with Postgres on the same Docker network (or an external Postgres such as Fleetdock when using the optional docker-compose.fleetdock.yml overlay). Environment secrets (session secret, Discord tokens, database URL, Noctaly key) stay on the server — not in the browser.

Retention and deletion

  • Sessions: expire after seven days unless revoked earlier; logout sets revoked_at.
  • Feedback: staff can archive or delete items in admin. If you delete your account, feedback authorship is anonymized but message text may remain.
  • Self-serve delete: use Account → Settings → Delete my data with typed confirmation. This removes your community profile, notification preferences, site sessions, event registrations, public username history, the Discord login link row (discord_accounts), the guild membership snapshot (discord_memberships), and your internal user row (users). You are signed out immediately. The next Discord login creates a fresh site account. Staff accounts cannot self-delete here; contact the site owner.
  • Activity log: staff operations stay on record. Rows tied to you may show actor or target Deleted member after self-serve deletion, without keeping your former username in those fields.
  • Analytics: first-party analytics_events are not tied to a downloadable account export today.

We cannot delete Discord message history or your Discord account from this website. For other corrections, email contact@krithiv.dev or open a ticket in Discord.

Children

Discord requires users to be at least 13. We do not operate a separate children's account system.

Changes

We may update this notice when the product changes.