package
0.3.2
Repository: https://github.com/tmpest/discord-bot.git
Documentation: pkg.go.dev

# Functions

NewBot creates a new DiscordBot.
NewServer constructs a Server configured Heroku.

# Structs

AuthResponseBody this is the body of the response we get back from Discord.
Bot is the encapsulation of the bot and commands it supports.
DiscordErrorResponse error response structure.
RollAllCommand encapsulates the logic to roll for multiple users in the same voice channel.
RollCommand encapsulates the logic to perform a random roll.
Server to provide features to a Bot.
SteamAccountCommand encapsulates the logic to retrieve information for a users steam account.
TokenInformation is the cached information.
TokenRequestBody is the OAuth2 request body recieved from Discord via the redirect URI.

# Interfaces

Command is the interface used to encapsulate the logic for a command supported by the bot.