update readme

This commit is contained in:
x3rt
2023-04-28 17:39:04 -06:00
parent 2da40a968a
commit c8633a0837

View File

@@ -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