adding log level option (#1)
Reviewed-on: #1 Co-authored-by: jake <jake.young.dev@gmail.com> Co-committed-by: jake <jake.young.dev@gmail.com>
This commit is contained in:
@@ -38,7 +38,7 @@ import (
|
||||
func main() {
|
||||
//bolt defaults the command indicator to '.' however that can be changed with the options
|
||||
//Example: bolt.New(bolt.WithIndicator('!')) would support commands like !ping
|
||||
b := bolt.New()
|
||||
b := bolt.New(bolt.WithLogLevel(bolt.LogLevelCmd))
|
||||
|
||||
b.AddCommands(
|
||||
// .ping can be run at any time by anyone and will respond with 'pong'
|
||||
|
Reference in New Issue
Block a user