Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

If a Discord bot is posting malicious content, changing roles, deleting material, or its token has leaked, treat the incident as an active access breach. Remove or disable the bot first, reset its token in the Discord Developer Portal, audit permissions and webhooks, secure any human account that may also be exposed, and report the application when appropriate. A token reset stops use of that credential; it does not prove that server permissions, webhooks, member accounts, or already-deleted content are clean.

What a compromised Discord bot can do

A bot token is an authentication credential for a bot user. Discord documents that bot users authenticate with the token configured in the application and can access most API routes available to them. The practical damage is therefore determined largely by the permissions and roles the bot has in your server.

A leaked token can let someone operate the legitimate bot identity until you reset it. If the bot has broad permissions, the attacker may be able to send messages, manage channels or roles, ban or kick members, create or abuse webhooks, or make other changes that the bot is authorized to perform. A token alone does not automatically grant every server permission, but a high-privilege bot can still cause severe damage.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Discord’s Safety Library warns that a publicly exposed token should be removed from bot code to prevent compromise and states that a compromised bot token can be reset. The response below is an operational order based on that guidance and Discord’s separate permission and safety documentation; it is not presented as a Discord-published incident-response checklist.

#1 Best Overall
Sale
Compressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
  • Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
  • With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
  • Wide Application: attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
  • Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
  • Economical &Reusable: Built durable materials with a long-lasting battery,our CAGIWIRU air duster it's a sustainable alternative to disposable air cans.

First, classify the situation

Use these questions to decide how urgently to act and which branches of the response apply. There is no official Discord severity score for this scenario.

What you know Immediate implication Checks that still remain
The token was exposed, but the bot is not visibly acting Assume the credential can be used and rotate it promptly. Review permissions, roles, webhooks, logs, and the deployment that stored the token.
The bot is actively posting or changing the server Contain access before investigating details. After containment, inspect unauthorized changes and other integrations.
The bot has Administrator or other powerful permissions Treat the possible blast radius as broad. Audit role assignments, channels, webhooks, and high-impact settings.
A server owner or moderator account may be compromised Handle the human account as a separate credential incident. Reset its password, enable two-factor authentication, and contact Discord if access is lost.
Messages, channels, roles, or other material was deleted Preserve whatever evidence remains and do not promise restoration. Determine what independent copies or records your team already has.

Step 1: Contain the bot before you investigate

If the bot is currently causing harm, stop its server access. Depending on what you can safely do, remove the bot from the server, disable the affected integration, or remove the bot’s powerful role while another moderator watches for further activity. This is practical containment inferred from Discord’s warning that a compromised token can cause damage in proportion to granted permissions; Discord does not publish this exact sequence as a universal checklist.

  1. Use a trusted owner or moderator account. If you suspect your own account is compromised, do not use it as the only control. Have another trusted administrator act, or secure your account first.
  2. Stop the legitimate process. Shut down the bot’s running instance, hosting job, container, or continuous-deployment process so that it cannot immediately reconnect with an old credential.
  3. Remove the bot’s server access if activity continues. Kicking the bot or removing its role limits further actions while you rotate credentials. If you need evidence, capture timestamps, message links, screenshots, and the names of affected channels before deleting anything yourself.
  4. Do not “test” the leaked token. Trying it from another script can create additional activity and makes the incident harder to understand.

Containment is not cleanup. An attacker may already have used the bot’s permissions, and removing the bot does not undo role changes, webhook creation, messages, or deletions that happened earlier.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Step 2: Reset the bot token and replace every copy

Reset the credential in the application settings rather than attempting to revoke an OAuth access or refresh token. Discord’s OAuth2 revocation endpoint is a different mechanism and should not be treated as the bot-token rotation flow.

Rank #2
EVEO® Screen Cleaner Spray Kit (Streak-Free) TV Screen Cleaner for Smart TV, Lcd, LEd, Oled | Computer Screen Cleaner Spray and Wipe Microfiber Cloth - TV, Monitor, Laptop, iPad, Car - 6.7oz 1 Pack
  • Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
  • Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
  • Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
  • Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
  • Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
  1. Open the Discord Developer Portal and select the affected application.
  2. Open the application’s Bot settings.
  3. Choose Reset Token and complete any confirmation Discord presents. The old token should be considered unusable after rotation, but continue treating every previous copy as exposed.
  4. Place the new token only in the legitimate deployment’s secret configuration. Restart that deployment after the old process has been stopped.
  5. Remove the old value from public source code, issue reports, chat messages, logs, build artifacts, container images, sample configuration files, and any other location that should not contain a secret. If it was committed to version control, remove it from accessible history as well as the current file and restrict access to the repository.
  6. Check automated systems that may still contain the old value, such as deployment variables, test projects, staging servers, and crash-reporting systems. Update only the systems that are supposed to run the bot.
  7. Confirm that the bot reconnects using the new credential and that no unauthorized process is still attempting to authenticate.

