mirror of
https://github.com/yawaflua/Discord.Net.git
synced 2025-12-09 03:49:36 +02:00
update readme
This commit is contained in:
@@ -17,7 +17,7 @@ DiscordOAuth.Configure(0123456789, "ClientSecret", "OptionalBotToken");
|
||||
```csharp
|
||||
var scopes = new ScopesBuilder(OAuthScope.Identify);
|
||||
var oAuth = new DiscordOAuth("https://example.com/Login", scopes);
|
||||
var url = oAuth.GetAuthorizationUrl();
|
||||
var url = oAuth.GetAuthorizationUrl("state");
|
||||
/* Redirect user to url via preferred method */
|
||||
```
|
||||
```csharp
|
||||
|
||||
Reference in New Issue
Block a user