mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-08-23 19:36:54 +00:00
Update tgbot.go
This commit is contained in:
parent
476f613815
commit
b311bb6b38
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ func (t *Tgbot) getClientUsage(chatId int64, tgUserName string) {
|
|||
} else {
|
||||
Enable = "خیر"
|
||||
}
|
||||
output := fmt.Sprintf("💡 فعال: %t\r\n\n📧 نام: %s\r\n\n🔼 میزان آپلود↑: %s\r\n🔽 میزان دانلود↓: %s\r\n🔄 کل: %s / %s\r\n\n📅 تاریخ انقضاء: %s\r\n",
|
||||
output := fmt.Sprintf("💡 فعال: %s\r\n\n📧 نام: %s\r\n\n🔼 میزان آپلود↑: %s\r\n🔽 میزان دانلود↓: %s\r\n🔄 کل: %s / %s\r\n\n📅 تاریخ انقضاء: %s\r\n",
|
||||
Enable, traffic.Email, common.FormatTraffic(traffic.Up), common.FormatTraffic(traffic.Down), common.FormatTraffic((traffic.Up + traffic.Down)),
|
||||
total, expiryTime)
|
||||
t.SendMsgToTgbot(chatId, output)
|
||||
|
|
Loading…
Reference in a new issue