mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Typo 'pooling' -> 'polling'.
This commit is contained in:
parent
233acab68e
commit
ef3b59c63c
10 changed files with 74 additions and 65 deletions
|
|
@ -3,7 +3,7 @@ import logging
|
|||
|
||||
from aiogram import Bot, types
|
||||
from aiogram.dispatcher import Dispatcher
|
||||
from aiogram.utils.executor import start_pooling
|
||||
from aiogram.utils.executor import start_polling
|
||||
|
||||
API_TOKEN = 'BOT TOKEN HERE'
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ async def echo(message: types.Message):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
start_pooling(dp, loop=loop, skip_updates=True)
|
||||
start_polling(dp, loop=loop, skip_updates=True)
|
||||
|
||||
# Also you can use another execution method
|
||||
# >>> try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue