Update bot token docs

This commit is contained in:
Yudi 2025-04-30 17:18:57 -03:00
parent 1fadc0755b
commit f71730e8f7
No known key found for this signature in database
GPG key ID: E4743B2F033961D1
3 changed files with 22 additions and 5 deletions

View file

@ -2,7 +2,7 @@
> **Warning**:
> **Do not share your token!**
> A token gives full access to an account. To reset a user token, change your account password. To reset a bot token, click on [Regenerate](#how-to-get-a-bot-token) in the bot settings.
> A token gives full access to an account. To reset a user token, change your account password. To reset a bot token, click on [Reset Token](#how-to-get-a-bot-token) in the bot settings.
## How to get a User Token
@ -259,12 +259,20 @@ Prerequisite step: Navigate to [discord.com](https://discord.com) and login.
1. Go to [Discord developer portal](https://discord.com/developers/applications)
2. Open your Application's settings
3. Navigate to the **Bot** section on the left
4. Under **Token** click **Copy**
4. Under **Token** click **Reset Token**
5. Click **Yes, do it!** and authenticate to confirm
> **Tip**:
> As the token is only shown once, make sure to copy it and store it in a safe place. If you lose it, you will have to reset the token again.
> **Warning**:
> <img width="500" align="right" src="https://i.imgur.com/PPm2KKn.png" />
> Your bot needs to have **Message Content Intent** enabled for it to be able to read messages!
![https://discord.com/developers/applications/](https://i.imgur.com/BdrrxlY.png)
<br clear="right" />
<br />
![https://discord.com/developers/applications/](https://i.imgur.com/soiB8Qc.png)
---

View file

@ -37,7 +37,8 @@ public class GuideCommand : ICommand
console.Output.WriteLine(" 1. Go to Discord developer portal");
console.Output.WriteLine(" 2. Open your application's settings");
console.Output.WriteLine(" 3. Navigate to the Bot section on the left");
console.Output.WriteLine(" 4. Under Token click Copy");
console.Output.WriteLine(" 4. Under Token click Reset Token");
console.Output.WriteLine(" 5. Click Yes, do it! and authenticate to confirm");
console.Output.WriteLine(
" * Your bot needs to have the Message Content Intent enabled to read messages"
);

View file

@ -356,7 +356,15 @@
<Run
BaselineAlignment="Center"
FontWeight="SemiBold"
Text="Copy" />
Text="Reset Token" />
<LineBreak />
<Run BaselineAlignment="Center" Text="5. Click" />
<Run
BaselineAlignment="Center"
FontWeight="SemiBold"
Text="Yes, do it!" />
<Run BaselineAlignment="Center" Text="and authenticate to confirm" />
<LineBreak />
<Run BaselineAlignment="Center" Text="* Your bot needs to have the" />