Merge pull request #3 from ijustbsd/master

Fixed code example in docs
This commit is contained in:
Alex Root Junior 2018-01-13 19:42:18 +02:00 committed by GitHub
commit f4a8923c80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,5 +48,9 @@ Summary
bot = Bot(token='BOT TOKEN HERE')
dp = Dispatcher(bot)
@dp.message_handler(commands=['start', 'help'])
async def send_welcome(message: types.Message):
await message.reply("Hi!\nI'm EchoBot!\nPowered by aiogram.")
if __name__ == '__main__':
executor.start_polling(dp)