Security & data handling

What Server Saver stores, what it needs access to, and how its protection actually behaves, including where it falls short.

Last updated: October 2026

At a glance

Admin-only controls

Every command that changes settings, shows configuration, or touches backups requires the Administrator permission. /help is the only command open to everyone.

Credentials stay out of the code

The bot token and database login are held as environment variables on the host. They are not in the source code.

Servers are kept separate

Every record is keyed to a server ID. One server's commands never read or write another server's data.

No message history

Backups hold structure, not conversations. Message content is only read by the word filter.

What data Server Saver stores

Only what it needs to protect and restore your server.

DataWhat it's used forNotes
Server configurationSensitivity, punishment, thresholds, log and welcome channels, feature on/off switchesPer server, changed by your admins
Whitelist, bot whitelist, blacklistExemptions from anti-nuke, allowed bots, and always-hostile accountsDiscord user and bot IDs
BackupsRestoring your serverRoles, channels, categories, permission overwrites, name, icon, banner. 5 kept by default, configurable up to 100
Security events and incidents/incidents, /status, alertsThe acting user's ID, the action type, the response taken, timestamps
Restore and lockdown recordsReporting results; undoing a lockdown cleanlyRestore outcomes. During a lockdown, the previous @everyone settings of each channel are kept until it is lifted
Word filter listYour server's filtered wordsOnly if you customize it

What it does not store

  • Message history. Backups never include it.
  • The content of filtered messages. When the word filter removes a message, a copy is posted once to your own log channel so admins can review it, and is not kept separately by the bot.
  • Member-specific permission overwrites in backups, since they can't be reliably recreated.

See the Privacy Policy and Terms of Service for the full legal terms.

How data is stored

  • Data lives in a managed MongoDB database, separate from the machine the bot runs on.
  • The bot connects to its database over an encrypted connection.
  • Backups beyond your retention limit are only removed after a newer backup has saved successfully, so a failed backup never costs you the last good one.
  • Event history is kept to power incident reports. You can ask for it to be deleted at any time (see below).
  • Exported backup files leave Server Saver entirely. Treat them like a map of your server, because anyone holding the file can see its structure.

What permissions the bot needs

Administrator is recommended. Anti-nuke, restore and lockdown act across roles, channels and members, and Discord only lets a bot grant a role or channel override permissions that the bot holds itself, unless it has Administrator. Here is what each permission is used for:

PermissionUsed for
View Audit LogFinding out who did what. All anti-nuke detection runs on Discord's audit log.
Manage RolesRemoving dangerous roles, quarantine, reverting permission changes, creating/editing/reordering roles on restore, editing @everyone, and channel overrides for lockdown.
Manage ChannelsCreating and deleting channels and categories (restore, /sanitize) and applying lockdown overrides.
Manage ServerRestoring the server name, icon and banner.
Kick MembersKick punishment, JoinGate removals, antijoin, and /kick.
Ban MembersBan punishment, blacklist enforcement, /ban, /unban and /bans.
Manage MessagesThe word filter deleting a matching message.
View Channel, Send Messages, Embed Links, Read Message HistoryPosting alerts and incident summaries to your log channel, welcome messages, and lockdown/restore reports.
Reduced-permission invite. If your server won't grant Administrator, this link requests only the permissions above. Restores and lockdowns are most reliable with Administrator; with this set, rebuilding a role or channel override that includes a permission the bot doesn't hold can fail.

Role position matters separately

Discord enforces role order on top of permissions. The bot cannot kick, ban, or strip roles from anyone whose top role is at or above its own, whatever permissions it has. Put Server Saver's role above every role it needs to act on, and run /safetycheck to verify.

Privileged intents

  • Server Members: detecting joins (anti-raid, JoinGate) and looking up members to enforce actions and send alerts.
  • Message Content: used by the word filter to check messages against your filter list.

Who can do what

Commands that change protection settings, whitelist or blacklist accounts, view configuration or incident history, run backups, or restore a server all require the Administrator permission in your server. Restore additionally needs a button confirmation from the person who ran it.

The whitelist is a list of accounts that anti-nuke deliberately does not check. Keep it short, and make sure those accounts use two-factor authentication, because a whitelisted account that gets compromised will not be stopped.

How protection works, and its limits

  • Detection uses Discord's audit log. Mass channel or role deletion, bans, kicks, webhook deletion, and dangerous permission changes are counted against your sensitivity level, and a mix of different destructive actions can add up to a trigger even if no single type does.
  • Response is your configured punishment: kick, ban, strip dangerous roles, or quarantine. Accounts on your blacklist are punished on their first action regardless of sensitivity.
  • Uncertain attribution is never punished. If the audit log can't confidently identify who made a permission change, the change is reverted but no one is punished on a guess.
  • Alerts are batched. Each action is punished immediately, but admin DMs and log posts are grouped into summaries, and related events are grouped into one incident.
What it cannot do. Server Saver reacts to events after Discord reports them. It cannot stop a destructive action before Discord carries it out, and an attacker who works slowly enough to stay under your thresholds may not be detected. Its role also has to outrank the attacker's. Use it alongside good permission hygiene, not instead of it.

Restore safety

  • Backups are validated for structure and size before they're accepted for import or restore.
  • /restore shows a preview of what will change before you confirm.
  • A fresh safety backup of the current state is taken first. If that fails, the restore does not start.
  • Only one restore runs per server at a time.
  • The result lists what succeeded and what failed, and never reports a partial restore as complete.

Deleting your data

Removing Server Saver from your server stops it from acting, but doesn't automatically delete what it stored. To have your server's data deleted, email savesync69@gmail.com with your server ID and your Discord user ID so we can confirm you manage that server.

Reporting a security issue

If you've found a vulnerability or behavior that looks unsafe, please report it privately rather than posting it publicly, so it can be fixed first.

Include what you found, how to reproduce it, and which server (if any) was affected.