1
0
mirror of https://github.com/eternnoir/pyTelegramBotAPI.git synced 2023-08-10 21:12:57 +03:00

token removed.

This commit is contained in:
abdullaev388 2022-02-20 00:12:14 +05:00
parent 74e9780b30
commit 5d7ae385ec

View File

@ -87,7 +87,7 @@ class I18NMiddleware(I18N):
storage = StateMemoryStorage()
bot = AsyncTeleBot("1254795383:AAE7gbj1aas4lEDHB1eVuZZhSGPWcH1B5ds", state_storage=storage)
bot = AsyncTeleBot("", state_storage=storage)
i18n = I18NMiddleware(translations_path='locales', domain_name='messages')
_ = i18n.gettext # for singular translations