Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Feature ¶
type Feature struct {
Name string // ie. ".admin"
Description string // "For managing administrator"
Commands []SubCommand // Optionally empty
CommandPrefix string // Optionally empty
}
Feature to register.
type RegisterResponse ¶
type RegisterResponse struct {
Serving string // The ID of the Guild being served
Token string // The Discord bot access token
}
Response from the server while registering.
type SubCommand ¶
type SubCommand struct {
Name string // ie. "add"
Description string // ie. "This is for adding administrator roles"
Example []string // ie. [".admin", "add", "...role ID's"]
}
Commands that come with this feature.
Click to show internal directories.
Click to hide internal directories.