mirror of
https://github.com/Xtao-Labs/iShotaBot.git
synced 2024-11-24 09:15:51 +00:00
fix: bsky parse author link
This commit is contained in:
parent
fe78cf4006
commit
b842cedae1
@ -31,9 +31,7 @@ async def process_url(url: str, reply: Reply):
|
|||||||
await Timeline.send_to_user(reply, post)
|
await Timeline.send_to_user(reply, post)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
print(e)
|
||||||
elif url.path == "/":
|
elif url.path == f"/profile/{author_handle}":
|
||||||
return
|
|
||||||
else:
|
|
||||||
# 解析用户
|
# 解析用户
|
||||||
try:
|
try:
|
||||||
user = await Timeline.fetch_user(author_handle)
|
user = await Timeline.fetch_user(author_handle)
|
||||||
|
Loading…
Reference in New Issue
Block a user