From bbb50fec8b92c9ec59c2c4941a930794b83faf53 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Fri, 3 Nov 2023 15:34:00 +0300 Subject: [PATCH] log post id before trying to send --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index b8e57d1..648cb57 100644 --- a/main.py +++ b/main.py @@ -44,6 +44,7 @@ def format_tags(tags: Iterable[str]): async def send_post(post: E621Post, tag_list: List[str]): + logging.warning(f'Sending post #{post.id}') await bot.send_chat_action(int(os.environ['SEND_CHAT']), action=ChatAction.TYPING) monitored_tags = set(post.tags.flatten()) & set(tag_list) artist_tags = post.tags.artist