-
-
Notifications
You must be signed in to change notification settings - Fork 89
Create Discord server and bot
This tutorial shows how to create your own Discord server and a Discord bot, which can then be connected to a program, like the TJ-Bot.
- a Discord account
- create your own Discord server
- create a Discord bot
- add the bot to your server
As first step, you need to create your own Discord server. This is surprisingly easy. We use Discord's server template feature for this, this way you don't have to create all the channels, roles and more on your own. You can still modify the servers channels and roles after creation, as it's only a template.
This can be done using the following link.
- Open the URL from above
- Follow the dialog and enter details
2.1. Upload a picture
2.2. Enter a name
2.3. smack the Create button - boom! you have your own Discord server 🎉
Next up, you want to create your own bot.
- visit the Discord Developer Portal
- click on New Application
2.1. enter the name for the bot - on the General Information tab
3.1. enter a name, description and upload a picture
3.2. hit Save Changes - on the Bot tab
4.1. click on Add Bot
4.2. hit the Yes, do it! button
4.3. you can now see your bots Token, you will need this when connecting the bot to a program later
4.4. enable the Server Members Intent
4.5. enable the Message Content Intent - on the OAuth tab
5.1. select theBot
andapplications.commands
Scopes
5.2. select the desired Bot permissions, e.g.Send Messages
,Read Message History
,Add Reactions
,Use Slash Commands
5.3. from the Scope section, copy the URL it generated, this is the bots invite link
Last but not least, you have to add the bot to the server you just created.
- open the bots invite link URL in a browser
1.1. select your server to add the bot
1.2. click Continue
1.3. click Authorize - thats it, your bot was now added to the server! 🎉
Now that have your own server and your own Discord bot and both are connected to each other, you can start to create or run an actual bot-program, such as TJ-Bot and give it your bots token!
Once the program has your token, it will connect to the bot and you can interact with it from your server.
You can learn about these steps in the following guide: