misc: consistency of comments and dispatcher instance creation

This commit is contained in:
sdmway 2024-05-07 20:45:24 -06:00
parent 1cb0f38d2e
commit fd95745fef
9 changed files with 31 additions and 16 deletions

View file

@ -79,7 +79,7 @@ async def my_chat_member_change(chat_member: ChatMemberUpdated, bot: Bot) -> Non
async def main() -> None:
# Initialize Bot instance with a default parse mode which will be passed to all API calls
# Initialize Bot instance with default bot properties which will be passed to all API calls
bot = Bot(token=TOKEN, default=DefaultBotProperties(parse_mode=ParseMode.HTML))
dp = Dispatcher()