mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 18:01:04 +00:00
Partial update examples.
This commit is contained in:
parent
b37763c23f
commit
06df482061
8 changed files with 24 additions and 91 deletions
|
|
@ -21,9 +21,8 @@ Step 5: When you change the code of your bot you need to update po & mo files.
|
|||
|
||||
from pathlib import Path
|
||||
|
||||
from aiogram import Bot, Dispatcher, types
|
||||
from aiogram import Bot, Dispatcher, executor, types
|
||||
from aiogram.contrib.middlewares.i18n import I18nMiddleware
|
||||
from aiogram.utils import executor
|
||||
|
||||
TOKEN = 'BOT TOKEN HERE'
|
||||
I18N_DOMAIN = 'mybot'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue