Basic Creds
Creating your own Discord bot¶
This guide will show you how to create your own discord bot, invite it to your server, and obtain the credentials needed to run it.
- Go to the Discord developer application page.
- Log in with your Discord account.
- Click New Application.
- Fill out the Name field however you like, accept the terms, and confirm.
- Go to the Bot tab on the left sidebar.
- Optional: Add bot's avatar and description.
-
Click the Reset Token button, select Yes, do it! to confirm token reset, then copy the token that is revealed.
IMPORTANT
Keep your token safe: The token is like a password for your bot. Anyone with this token can control your bot. If you accidentally share your token, reset it immediately to prevent unauthorized access.
-
Paste your token into the
token
field withincreds.yml
. - Scroll down to the
Privileged Gateway Intents
section.- You MUST enable the following:
- PRESENCE INTENT
- SERVER MEMBERS INTENT
- MESSAGE CONTENT INTENT
- You MUST enable the following:
Inviting your bot to your server¶
- From the General Information tab, copy your
Application ID
. - Replace the
YOUR_CLIENT_ID_HERE
in the following link, with yourClient ID
:https://discord.com/oauth2/authorize?client_id=YOUR_CLIENT_ID_HERE&scope=bot&permissions=66186303
- The link should now look something like this:
https://discord.com/oauth2/authorize?client_id=123123123123&scope=bot&permissions=66186303
- The link should now look something like this:
- Access that newly created link, pick your Discord server, click
Authorize
and confirm with the captcha at the end. - The bot should now be in your server!