Mtgbot Documentation
1from plugin import Command
2
3@Command(
4 'hello',
5 info='Hello World!',
6)
7async def _hello(event):
8 await event.reply('Hello World!')
Are you new here? Jump straight into Installation
Need Telethon documentation? https://docs.telethon.dev/
What are the advantages of the Telethon Bot over the HTTP Bot API? See HTTP Bot API vs MTProto
What is this
Mtgbot is a lightweighting Telegram Bot framework which is based on Telethon MTProto protocol library. Devoted to developing complex telegram bots in the simplest way.
Are you tired of the cumbersome Nonebot 2? Do you dislike the anti-human dependency injection mechanism? Then why not give the lightweight bot framework Mtgbot a try?