Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-20 18:38:01 +0300
committerHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-20 18:38:01 +0300
commit4dfe527f203cbae9b90e77e876fcfd90803bcb26 (patch)
treeb2d75cdd5e949cee4bde82a8ca508d623990b4e4 /web/web.go
parent980ebd99ca2b7d9d319ba982dc0c1271328832cb (diff)
init i18n in tgbot
Diffstat (limited to 'web/web.go')
-rw-r--r--web/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/web.go b/web/web.go
index d917dc7a..908fefc5 100644
--- a/web/web.go
+++ b/web/web.go
@@ -367,7 +367,7 @@ func (s *Server) Start() (err error) {
isTgbotenabled, err := s.settingService.GetTgbotenabled()
if (err == nil) && (isTgbotenabled) {
tgBot := s.tgbotService.NewTgbot()
- tgBot.Start()
+ tgBot.Start(i18nFS)
}
return nil