Skip to content
This repository has been archived by the owner on May 15, 2021. It is now read-only.

Commit

Permalink
Update songlink.py
Browse files Browse the repository at this point in the history
  • Loading branch information
code-rgb authored Mar 29, 2021
1 parent 11504aa commit fb27e14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userge/plugins/utils/songlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fb27e14

Please sign in to comment.