Typo 'pooling' -> 'polling'.

This commit is contained in:
Alex Root Junior 2017-11-21 00:53:53 +02:00
parent 233acab68e
commit ef3b59c63c
10 changed files with 74 additions and 65 deletions

View file

@ -29,12 +29,12 @@ And next: all bots is needed command for starting interaction with bot. Registe
async def send_welcome(message: types.Message):
await message.reply("Hi!\nI'm EchoBot!\nPowered by aiogram.")
And last step - run long pooling.
And last step - run long polling.
.. code-block:: python3
if __name__ == '__main__':
executor.start_pooling(dp, on_startup=startup)
executor.start_polling(dp, on_startup=startup)
Summary
-------
@ -49,5 +49,4 @@ Summary
dp = Dispatcher(bot)
if __name__ == '__main__':
executor.start_pooling(dp)
executor.start_polling(dp)