Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
type Bot struct { Name *string // contains filtered or unexported fields }
Bot is a set of Responders connected to Discord.
type Spec ¶
Spec is the data needed to build and connect a bot.
func (*Spec) SetAuthToken ¶
SetAuthToken sets the auth token used to connect a bot to Discord. You must set this before creating a bot with bot.New. You can get this from the Discord Developer Portal (https://discord.com/developers/applications) under [your app] -> Bot -> Token.
Click to show internal directories.
Click to hide internal directories.