diff --git a/web/service/tgbot.go b/web/service/tgbot.go index e5524781..9608e79a 100644 --- a/web/service/tgbot.go +++ b/web/service/tgbot.go @@ -117,14 +117,14 @@ func (t *Tgbot) answerCommand(message *tgbotapi.Message, chatId int64, isAdmin b case "help": msg = "This bot is providing you some specefic data from the server.\n\n Please choose:" case "start": - msg = "Hello " + message.From.FirstName + " 👋" + msg = "سلام " + message.From.FirstName + " 👋" if isAdmin { hostname, _ := os.Hostname() msg += "\nWelcome to " + hostname + " management bot" } - msg += "\n\nI can do some magics for you, please choose:" + msg += "\n\nچه کمکی میتونم بکنم:" case "status": - msg = "bot is ok ✅" + msg = "ربات در حال کار می باشد✅" case "usage": if len(message.CommandArguments()) > 1 { if isAdmin { @@ -198,8 +198,8 @@ func (t *Tgbot) SendAnswer(chatId int64, msg string, isAdmin bool) { ) var numericKeyboardClient = tgbotapi.NewInlineKeyboardMarkup( tgbotapi.NewInlineKeyboardRow( - tgbotapi.NewInlineKeyboardButtonData("Get Usage", "client_traffic"), - tgbotapi.NewInlineKeyboardButtonData("Commands", "client_commands"), + tgbotapi.NewInlineKeyboardButtonData("میزان استفاده", "client_traffic"), + tgbotapi.NewInlineKeyboardButtonData("کامند ها", "client_commands"), ), ) msgConfig := tgbotapi.NewMessage(chatId, msg)