Update tgbot.go

This commit is contained in:
ISSEI 2023-03-28 09:55:49 +03:30 committed by GitHub
parent f49ea3ae1f
commit 476f613815
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -388,7 +388,7 @@ func (t *Tgbot) getClientUsage(chatId int64, tgUserName string) {
total = common.FormatTraffic((traffic.Total))
}
Enable := ""
if traffic.Enable == "true"{
if traffic.Enable == true{
Enable = "بله"
} else {
Enable = "خیر"