Queer European MD passionate about IT
Эх сурвалжийг харах

davtelepot modules are now multilanguage

Davte 5 жил өмнө
parent
commit
a2b8c8b03a
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      ciclopibot/bot.py

+ 2 - 2
ciclopibot/bot.py

@@ -121,7 +121,7 @@ if __name__ == '__main__':
             ),
             ['telegram_id']
         )
-    administration_tools.init(bot, language='it')
+    administration_tools.init(bot)
     ciclopi.init(bot)
     helper.init(
         bot=bot,
@@ -132,7 +132,7 @@ if __name__ == '__main__':
                      "Autore e amministratore del bot: @davte",
         help_sections_file='ciclopibot/data/help.json'
     )
-    authorization.init(bot, language='it')
+    authorization.init(bot)
     languages.init(
         bot, language='it', language_messages=language_messages,
         supported_languages=supported_languages