Documentation
¶
Overview ¶
Package bot provides a basic embeddable Bot struct for more easily handling commands
Index ¶
- type Bot
- func (bot *Bot) Add(f func(*Bot) (string, []*bcr.Command))
- func (bot *Bot) CommandList(ctx *bcr.Context) (err error)
- func (bot *Bot) Owner(owners ...discord.UserID)
- func (bot *Bot) Prefix(prefixes ...string)
- func (bot *Bot) Start() error
- func (bot *Bot) UpdateStatus(name string, s gateway.Status) (err error)
- type Module
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bot ¶
Bot is the main bot struct
func NewWithRouter ¶
NewWithRouter creates a new bot with the given router
func (*Bot) CommandList ¶
CommandList is a command that shows a list of all commands in the bot instance
Click to show internal directories.
Click to hide internal directories.