From c70789eadbade5c43fe7179c7d3c6233ca515ebc Mon Sep 17 00:00:00 2001 From: Suren Khorenyan Date: Tue, 23 Jan 2018 12:48:09 +0300 Subject: [PATCH] Typos fix in quick_start.rst --- docs/source/quick_start.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/quick_start.rst b/docs/source/quick_start.rst index c5ff7e9c..9f35c45a 100644 --- a/docs/source/quick_start.rst +++ b/docs/source/quick_start.rst @@ -4,15 +4,15 @@ Quick start Simple template --------------- -By first step you need import all modules +At first you have to import all necessary modules .. code-block:: python3 - from aiogram import Bot + from aiogram import Bot, types from aiogram.dispatcher import Dispatcher from aiogram.utils import executor -In next step you you can initialize bot and dispatcher instances. +Then you have to initialize bot and dispatcher instances. Bot token you can get from `@BotFather `_ @@ -21,7 +21,7 @@ Bot token you can get from `@BotFather `_ bot = Bot(token='BOT TOKEN HERE') dp = Dispatcher(bot) -And next: all bots is needed command for starting interaction with bot. Register first command handler: +Next step: interaction with bots starts with one command. Register your first command handler: .. code-block:: python3 @@ -29,7 +29,7 @@ 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 polling. +Last step: run long polling. .. code-block:: python3 @@ -41,7 +41,7 @@ Summary .. code-block:: python3 - from aiogram import Bot + from aiogram import Bot, types from aiogram.dispatcher import Dispatcher from aiogram.utils import executor