package
1.66.1
Repository: https://github.com/chenarmy/goth.git
Documentation: pkg.go.dev

# Functions

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

# Constants

for oauth2 bots, this puts the bot in the user's selected guild by default.
allows /users/@me/connections to return linked Twitch and YouTube accounts.
enables /users/@me to return an email.
allows your app to join users to a group dm.
allows /users/@me/guilds to return basic information about all of a user's guilds.
allows /users/@me without email.
allows /invites/{invite.id} to be used for joining a user's guild.
this 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.