Skip to content

Commit

Permalink
refactor: add bot reply
Browse files Browse the repository at this point in the history
  • Loading branch information
tangyoha committed Oct 31, 2023
1 parent 9807a62 commit 2b8ef96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions module/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -697,10 +697,10 @@ async def get_forward_task_node(
try:
src_chat = await _bot.client.get_chat(src_chat_id)
dst_chat = await _bot.client.get_chat(dst_chat_id)
except Exception:
except Exception as e:
await client.send_message(
message.from_user.id,
_t("Invalid chat link"),
f"{_t('Invalid chat link')} {e}",
reply_to_message_id=message.id,
)
return None
Expand Down

0 comments on commit 2b8ef96

Please sign in to comment.