readme and comments
This commit is contained in:
@@ -38,7 +38,7 @@ auto-moderation from the bot without manual intervention. The example message ha
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
b, err := bolt.New(bolt.WithLogLevel(bolt.LogLevelAll))
|
b, err := bolt.New()
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
|
|||||||
3
bolt.go
3
bolt.go
@@ -157,9 +157,6 @@ func (b *bolt) stop() error {
|
|||||||
return b.Close()
|
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
|
// 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
|
// 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.
|
// is set as a default and can be altered using options for better performance.
|
||||||
|
|||||||
Reference in New Issue
Block a user