Skip to content

Commit 23a6a7c

Browse files
committed
Added commands to the bot commands
1 parent d5d6bc7 commit 23a6a7c

File tree

3 files changed

+21
-13
lines changed

3 files changed

+21
-13
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# 0.1.2
2+
- Added `/dump` `/time` `/ping` commands to the commands of the bot.
3+
# 0.1.1
4+
- Added rate limit
5+
- Added subscription on many applications via 1 command
6+
![Subscriptions](assets/many_subs.gif)
7+
8+
- New `/dump` command which dumps all data from DB about subscriptions and applications
9+
![Dump](assets/dump.gif)
10+
11+
# 0.1.0
12+
- Added QR-code scanner:
13+
14+
![QR-code scanner](assets/qr_scanner.gif)

README.md

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -56,19 +56,7 @@ alt="vtffijuUg5Y" width="240" height="180" border="10" /></a>
5656
- [ ] Middlewares
5757

5858
## Changelog
59-
### 0.1.1
60-
- Added rate limit
61-
- Added subscription on many applications via 1 command
62-
![Subscriptions](assets/many_subs.gif)
63-
64-
- New `/dump` command which dumps all data from DB about subscriptions and applications
65-
![Dump](assets/dump.gif)
66-
67-
### 0.1.0
68-
- Added QR-code scanner:
69-
70-
![QR-code scanner](assets/qr_scanner.gif)
71-
59+
[CHANGELOG.md](CHANGELOG.md)
7260
## Installation
7361
### Clone Repo
7462
```bash

bot/__main__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,12 @@ async def startup(dp: Dispatcher):
6363
types.BotCommand(
6464
command="/push", description="Підписатися на сповіщення через NTFY.sh"
6565
),
66+
types.BotCommand(
67+
command="/dump",
68+
description="Отримати весь дамп доступних даних на ваші підписки",
69+
),
70+
types.BotCommand(command="/ping", description="Перевірити чи працює бот"),
71+
types.BotCommand(command="/time", description="Поточний час сервера"),
6672
]
6773

6874
await bot.set_my_commands(commands)

0 commit comments

Comments
 (0)