From 26c523a3e9debdf65d5d9e7d32e47b9b78f50415 Mon Sep 17 00:00:00 2001
From: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com>
Date: Fri, 24 Jun 2022 12:25:50 +0300
Subject: [PATCH] Update usage instructions to direct towards the Network tab
method
Closes #835
Closes #842
---
.../Commands/GuideCommand.cs | 12 +++---
.../Views/Components/DashboardView.xaml | 41 +++++++++----------
2 files changed, 25 insertions(+), 28 deletions(-)
diff --git a/DiscordChatExporter.Cli/Commands/GuideCommand.cs b/DiscordChatExporter.Cli/Commands/GuideCommand.cs
index 7cdf674..b9bfc65 100644
--- a/DiscordChatExporter.Cli/Commands/GuideCommand.cs
+++ b/DiscordChatExporter.Cli/Commands/GuideCommand.cs
@@ -18,12 +18,12 @@ public class GuideCommand : ICommand
console.Output.WriteLine(" * Automating user accounts is technically against TOS — USE AT YOUR OWN RISK!");
console.Output.WriteLine(" 1. Open Discord in your web browser and login");
console.Output.WriteLine(" 2. Press Ctrl+Shift+I to show developer tools");
- console.Output.WriteLine(" 3. Press Ctrl+Shift+M to toggle device toolbar");
- console.Output.WriteLine(" 4. Navigate to the Application tab");
- console.Output.WriteLine(" 5. On the left, expand Local Storage and select https://discord.com");
- console.Output.WriteLine(" 6. Type \"token\" into the Filter box");
- console.Output.WriteLine(" 7. If the token key does not appear, press Ctrl+R to reload");
- console.Output.WriteLine(" 8. Copy the value of the token key");
+ console.Output.WriteLine(" 3. Navigate to the Network tab");
+ console.Output.WriteLine(" 4. Press Ctrl+R to reload");
+ console.Output.WriteLine(" 5. Search for a request containing \"messages?limit=50\" or similar");
+ console.Output.WriteLine(" 6. Select the Headers tab on the right");
+ console.Output.WriteLine(" 7. Scroll down to the Request Headers section");
+ console.Output.WriteLine(" 8. Copy the value of the \"authorization\" header");
console.Output.WriteLine();
// Bot token
diff --git a/DiscordChatExporter.Gui/Views/Components/DashboardView.xaml b/DiscordChatExporter.Gui/Views/Components/DashboardView.xaml
index bb9817e..6b380f7 100644
--- a/DiscordChatExporter.Gui/Views/Components/DashboardView.xaml
+++ b/DiscordChatExporter.Gui/Views/Components/DashboardView.xaml
@@ -148,7 +148,7 @@
Foreground="{DynamicResource PrimaryHueMidBrush}"
Kind="Account" />
-
+
@@ -163,32 +163,29 @@
-
-
-
-
-
-
+
+
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -199,7 +196,7 @@
Foreground="{DynamicResource PrimaryHueMidBrush}"
Kind="Robot" />
-
+