Skip to content

Commit

Permalink
Added formatting and session closing to example
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-nikolaev committed May 19, 2024
1 parent ae71ee1 commit 0519735
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion example_poll.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,13 @@ async def main():
"No",
"Probably...",
],
explanation="You like.",
explanation="<b>You</b> <i>like it</i>.",
correct_option_id=0,
type="quiz",
)

await bot.session.close()


if __name__ == "__main__":
asyncio.run(main())

0 comments on commit 0519735

Please sign in to comment.