Authentication flow implemented in Gateway

This commit is contained in:
2024-07-23 14:34:33 +02:00
parent 6ec2e1d6cc
commit 615a6b98fa
18 changed files with 152 additions and 17 deletions
+4 -2
View File
@@ -8,6 +8,8 @@ Log.Logger=new LoggerConfiguration()
string api_key = File.ReadAllText("api_key.txt");
DiscordClient client = new DiscordClient(api_key);
DiscordClient client = new DiscordClient(api_key, Intents.Guilds);
Console.ReadLine();
Console.ReadLine();
await client.Close();
+1
View File
@@ -14,6 +14,7 @@
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<PublishAot>true</PublishAot>
</PropertyGroup>
</Project>