How to Get a Discord Bot Token

You’re here because you need to either create or generate a Discord Bot Token.
Well, I’m here to show you how!
I’m going to walk you through the steps required for generating a brand-new discord bot token.
We’ll explain how you can view your tokens if you already have bots present in your account, and then we’ll talk about token security and how it’s extremely important that you never reveal your token.
What is a Discord Bot Token?
A Discord Bot Token is a short phrase (represented as a jumble of letters and numbers) that acts as a “key” to controlling a Discord Bot. Tokens are used inside bot code to send commands back and forth to the API, which in turn controls bot actions. Never share your Discord Bot Token with anyone.
Creating and/or Viewing a Discord Token isn’t hard — but if you’ve never done it before, it can take a little while to figure out where to go.
Here are the exact steps you’ll need to take.
Generating Your Token Step-by-Step
1. Go to the Discord Developer Portal
Your first step is to browse over to the Discord Developer Portal: https://discordapp.com/developers/applications/
This portal shows all of your applications and bots.
If you already have a bot created, click it in the list. If you don’t have any discord bots, click the “New Application” button.

2. Give Your Bot a Name
Here you’ll be prompted to give your application (bot) a name.
You’re likely making a Discord Bot here, or you need your token for a Discord Bot. If this is true, then think about what you want your bot to be named and enter it here.

3. Bring Your Bot to Life With an Icon and Description
Awesome! You’ve created your very first Discord Application! The only thing left is to bring your bot to life by giving it a description and an icon…

The best size for your bot’s icon is 1024×1024 pixels, but you can go lower and achieve quality results. I personally go with 512×512 most of the time (based on the icons I choose).
IconFinder has a huge collection of amazing icons.
And if you really like their icons and want to go premium, here’s a link for 50% Off: https://www.writebots.com/iconfinder
My bot is named “The Token Master”, so I want to find an icon somehow related to a token…
The first thing I did was go to IconFinder and type “token”:

We got a bunch of results. I personally like the “FLAT” icon style and think it looks really good, so I filtered by Flat:

Alright, here’s a good icon — I’m going to go with this and hit “Download PNG”.

Next I uploaded that icon into Discord and hit the green “Save Changes” button.
“The Token Master” is looking much better already!

4. Retrieve Your Token
Your next step is to go over the menu on the left side of the screen and click “Bot”. It’s the icon that looks like a little puzzle piece.

Now you want to click the blue “Add Bot” button

Click the “Yes, do it!” button…

You’ll see a green message, “A wild bot has appeared!”
You’ll also see a “Token” and a blue link you can click called “Click to Reveal Token”
As soon as you click this link, your token will be revealed…

And that’s it! You have your token!
A natural next step, however, is to add your bot into your Discord Server.
5. Add Your Bot to a Discord Server
In order to add your bot to your Discord Server, you’ll need to navigate back to the “OAuth2” tab.

Once there, scroll down to the “Oauth2 URL Generator” section. In the “Scopes” section, you’ll want to select the “bot” checkbox.

You’ll notice that a URL appeared as soon as you clicked “bot” — this will be your URL for adding your bot to a server.
But we’re not quite there yet!
Scroll down some more to the “Bot Permissions” section. This is where you choose what permissions to give your bot, and what it can and can’t do.

Based on what type of bot you’re planning on building, you’ll want to select permissions that most closely match what it’ll be doing day-to-day.
Important: Do not select all of the permissions “just to make things easy”. Your permissions are the second line of defense in case somebody gets their hands on your bot token. Only give your bot the permissions it really needs, that way you lower the risk of compromising your server.
After you’ve selected your permissions, scroll up a little bit and look at the URL that was generated.

Click the blue “Copy” button on the right side. This is the URL you’ll navigate to in order to add your bot to a server.
Go to that URL and you’ll see a page that looks sort of like this (see below). Here you’ll want to select the server you’re adding your bot to, double-check the permissions you’re giving your bot, and then continue to the next step.

You’ll likely get an “I’m not a robot” captcha message on the next screen. Solve the captcha and continue.

Success! Your bot has been authorized, and you should see it pop up in the list of participants on your server!

