log post id before trying to send
This commit is contained in:
parent
e2d194f144
commit
bbb50fec8b
1
main.py
1
main.py
@ -44,6 +44,7 @@ def format_tags(tags: Iterable[str]):
|
|||||||
|
|
||||||
|
|
||||||
async def send_post(post: E621Post, tag_list: List[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)
|
await bot.send_chat_action(int(os.environ['SEND_CHAT']), action=ChatAction.TYPING)
|
||||||
monitored_tags = set(post.tags.flatten()) & set(tag_list)
|
monitored_tags = set(post.tags.flatten()) & set(tag_list)
|
||||||
artist_tags = post.tags.artist
|
artist_tags = post.tags.artist
|
||||||
|
Loading…
Reference in New Issue
Block a user