fixed parsing error
Marco Andronaco andronacomarco@gmail.com
Sat, 15 Jul 2023 23:42:16 +0200
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
main.py
→
main.py
@@ -5,7 +5,7 @@ from os import getenv
import logging async def forward(update: Update, _): - if not update.effective_chat.id == CHANNEL_ID: + if not update.effective_chat.id == int(CHANNEL_ID): return logger.info("Ignoring message since it did not come from the correct chat_id.") if update.channel_post is None: