Skip to content

Commit 780e92e

Browse files
author
0xMett
committed
fix: enable job-queue extra for welcome message auto-deletion
python-telegram-bot requires the [job-queue] extra to install APScheduler. Without it, context.job_queue is None and welcome message deletion jobs were silently never scheduled.
1 parent 4654f0d commit 780e92e

2 files changed

Lines changed: 32 additions & 3 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ readme = "README.md"
66
requires-python = ">=3.14"
77
license = { text = "MIT" }
88
dependencies = [
9-
"python-telegram-bot>=22.0",
9+
"python-telegram-bot[job-queue]>=22.0",
1010
"python-dotenv>=1.0",
1111
"psycopg[binary,pool]>=3.2",
1212
]

uv.lock

Lines changed: 31 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)