Authentication flow implemented in Gateway
This commit is contained in:
1 parent
6ec2e1d6cc
commit
615a6b98fa
18 files changed
+152
-17
No files matched your search
@@ -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();
|
||||
@@ -14,6 +14,7 @@
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<PublishAot>true</PublishAot>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
Reference in new issue
Block a user