diff --git a/.docs/Token-and-IDs.md b/.docs/Token-and-IDs.md index 9374d9ff..f34c0c3a 100644 --- a/.docs/Token-and-IDs.md +++ b/.docs/Token-and-IDs.md @@ -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**: +> > 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) +
+
+ +![https://discord.com/developers/applications/](https://i.imgur.com/soiB8Qc.png) --- diff --git a/DiscordChatExporter.Cli/Commands/GuideCommand.cs b/DiscordChatExporter.Cli/Commands/GuideCommand.cs index c643cb11..78a1e0f4 100644 --- a/DiscordChatExporter.Cli/Commands/GuideCommand.cs +++ b/DiscordChatExporter.Cli/Commands/GuideCommand.cs @@ -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" ); diff --git a/DiscordChatExporter.Gui/Views/Components/DashboardView.axaml b/DiscordChatExporter.Gui/Views/Components/DashboardView.axaml index f8f9890b..c5a5c849 100644 --- a/DiscordChatExporter.Gui/Views/Components/DashboardView.axaml +++ b/DiscordChatExporter.Gui/Views/Components/DashboardView.axaml @@ -356,7 +356,15 @@ + Text="Reset Token" /> + + + + +