Skip to content

Commit

Permalink
Merge pull request #464 from Harry-LowIQ/master
Browse files Browse the repository at this point in the history
Add guilds.members.read Scope for Discord
  • Loading branch information
techknowlogick committed Aug 11, 2022
2 parents d45583c + 907b32e commit b4c79e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/discord/discord.go
Expand Up @@ -38,6 +38,8 @@ const (
ScopeBot string = "bot"
// this generates a webhook that is returned in the oauth token response for authorization code grants
ScopeWebhook string = "webhook.incoming"
// allows /users/@me/guilds/{guild.id}/member to return a user's member information in a guild
ScopeReadGuilds string = "guilds.members.read"
)

// New creates a new Discord provider, and sets up important connection details.
Expand Down

0 comments on commit b4c79e7

Please sign in to comment.