aboutsummaryrefslogtreecommitdiff
path: root/internal/pvfm/bot/doc.go
blob: d5c5af58f0f7c2ef16b8d50e6f7a5b1f0f3b351a (plain)
1
2
3
4
5
6
7
8
9
10
/*
Package bot contains some generically useful bot rigging for Discord chatbots.

This package works by defining command handlers in a CommandSet, and then dispatching
based on message contents. If the bot's command prefix is `;`, then `;foo` activates
the command handler for command `foo`.

A CommandSet has a mutex baked into it for convenience of command implementation.
*/
package bot