Update instructions to obtain token

Fixes #76
pull/91/merge
Alexey Golub 6 years ago
parent d95bc37592
commit 8e38adae7e

@ -14,12 +14,10 @@ namespace DiscordChatExporter.Cli
Console.WriteLine(" 1. Open Discord app");
Console.WriteLine(" 2. Log in if you haven't");
Console.WriteLine(" 3. Press Ctrl+Shift+I to show developer tools");
Console.WriteLine(" 4. Navigate to the Network tab");
Console.WriteLine(" 5. Filter the requests to XHR only");
Console.WriteLine(" 6. Go to any channel or server");
Console.WriteLine(" 7. Find a request that starts with \"messages\"");
Console.WriteLine(" 8. Click on Headers tab");
Console.WriteLine(" 9. Look for \"authorization\" among request headers and copy its value");
Console.WriteLine(" 4. Press Ctrl+R to trigger reload");
Console.WriteLine(" 5. Navigate to the Application tab");
Console.WriteLine(" 6. Select \"Local Storage\" > \"https://discordapp.com\" on the left");
Console.WriteLine(" 7. Find \"token\" under key and copy the value");
Console.WriteLine();
Console.WriteLine("# To get bot token:");
Console.WriteLine(" 1. Go to Discord developer portal");

@ -233,26 +233,23 @@
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Ctrl+Shift+I" />
<Run Text="to show developer tools" />
<LineBreak />
<Run Text="4. Navigate to the" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Network" />
<Run Text="tab" />
<LineBreak />
<Run Text="5. Filter the requests to" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="XHR" />
<Run Text="only" />
<Run Text="4. Press" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Ctrl+R" />
<Run Text="to trigger reload" />
<LineBreak />
<Run Text="6. Go to any channel or server" />
<LineBreak />
<Run Text="7. Find a request that starts with" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="&quot;messages&quot;" />
<LineBreak />
<Run Text="8. Click on" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Headers" />
<Run Text="5. Navigate to the" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Application" />
<Run Text="tab" />
<LineBreak />
<Run Text="9. Look for" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="&quot;authorization&quot;" />
<Run Text="among request headers and copy its value" />
<Run Text="6. Select" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="Local Storage" />
<Run Text="&gt;" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="https://discordapp.com" />
<Run Text="on the left" />
<LineBreak />
<Run Text="7. Find" />
<Run Foreground="{DynamicResource PrimaryTextBrush}" Text="token" />
<Run Text="under key and copy the value" />
</TextBlock>
</StackPanel>

Loading…
Cancel
Save