A bot token identifies and authenticates the bot application; it is not the same as a human Discord account password or account token. Never paste either type into a support chat, public issue, or troubleshooting post.

Step 3: Audit permissions, roles, and server controls

Token rotation cannot tell you what the bot did while the token was exposed. Review the bot’s current permissions and the controls an attacker could have reached through those permissions.

Inspect the bot’s role and effective permissions

  • Open the server’s Server Settings and inspect Roles.
  • Find the role assigned to the bot and record its permissions before changing them. Preserve a screenshot or written record for your incident notes.
  • Pay particular attention to Administrator, Manage Server, Manage Roles, Manage Channels, Manage Webhooks, Ban Members, Kick Members, and message-management permissions.
  • Check the role hierarchy. A bot cannot manage roles above its highest role, but a high position combined with broad permissions can make unauthorized changes much easier.
  • Remove permissions the bot does not need for its intended functions. A moderation bot may need limited message and member controls; it rarely needs unrestricted server administration.

Check channel-specific overrides

Server-level permissions are not the whole picture. Open important channels and inspect their permission overrides for the bot’s role. A bot that appears restricted globally may still have elevated access in an announcement, staff, or archive channel.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Review integrations and webhooks

Webhooks are powerful because anyone holding a webhook URL may be able to post through it. In the server, open Server Settings and Integrations, then review the Webhooks list and other integrations. Look for entries you do not recognize, recent changes, unexpected names or avatars, and destinations that no longer belong to a legitimate service.

Rank #3
Sale
BladeHawks RGB Gaming Mouse Pad Extra Large Extended 31.5x12 Inch-Black | LED mouse pad with 14 lighting modes, covers keyboard & mouse, anti-slip rubber base, waterproof surface, USB powered
  • 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
  • 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
  • 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
  • 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
  • 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.

Discord specifically recommends auditing server permissions and high-level tools such as webhooks after suspicious activity. The available material does not establish a complete compromise-specific audit-log procedure or guarantee that every unauthorized action can be reconstructed, so treat audit information as evidence rather than proof that the server is clean.

Step 4: Rotate any exposed webhook URL

If a webhook URL appeared in a public repository, log, screenshot, message, or compromised configuration, assume it can be abused. Discord says a leaked webhook URL can enable spam and that changing the URL is straightforward.

  1. In Server Settings, open Integrations and then Webhooks.
  2. Identify the affected webhook and use Discord’s option to generate or change its URL. If the interface offers deletion and recreation instead of rotation, create the replacement first where possible so you can minimize downtime.
  3. Update only the legitimate service that needs to send through the webhook.
  4. Remove the old URL from source code, logs, tickets, documentation, and shared notes. Treat it like a password that was exposed.
  5. Review the webhook’s channel and permissions after rotation. A new URL does not explain or undo messages sent through the old one.

Step 5: Secure a potentially compromised owner or moderator account

A bot-token leak and a human-account compromise are separate incidents. If an owner or moderator clicked a suspicious link, disclosed credentials, lost access, or sees unexplained account activity, secure that account even after the bot token has been reset.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Change the Discord account password from a trusted device. Discord states that resetting an account password generates a new account token; this is an account-credential change, not a bot-token reset.
  2. Enable two-factor authentication in the account’s security settings. Store recovery codes somewhere offline and limit who can access them.
  3. Review authorized applications and remove anything the account owner does not recognize.
  4. Tell other administrators not to rely on the affected account until the owner confirms control.
  5. If the owner cannot sign in or the account itself was taken over, use Discord’s support and account-reporting route. Provide the account details and a concise timeline, but never send a bot token, password, or two-factor code.

Changing a human password does not rotate a bot token, and rotating a bot token does not secure a human account. Complete both actions when both credentials may be involved.

Rank #4
Sale
Vaydeer Wrist Rest for Keyboard and Mouse, Computer Ergonomic Wrist Support Pad, Soft Memory Foam Arm Cushion for Desk, Palm Hand Office Laptop Typing
  • 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
  • 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
  • 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
  • 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
  • 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.

Step 6: Check data access and report the application when warranted

Inspect the bot’s current access

