This commit is contained in:
Untone 2024-09-26 19:43:39 +03:00
parent 22a529e866
commit 093a34fa69

View File

@ -28,6 +28,7 @@ async def handle_private(msg, state):
return
elif text == '/removed':
removed_messages = await get_all_removed(uid)
if removed_messages:
await telegram_api("sendMessage", chat_id=uid, text="\n\n".join(removed_messages))
return
await telegram_api("forwardMessage", from_chat_id=sender.get("id"), message_id=msg.get("id"), chat_id=FEEDBACK_CHAT_ID)