Skip to content

Commit

Permalink
Merge pull request #16 from TimNekk/develop
Browse files Browse the repository at this point in the history
Bumped to aiogram v2.23.1
  • Loading branch information
TimNekk authored Dec 18, 2022
2 parents 2b2590f + 36209ab commit 0a32580
Show file tree
Hide file tree
Showing 4 changed files with 274 additions and 240 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
pip install mypy flake8
- name: Analysing the code with mypy
run: |
mypy . --install-types --non-interactive
mypy tgbot --install-types --non-interactive
- name: Analysing the code with flake8
run: |
flake8
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
aiogram~=2.18
aiogram==2.23.1
aioredis~=2.0
environs~=9.0
git+https://github.com/TimNekk/aiogram_broadcaster.git
gino
loguru
alembic
psycopg2
validators
gino==1.0.1
loguru==0.6.0
alembic==1.8.1
psycopg2==2.9.3
validators==0.20.0
4 changes: 2 additions & 2 deletions tgbot/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ def load_config(path: str | None = None) -> Config:
use_redis=env.bool("USE_REDIS"),
subscription_channels_ids=list(map(int, env.list("SUBSCRIPTION_CHANNELS_IDS"))),
commands=Commands(
send_all=CommandInfo("send_all", "Рассылка", is_admin=True),
ping=CommandInfo("ping", "Пинг", is_admin=True),
send_all=CommandInfo("send_all", "Запустить рассылку", is_admin=True),
ping=CommandInfo("ping", "Узнать пинг", is_admin=True),
)
),
db=DbConfig(
Expand Down
Loading

0 comments on commit 0a32580

Please sign in to comment.