Fix parts[] for dbeug set

This commit is contained in:
2021-05-06 08:36:42 -04:00
parent 160625396c
commit 3d174fd4f0

View File

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