package
0.0.0-20230520202119-1f70e13c3b26
Repository: https://github.com/spacexlaunchbot/site.git
Documentation: pkg.go.dev

# Functions

NewClient creates a new Client.

# Variables

ErrBadAuth describes an error that occurs when a request fails due to bad authorization.
ErrInvalidRequest defines an error when the Discord API returns an invalid request error.
ErrRateLimit describes an error that occurs when the discord.Client is getting rate limited.

# Structs

Client contains methods for interacting with the Discord API.
Guild represents information about a DiscordClient guild that a user is in.
TokenResponse is to marshal the Discord OAuth token response into.
UserInfo represents information the frontend needs about the logged in user.

# Type aliases

GuildList represents a list of Guilds.