Browse Source

Fix parts[] for dbeug set

master
Gregory Rudolph 3 years ago
parent
commit
3d174fd4f0
Signed by: rudi
GPG Key ID: EF64F3CBD1A1EBDD
  1. 2
      commands.go

2
commands.go

@ -102,7 +102,7 @@ func Commands(b BotCommand) bool { @@ -102,7 +102,7 @@ func Commands(b BotCommand) bool {
func Debug(b BotCommand) bool {
defer log.PanicSafe()
level, err := strconv.Atoi(b.Parts[0])
level, err := strconv.Atoi(b.Parts[2])
if err != nil {
return false
}

Loading…
Cancel
Save