Noxyr Noxyr
Noxyr Noxyr
Features Custom Bot Business
Resources
Resources CommandsEvery slash command, searchable
Learn DocsA guide for every module TutorialSet the bot up step by step ArticlesBot comparisons and how-tos CompareNoxyr next to other bots
Extras Custom BotRun every Noxyr feature under your own bot's name and avatar. One Top.gg vote unlocks it. ToolsTimestamps, fonts and welcome text MusicThe music player, up close Noxyr RushPlay to win custom bot time
Site StatusUptime over the last 30 days ChangelogWhat shipped lately Noxyr MCPRun your server from Claude, ChatGPT, Cursor and more
Community Web storesLive stores run with Noxyr LeaderboardFeatured servers using Noxyr
Company
Company About usWho Noxyr is for and why it exists
Company PartnersThe host and bots we work with TeamThe people and AI agents behind Noxyr DonorsThe people who keep Noxyr free BrandingLogos, colours and how to use them
Get in touch Contact usQuestions, ideas or partnerships Become a partnerGet your bot or host listed ReviewsWhat server owners say on Top.gg
Support
Language
Change theme
Vote Donors
EN

Choose a language

English العربية 中文 Čeština Français Deutsch हिन्दी Bahasa Indonesia Italiano 日本語 한국어 Polski Português Español Türkçe Tiếng Việt
Bright themes
Dark themes
Business
Add Bot Log in
Home/Discord Bot Glossary
Security

November 14, 2026 ·2 min read · By Mike

Discord Bot Token: What It Is and How to Protect It

Glass padlock among red silk ribbons of light

A bot token is the secret string that proves a program is allowed to act as a specific Discord bot. Anyone who has it can log in as the bot and use all its permissions, so treat it exactly like a password and reset it the moment it is exposed.

What the token is

When you create an application in the Discord Developer Portal and add a bot to it, the Bot page can show a token. It is a long string of letters, numbers and dots. Your bot's code sends it when it connects to Discord, and Discord uses it to decide which bot is calling.

The token is not the same as the application ID, which is public, or the client secret, which is a different secret used for sign-in flows.

What an exposed token allows

With the token, a stranger can run the bot from their own machine. They can send messages as it, read what it can see, and use every permission the bot has in every server it is in. A bot with Administrator or Ban Members in a big server is a serious risk in the wrong hands.

Discord does watch for leaks. If a token is posted in a public code repository, Discord detects it and resets it, then tells the owner. Do not rely on that, because a token shared in a private chat or screenshot is not caught.

Protecting a token

  • Never paste it in a Discord channel, a support ticket, a screenshot or a public repository.
  • Keep it in an environment variable or a secrets file that is not committed to version control.
  • Give a bot only the permissions and intents it needs, so a leak does less harm.
  • Reset it in the Developer Portal if you have any doubt. Resetting makes the old token stop working at once, and you then update your own setup with the new one.

No legitimate service needs your client secret. Only the bot token is ever needed, and only for hosting that runs your bot.

Tokens and Noxyr

The regular Noxyr bot needs no token from you. You only add it with the invite link. A token comes in when you set up a custom bot that runs Noxyr's features under your own bot name and avatar. For that you create your own Discord application and give Noxyr the bot token, with the Server Members and Message Content intents switched on. Noxyr never asks for the client secret, and you can switch the custom bot off or remove the token at any time, which returns your server to the normal Noxyr bot.

Giving a token to a host is a real trust decision, and the article on giving a bot token to a hosting service explains what to weigh. The full bot token guide covers resets in more detail.

Common questions

What should I do if my bot token leaks?

Open the Developer Portal, go to your bot page and reset the token right away. Then update any place that used the old one.

Is the bot token the same as the client secret?

No. They are separate secrets. Noxyr custom bots only need the bot token, never the client secret.

Can I find my token again after leaving the page?

Discord only shows it when you reset or create it. If you lose it, reset to get a new one.

Run your server from one dashboard

Noxyr covers tickets, security, moderation, welcome messages, invoices and giveaways, free.

Add to Discord, Free

Keep reading

Server setup Discord Community Server: What Turning It On Unlocks November 14, 2026 · 2 min read Messages Discord Components V2: The New Message Layout November 14, 2026 · 2 min read Messages Discord Embed: What It Is and What It Can Hold November 14, 2026 · 2 min read Developer Discord Gateway Intents: What a Bot Is Allowed to Hear November 14, 2026 · 2 min read Developer Discord OAuth2 Scopes: What Each One Lets an App Do November 14, 2026 · 2 min read Server setup Discord Onboarding: Welcome Questions That Assign Roles November 14, 2026 · 2 min read Permissions Discord Permissions Integer: How One Number Stores Permissions November 14, 2026 · 2 min read Developer Discord Privileged Intents: Presence, Members and Message Content November 14, 2026 · 2 min read Security Discord Raid: What It Is and How Servers Defend Against It November 14, 2026 · 2 min read Developer Discord Rate Limit: Why Bots Get Slowed Down November 14, 2026 · 2 min read
Noxyr

Built for Discord communities.

Product

  • Shop Bot
  • Invoice Bot
  • Ticket Bot
  • Giveaway Bot
  • Security Bot
  • Music Bot

Resources

  • Features
  • Docs
  • Articles
  • Command List
  • Compare
  • Free Tools

Company

  • About us
  • Partners
  • Team
  • Donors
  • Branding
  • Become a partner
  • Contact us

Support

  • Support Center
  • Support server
  • Vote on Top.gg
  • Status

Legal

  • Terms of Service
  • Privacy Policy
  • Refund Policy

© 2026 Noxyr. All rights reserved.

Something went wrong

An unexpected error happened.

Report it
esc

Confirm action

Are you sure?