package
1.80.0
Repository: https://github.com/markbates/goth.git
Documentation: pkg.go.dev

# Functions

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

# Constants

ScopeBot is for oauth2 bots, this puts the bot in the user's selected guild by default.
ScopeConnections allows /users/@me/connections to return linked Twitch and YouTube accounts.
ScopeEmail enables /users/@me to return an email.
ScopeGroupDMjoin allows your app to join users to a group dm.
ScopeGuilds allows /users/@me/guilds to return basic information about all of a user's guilds.
ScopeIdentify allows /users/@me without email.
ScopeJoinGuild allows /invites/{invite.id} to be used for joining a user's guild.
ScopeReadGuilds allows /users/@me/guilds/{guild.id}/member to return a user's member information in a guild.
ScopeWebhook generates a webhook that is returned in the oauth token response for authorization code grants.

# Structs

Provider is the implementation of `goth.Provider` for accessing Discord.
Session stores data during the auth process with Discord.