Fix parts[] for dbeug set
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user