mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-02-23 12:39:24 +08:00
Update discord bot authorization tutorial (#5098)
This commit is contained in:
parent
0897ef71f2
commit
b808511efe
@ -34,13 +34,13 @@ Discord bot at [discord.com/developers/applications](https://discord.com/develop
|
||||
|
||||
1. Once on that page, click on "New Application" button on the top right, give your bot a name, and
|
||||
then click "Create".
|
||||
> 
|
||||
> 
|
||||
> `New Application` -> Give Application a Name -> `Create`
|
||||
|
||||
2. Once you create the application, you'll be directed to its overview. From this screen, you'll
|
||||
need to copy your "Client ID"/"Application ID" and save it for a later step. To copy your
|
||||
Client ID, click the upper-left most blue "Copy" button. Make sure to save it for a later step.
|
||||
> 
|
||||
need to copy your "Application ID" and save it for a later step. To copy your
|
||||
Application ID, click the upper-left most blue "Copy" button. Make sure to save it for a later step.
|
||||
> 
|
||||
> `Copy` -> Paste into Notepad for later step
|
||||
|
||||
3. Optionally, you can set an icon for your application as it will be the icon for the bot too.
|
||||
@ -49,18 +49,20 @@ Client ID, click the upper-left most blue "Copy" button. Make sure to save it fo
|
||||
4. The next step is actually creating a bot user for your application. From the overview screen,
|
||||
this is done by going to the "Bot" tab on the left, then clicking the "Add Bot" on the right,
|
||||
and finally then clicking "Yes, do it!".
|
||||
> 
|
||||
> 
|
||||
> `Bot` -> `Add Bot` -> `Yes, do it!`
|
||||
|
||||
5. Once on this screen, you'll need to uncheck the "Public Bot" setting and then click "Save Changes",
|
||||
so other people can't add your bot to servers that are not your own.
|
||||
> 
|
||||
> Uncheck `Public Bot` -> `Save Changes`
|
||||
5. Once on this screen, you'll need to uncheck the "Public Bot" setting, enable all the "Privileged
|
||||
Intents", and then click "Save Changes". This prevents other people from adding your bot and also
|
||||
allows your bot to use more Discord features.
|
||||
> 
|
||||
> Uncheck `Public Bot` -> Check `Presence Intent` -> Check `Server Members Intent` -> Check `Message Content Invent` -> Save Changes`
|
||||
|
||||
6. Finally, you'll need to copy your bot's token and save it for a later step. To copy your bot's token,
|
||||
click the blue "Copy" button right of your bot's icon. Make sure to save it for a later step.
|
||||
> 
|
||||
> `Copy` -> Paste into Notepad for later step
|
||||
click the blue "Reset Token" button right of your bot's icon, then click "Yes, do it!", and finally
|
||||
click "Copy". Make sure to save it for a later step.
|
||||
> 
|
||||
> `Reset Token` -> `Yes, do it!` -> `Copy` -> Paste into Notepad for later step
|
||||
|
||||
7. Next up is adding your bot to your Discord server. First, go to [essentialsx.net/discord.html](https://essentialsx.net/discord.html)
|
||||
and paste your Client ID you copied from step 2 into the text box on that page. Once you do that, click
|
||||
|
Loading…
Reference in New Issue
Block a user