hanayo/vendor/zxq.co/ripple/go-discord-oauth/discord.go
2019-02-23 13:29:15 +00:00

11 lines
321 B
Go

// Package discordoauth provides constant for using OAuth2 to access Discord.
package discordoauth
import "golang.org/x/oauth2"
// Endpoint is Discord's OAuth 2.0 endpoint.
var Endpoint = oauth2.Endpoint{
AuthURL: "https://discordapp.com/api/oauth2/authorize",
TokenURL: "https://discordapp.com/api/oauth2/token",
}