mirror of
https://github.com/eternnoir/pyTelegramBotAPI.git
synced 2023-08-10 21:12:57 +03:00
token removed.
This commit is contained in:
parent
74e9780b30
commit
5d7ae385ec
@ -87,7 +87,7 @@ class I18NMiddleware(I18N):
|
|||||||
|
|
||||||
|
|
||||||
storage = StateMemoryStorage()
|
storage = StateMemoryStorage()
|
||||||
bot = AsyncTeleBot("1254795383:AAE7gbj1aas4lEDHB1eVuZZhSGPWcH1B5ds", state_storage=storage)
|
bot = AsyncTeleBot("", state_storage=storage)
|
||||||
|
|
||||||
i18n = I18NMiddleware(translations_path='locales', domain_name='messages')
|
i18n = I18NMiddleware(translations_path='locales', domain_name='messages')
|
||||||
_ = i18n.gettext # for singular translations
|
_ = i18n.gettext # for singular translations
|
||||||
|
Loading…
Reference in New Issue
Block a user