readme and comments

This commit is contained in:
2026-02-25 15:43:51 -05:00
parent b9c26c6319
commit a14c7bbc9e
2 changed files with 1 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ auto-moderation from the bot without manual intervention. The example message ha
*/
func main() {
b, err := bolt.New(bolt.WithLogLevel(bolt.LogLevelAll))
b, err := bolt.New()
if err != nil {
panic(err)

View File

@@ -157,9 +157,6 @@ func (b *bolt) stop() error {
return b.Close()
}
// msgEventHandler is a beefy boy that handles message logging, command parsing, and executing payload functions. It needs cleanup then
// i'll worry about this comment
// msgEventHandler handles the routing of messages to either the command or message handlers. If LogLvl is set, logging is handled here before
// the event is mapped to the Message struct and forwarded to the handlers. Each message is handled in its own goroutine, the max allowed goroutines
// is set as a default and can be altered using options for better performance.