Discord’s bot-data-access guidance says that, in the desktop or browser client, a bot profile includes a Data Access tab. Open the bot’s profile and review that tab to understand the access it currently presents to members. This view is useful for checking the application’s declared access, but it does not replace a server-permission audit or prove what an attacker already did.

Report a malicious or policy-violating application

If the application is malicious or violated Discord’s policies, Discord’s January 22, 2026 reporting instructions describe two routes:

  • Open the application’s profile, select the three-dot menu, and choose Report App.
  • Open User Settings, choose Authorized Apps, locate the application, and use the available reporting option.

Include a factual description of the behavior, relevant timestamps, server and channel identifiers, and screenshots or message links that you are permitted to share. Reporting does not replace containment, token rotation, or permission cleanup.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Step 7: Investigate what changed without destroying evidence

Once access is contained, make an incident record. Record when the token was exposed or suspicious behavior began, who performed each change, which roles and permissions were present, which webhooks existed, and what members or channels were affected.

Best Value
Sale
Under Desk Cable Management Tray No Drill, Metal Mesh Cable Management Under Desk with Clamp Mount, 2 Hole Cable Tray with Wire Management and Cord Organizer for Home Office Standing Desk
  • 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
  • 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
  • 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
  • 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
  • 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.
  • Save message links, screenshots, moderation notices, and error logs before they disappear.
  • Compare the current role and channel configuration with a known-good record, if your team keeps one.
  • List newly created or renamed roles, channels, integrations, and webhooks.
  • Check for unexpected membership changes, permission grants, bans, kicks, mass mentions, and automated messages.
  • Inspect the deployment and repository for unauthorized code or configuration changes, not just the token value.

Do not claim that an absence of visible damage proves nothing happened. Discord’s available guidance supports auditing permissions and webhooks, but it does not provide a guaranteed method to reverse every unauthorized change or reconstruct every deleted event.

Can Discord restore deleted server content?

Do not promise members that Discord can restore deleted server material. Discord’s scam-bot safety guidance says that if something is deleted, Discord cannot restore what was lost in that context. State this narrowly: it addresses the deleted material covered by that guidance, not every independent backup your organization may possess.

Check your own lawful records, such as moderation exports, message links, screenshots, repository history, or backups maintained before the incident. Treat those as evidence or recovery sources, not as proof that Discord can restore the original server state.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Step 8: Restore service with least privilege

After you have recorded the incident and removed unauthorized controls, decide whether the bot should return at all. If it does, redeploy from code you trust, use only the newly reset token, and grant the smallest set of permissions required for its documented jobs.

  • Use a dedicated secret configuration rather than hard-coding credentials.
  • Separate development, staging, and production bot applications when practical.
  • Review permission changes as part of deployment approval.
  • Keep a dated inventory of bots, roles, webhooks, integrations, and their owners.
  • Maintain independent records of critical configuration and moderation decisions so an incident does not leave you with no reference state.
  • Tell members what was confirmed, what was contained, and what remains uncertain. Do not publish the replacement token or any webhook URL.

Re-enable features gradually. Start with the bot’s core function, watch its activity, and add optional permissions only when a documented task requires them.

Common mistakes that prolong the incident

  • Resetting the token but leaving the bot running on the old configuration: stop the old process and verify every legitimate deployment uses the replacement.
  • Checking only the bot profile: inspect server roles, channel overrides, webhooks, and integrations as separate controls.
  • Assuming a bot compromise proves the owner’s account was hacked: investigate and secure the human account separately instead of making an unsupported conclusion.
  • Deleting evidence immediately: preserve timestamps, links, screenshots, and configuration details before cleanup.
  • Using OAuth token revocation as a bot-token reset: OAuth access and refresh tokens are not the bot credential configured in the application’s Bot settings.
  • Promising restoration: Discord’s cited safety guidance does not promise recovery of deleted material.
  • Publishing the new secret while asking for help: redact bot tokens, passwords, recovery codes, and webhook URLs from every report.

When is the server safe enough to resume normal operation?

There is no single Discord indicator that certifies a recovered server. Resume normal operation only after you can answer these questions with evidence:

  • Has the exposed bot token been reset, and have old copies been removed from the systems you control?
  • Is the bot’s current process running trusted code with the replacement token?
  • Have its roles and channel overrides been reduced to necessary permissions?
  • Have webhooks and integrations been reviewed, with exposed URLs rotated?
  • Have potentially affected owner and moderator accounts been secured?
  • Have you documented suspicious changes and preserved the evidence still available?
  • Have you communicated honestly about deleted material and any uncertainty?

If any answer is no, keep the relevant access disabled and continue the investigation rather than treating token rotation as a complete recovery.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.