Skip to content
Black Friday starts in 4 days

BlogGuides

My Discord Server Got Hacked: What to Do in the First Hour

Discord server hacked? Secure the stolen account, take its roles away, read the audit log and check your bots. What Discord can give back and what it cannot.

Dani, Founder, AI Ticket Bot

8 min read

Usually a moderator scanned a QR code a stranger sent, signed in on a fake verification page, or opened a file dressed up as a game. Whoever holds that account now uses its role to delete channels, ban members, spam scam links or remove the other admins. Sometimes the way in is a bot with Administrator.

How do Discord servers get hacked?

Through a person, not through Discord: someone gets into an account that holds a powerful role, then uses that role. Each of these ends with a staff account in someone else's hands:

How it startsWhat actually happens
A QR code someone asks you to scanApproving it on your phone logs them in as you
A bot or DM asking you to verifyThe page it links to is a fake login
A file sent as a game or free NitroDiscord says these are often built to steal your login
A message from "Discord staff"Discord says its staff never contact users through the Discord app
A bot holding AdministratorWhoever controls the bot can do anything an admin can

A strong password does not help in the first row: approving the QR code is the login. Discord says never to approve one you did not start. The fake staff row has a well-known version, the I accidentally reported you message.

What do you do in the first hour?

Secure the account, take its power away, stop the spread, then find out what changed. In this order:

  1. Secure the stolen account

    Its owner changes the password, which logs out every device, turns on 2FA and removes unknown apps under Authorized Apps

  2. Take its roles away

    Remove every staff role from that member. You can only change roles below your own, so the owner may have to

  3. Pause invites and DMs

    Security Actions, in the server's menu, pauses invites and DMs between members who are not friends, for as long as you choose

  4. Read the audit log

    Server Settings, Audit Log shows who deleted, banned, changed roles or added a bot over the last 45 days

  5. Check bots and webhooks

    The Integrations page in Server Settings lists every bot and webhook, who added it and when. Remove anything you do not recognise

  6. Report it to Discord

    The owner of the stolen account files Discord's hacked account form. Report the scam messages it sent with Report Message

Do not wait for the person whose account was taken: removing their roles works without them.

If the email address was changed, Discord's notice to the old address has a Start Account Recovery button. It works for 48 hours, the real link always starts with discord.com/wasntme, and it switches the email back, logs out every device and sets a new password. Discord cannot send a new one after it expires.

Then post a short announcement: any DM from that account in the last few hours did not come from your staff.

What if the server owner's account was hacked?

Recover that account, because ownership only moves when the owner transfers it. Discord's ownership transfer requests only cover an owner who has not used their account for at least a month, so a stolen account in daily use does not qualify. Use the email recovery link or the hacked account form, fast: until then, whoever holds the owner account can do anything, including deleting the server.

What Discord can and cannot give back

Discord does not restore deleted channels, messages or servers. Its page on scam bots says that if anything gets deleted, it has no way of restoring what was lost. Its page on deleting a server says nothing from a deleted server can be recovered, the member list included.

What you can still get back

Deleted channels and messages
No. Recreate the channels; the messages are gone
A deleted server
No. Nothing at all
Banned members
Yes. Lift the bans in your server settings, then send an invite
Kicked members
Yes. They can rejoin with an invite
Roles and permissions
Rebuild them by hand
The stolen account
Possibly, through the email recovery link or Discord's form

A server template saved before the hack is a map for rebuilding: it copies categories, channels, roles and permissions into a new server, without messages.

What happens to your tickets when ticket channels are deleted?

On AI Ticket Bot, the conversation survives: the bot saves every ticket message as it is sent, outside Discord, so a deleted ticket channel still gets its transcript. This is where the choice of Discord ticket bot matters: tickets that live only in Discord go with the channel.

When a ticket channel is deleted

The ticket
Closed, with the reason Ticket channel was deleted
The conversation
Saved as a transcript from the copy the bot already kept, unless you turned transcripts off
The member
Gets a DM saying so, with the transcript link, if still in the server with DMs open
The record
A line in the dashboard's audit log, naming who deleted the channel when the bot can read your Discord audit log
Files
Listed by name and size with Discord's link. The bot keeps no copy
The panel
Stored by the bot. Point it at a new channel and publish it again

Closed tickets lose nothing: their transcripts were saved when they closed, and members can still read their own with /mytickets.

