Merge branch 'dev-3.x' into mongo_storage

Conflicts resolved
This commit is contained in:
Rishat Fayzullin 2024-04-30 23:30:53 +03:00
commit 04ae6dcd7a
164 changed files with 3923 additions and 736 deletions

View file

@ -6,8 +6,8 @@ Usage
=====
1. Filter single variant of commands: :code:`Command("start")`
2. Handle command by regexp pattern: :code:`Command(re.compile(r"item_(\d+)"))`
3. Match command by multiple variants: :code:`Command("item", re.compile(r"item_(\d+)"))`
2. Handle command by regexp pattern: :code:`Command(re.compile(r"item_(\\d+)"))`
3. Match command by multiple variants: :code:`Command("item", re.compile(r"item_(\\d+)"))`
4. Handle commands in public chats intended for other bots: :code:`Command("command", ignore_mention=True)`
5. Use :class:`aiogram.types.bot_command.BotCommand` object as command reference :code:`Command(BotCommand(command="command", description="My awesome command")`