That wasn’t so hard, was it? You’ve successfully created a Discord Bot Token and added your own bot to a server!
… all that’s left is programming your bot and bringing it to life.
Remember: Protect Your Token at ALL COSTS!
Your TOKEN is the Key to the Kingdom when it comes to your bot…
If someone steals your token, they can make your bot do whatever they want — essentially “hacking” your bot.
You don’t want that.
Take extra care NOT to share your token. And if you do have bot code that you put together that uses your token, make sure that when sharing the code (or uploading it publicly, such as to GitHub for example), you leave your token out!
And that’s all there is to it!
As a final note, if you want to be able to create awesome graphics and have incredible icons for your Discord Bots, I’d recommend checking out IconFinder Premium for 50% Off.
How to Get a Discord Bot Token
![]()
Discord is a popular communication platform for online communities and gaming groups. One of the powerful features of Discord is the ability to add bots to your server. These bots can perform a variety of tasks, such as playing music, moderating chat, and providing information. To use a bot on Discord, you first need to get a bot token. In this blog post, we will walk through the process of how to get a Discord bot token.
Overview
- Create a new application
- Create a new bot
- Get the bot token
Steps:
step 1: Create a new application
The first step to getting a bot token is to create a new application on the Discord Developers website (https://discord.com/developers/). Click on the “New Application” button to create a new application. Give your application a name and click on the “Create” button.
Step 2: Create a new bot
Once you have created your application, you can create a new bot for that application. On the “Application” page, navigate to the “Bot” section and click on the “Add Bot” button. This will create a new bot for your application.
Step 3: Get the bot token
The final step is to get the bot token. On the “Bot” page, you will see a “Token” section. Click on the “Copy” button to copy the bot token to your clipboard. This is the token that you will use to authenticate your bot when connecting to the Discord API.
It is important to keep your bot token private and secure. Never share your bot token with anyone, and do not hardcode the token into your application. Instead, use a configuration file or environment variable to store the token.
It’s also worth mentioning that discord developer portal provides the user with the ability to regenerate the bot token if needed. And also you can use the discord developer portal to check the number of requests, the number of guilds the bot is in, and also you can check the number of users that are using the bot.
Conclusion:
Getting a Discord bot token is a simple process that can be done in just a few minutes. By following these steps you will be able to create a new bot and use its token to authenticate your application and interact with the Discord API. With a bot token, you can create powerful and useful bots that can improve communication and collaboration among your community members.
Создание простого Discord бота с помощью библиотеки discord.py
Асинхронная библиотека discord.py содержит все что нужно для бота, с помощью нее даже можно работать с голосовыми каналами сервера. В этой статье я расскажу как создать простенького бота для вашего discord сервера.
Получение токена и Client ID для вашего бота
Для получения токена и ID бота небходимо создать свое приложение и в разделе General Information скопировать Client ID.

А в разделе настроек создать бота и скопировать его токен. Задача не сложная, думаю все с этим справятся.

Собственно пишем бота
Устанавливаем discord.py с помощью pip:
После успешной установки создаем файл bot.py, где будем писать бота.
Импортируем все необходимое:
Создаем переменную с вашим токеном, про который я писал выше:
Создаем тело бота:
Для начала сделаем простенькую команду, аргумент которой бот будет просто пересылать:
И в конце запускаем бота с вашим токеном:
В итоге должно получится вот такое:
Теперь необходимо добавить бота на сервер. Сделать это можно с помощью ссылки:
Число необходимых прав можно получить в разделе настроек бота.
Теперь можно запускать бота:
После нескольких секунд, можно заметить его в сети:

И наконец-то попробовать отправить команду:

Заключение
Вот так можно легко запустить у себя на сервере бота. Как можно заметить библиотека делает практически все за тебя и остается только добавлять свой функционал с использованием python. В следующий раз я покажу как следить за событиями, подключатся к голосовым каналам (избегая проблем с linux и Windows), использовать роли и права участников и другое.
Бот Discord: как создать и добавить на сервер
Чтобы подключить бота Discord в ваше приложение, вам понадобятся токен бота (для настройки модуля) и ID канала, в который вы будете отправлять сообщения (для формы отправки).
Расскажем, как создать сервер, канал и бота Discord, а после добавить созданного бота на ваш сервер. О том, как настроить отправку сообщений на платформе AppMaster.io, можно прочитать в этой статье.
Для начала вам нужно создать новый сервер в Discord (или получить права администратора на уже существующем). Откройте страницу вашей учетной записи Discord в браузере — так будет удобнее перемещаться между страницами настроек.
1. Нажмите на «+» на левой панели.
2. Выберите шаблон сервера в зависимости от вашей сферы или создайте собственный.
3. Укажите, для каких целей хотите его использовать.
4. Выберите изображение будущего сервера и укажите его название (1), затем нажмите Create. (2).
5. Сервер создан. По умолчанию в него уже добавлены два канала — текстовый и голосовой (1). Чтобы изменить настройки канала, нажмите значок шестеренки (2). Добавить новый канал можно, нажав на «+» рядом с названием раздела. Мы не будем создавать новый канал и для подключения нашего бота используем уже существующий канал general.
6. Теперь нужно получить ID выбранного канала. Для этого нужно сначала включить режим разработчика в настройках вашего профиля. Нажмите на значок шестеренки рядом с вашим никнеймом и фотографией.
7. Перейдите в раздел APP SETTINGS, на вкладку Advanced (1) и переместите селектор Developer mode — режим разработчика активируется (2).
8. Вернитесь из меню настроек и кликните по нужному каналу правой клавишей мыши (1), во всплывающем меню выберите Copy ID — идентификатор вашего канала будет скопирован (2). Сохраните его в любом текстовом документе, чтобы не возвращаться к этому шагу.
Чтобы создать бота, перейдите на специальную страницу Discord для разработчиков: https://discord.com/developers/. Откройте ее в соседней вкладке браузера, не выходя из вашей учетной записи Discord.
Сначала вам нужно создать приложение, затем в этом приложении создать бота и настроить для него разрешения, и только после этого — добавлять бота на сервер.
1. На вкладке Applications выберите New Application.
2. Введите название будущего приложения (1) и нажмите Create (2).
3. Приложение создано. Перейдите не вкладку Bot (1) и нажмите Add Bot, чтобы добавить нового бота.
4. Согласитесь добавить бота в ваше приложение.
5. Бот создан. На вкладке Bot отобразится вся информация о нем. Тут можно изменить его имя, добавить изображение и скопировать токен бота (1). Этот токен понадобится вам для настройки модуля Discord на платформе Appmaster.i. Каждый раз при внесении изменений портал разработчика будет предлагать вам сохранить их (2).
Сохраните токен бота, чтобы при последующей настройке не возвращаться к этому шагу.
6. Теперь перейдите на вкладку OAuth2 (1) — тут можно настроить разрешения и получить ссылку на вашего бота. В разделе SCOPES выберите bot(2), в BOT PERMISSIONS отметьте разрешения, которые хотите ему предоставить, в нашем случае — только отправка сообщений, поэтому выберите Send Message(3). После скопируйте автоматически сгенерированную Discord ссылку(4).
7. Вставьте скопированную ссылку в адресную строку браузера и перейдите по ней — откроется окошко вашего приложения. Выберите ваш сервер в раскрывающемся списке (1) и нажмите Continue (2).
8. Убедитесь, что приложению (а значит, и созданному в нем боту) даны только необходимые разрешения, после чего добавьте его на ваш сервер.
9. Теперь вернитесь на ваш сервер. Бот оставил приветственное сообщение — значит, что он успешно добавлен и функционирует.
Итак, все готово. Вы получили токен бота для модуля Discord и ID канала для формы отправки сообщения. Теперь перейдите в AppMaster.io Studio и настройте отправку сообщений из вашего приложения, следуя инструкции Модуль Discord: подключение бота и отправка сообщений.
Следите за нашим блогом и присоединяйтесь к чату комьюнити, чтобы узнавать о новостях платформы и новых статьях.
Подробнее о том, что такое модули и как их настраивать — в обучающем видеокурсе AppMaster.io 101.
а как запрограммировать бота?
если нет навыков python и JavaScript
Что делать если мне написали вот это:
Я не знаю как это исправить но лучше проверь сохранен ли токен не генерировал ли ты его снова если регенирировал снова скопируй
Выключи в настройках REQUIRES OAUTH2 CODE GRANT
как сделать так что бы он был в сети
Лучше скачай BDFD там запусти его за просмотр рекламы
Реклама = 2 часа
Капча = 30 минут
а где его скачать?
Play market бдфд есть
Есть также сервер бдфд на русском чтоб коды брать от туда
я вроде сделал все как надо, как узнать на какую команду, скажем так "откликается" бот?
Я сделал всё что было задано создал новый сервер вставил сыллку на приглашение вставлял айди канала ничего не даёт
конструкторы в помощь
А что если не получается скопировать URL? Пишут Please enter a redirect uri.Помогите пожалуйста:(
А все нашла, спасибо большое!
Скажи как ты эту ссылку нашла?
Но в данном приложении Discord не обойтись без минусов:
1)Разнообразный коллектив который не всегда подстать себе найдешь;
2)В приложении дискорд на жалобы сквозь пальцы смотрят.могут и не отреагировать;
3)Конфиденциальность в общении не в почёте.
4)Странное комньюнити которое как "стая пчел".
5)На жалобы техобслуживание долго не реагирует.но попытаться можно.
6)Само общество дискорда может окунуть тебя в грязь.Если им что-то не нравится.У них своё представление о том или ином человеке.Они живут в своём собственном мирке под названием Discord.
7)Есть определенные "особые" личности которым всё непочем.и они суются куда не следует.
Сейчас проблема русскоязычного дискорда независит от сервера.
Сейчас весь русскоязычный дискорд самое поганое место обитания и общения.