The dashboard's audit log also records every change to your ticket setup, from staff roles to panels and the blacklist, for twelve months on every plan. It is where you check whether the stolen account touched your tickets: the audit log, explained.

Does removing a Discord role also remove ticket access?

Yes. AI Ticket Bot's sixteen staff permissions belong to Discord roles, and the bot reads a person's roles each time they act. Take the role off the stolen account and it loses its ticket powers at once. Ticket channels are opened to roles, so it also loses sight of them.

Then check two things:

  • Manage Server and Administrator hold every ticket power, dashboard included. Take those Discord permissions away too.
  • Access given to a person stays. Someone added to one ticket, a staff member already inside a thread ticket, and in some setups the staff member who claimed a ticket keep it until you remove them.

A role that answers tickets does not need Manage Server; staff roles and permissions shows what it does need.

How do you stop your Discord server being hacked again?

Make one stolen account worth less. No setting stops a moderator approving the wrong QR code, but these limit what it costs:

  • Turn on Discord's 2FA Requirement For Moderation setting
  • Give Administrator to as few people as you can
  • Give each role only the permissions its job needs
  • Keep the owner account out of daily moderation, with its 2FA backup codes stored safely
  • Check the Integrations page now and then: what each bot asked for and who added it
  • Tell staff never to scan a QR code, open a file or log in through a link someone sends
  • Save a server template, and sync it after big changes

The 2FA requirement means staff without 2FA cannot use the powers that do the damage: Administrator, Ban Members, Kick Members, Manage Channels, Manage Roles, Manage Server and a few more. It stops someone holding only a password, not someone already logged in through an approved QR code, so the habits matter as much.

Discord's roles guide says to assign Administrator with extreme caution: it grants every permission and bypasses every channel rule. That goes for bots too. A ticket bot does not need it, and ours asks for named permissions instead; is a Discord ticket bot safe? shows how to check any bot.

What a ticket bot cannot do about a hacked server

The honest list.

Good fit

  • Keeps ticket conversations outside Discord, so a deleted ticket channel still has its transcript
  • Records changes to your ticket setup in the dashboard's audit log for a year
  • Hands a member's report of a takeover in progress to staff as urgent
  • Follows Discord roles, so removing a role removes ticket access too

Not the right call

  • It cannot restore channels, messages, roles or a deleted server
  • It does not ban, kick, time out or delete messages, and does not moderate chat
  • It cannot see or stop the DMs a stolen account sends your members
  • It keeps no copy of files, only their names and links

The AI's part is small. When a member opens a ticket saying a moderator's account is sending scam links, the AI hands it to your staff marked urgent, because a takeover in progress is where every minute counts.

Frequently asked questions

Find which account did it and take its power away. The person whose account was taken changes the password, which logs out every device, and turns on 2FA. At the same time an admin above them removes their staff roles. Then pause invites and DMs with Security Actions, read the audit log in Server Settings and remove any bot or webhook you do not recognise.

No. Discord says that if anything gets deleted it has no way of restoring what was lost, and a deleted server cannot be recovered at all, member list included. You can lift bans, invite kicked members back and rebuild channels and roles by hand. Ticket conversations that a ticket bot keeps outside Discord survive the channel being deleted.

Recover that account, because ownership only moves when the owner transfers it. Look in the old inbox for Discord's email about the changed email address: its recovery button works for 48 hours. Otherwise use Discord's hacked account form. Discord's ownership transfer requests only cover an owner who has been inactive for at least a month, so they do not help here.

Change your password straight away, which logs out every device, turn on 2FA and remove any app you do not recognise under Authorized Apps. If the email was changed, use the recovery link Discord sent to your old address within 48 hours. Then file Discord's hacked account form, and tell your friends and servers the messages were not from you.

Open Server Settings and then Audit Log. It lists who deleted channels, banned members, changed roles and added bots or webhooks, and Discord keeps those entries for 45 days. It shows which account did it, not the person behind the account. The Integrations page in Server Settings also shows who added each bot and webhook.

Turn on the 2FA Requirement For Moderation setting, give Administrator to as few people as you can, and give each role only the permissions it needs. Check what your bots can do on the Integrations page. And tell staff never to scan a QR code, open a file or log in through a link that someone sends them.

See it on your own server.

Add the bot free, teach it a few of your most common answers, and watch it clear the repeat tickets on its own.

Free plan, no card. Premium is free for 14 days once your tickets are live.