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