diff --git a/userge/plugins/utils/songlink.py b/userge/plugins/utils/songlink.py index ffbc06b77..7061237cc 100644 --- a/userge/plugins/utils/songlink.py +++ b/userge/plugins/utils/songlink.py @@ -73,7 +73,7 @@ async def find_url_from_msg(message: Message, show_err: bool = True) -> Optional return y = url_e[0] link = txt[y.offset : (y.offset + y.length)] if y.type == "url" else y.url - return link, msg.link + return link, msg def beautify(text: str) -> str: