From b9ec31da95a7c8979aeb6a0e56962dbe464f8364 Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 25 Feb 2026 15:44:44 -0500 Subject: [PATCH] readme and comments --- README.md | 2 +- bolt.go | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index ca92907..4b45f37 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/bolt.go b/bolt.go index 2629677..a58baa0 100644 --- a/bolt.go +++ b/bolt.go @@ -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.