Skip to content

Commit

Permalink
Enable webpage preview for shortened link
Browse files Browse the repository at this point in the history
  • Loading branch information
athphane authored Apr 9, 2024
1 parent dcd5148 commit efbee96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion userbot/plugins/www.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ async def shorten(bot: UserBot, message: Message):
txt = "The URL or KEYWORD already exists!"
else:
txt = shortened
await message.edit(txt, disable_web_page_preview=True)
await message.edit(txt, disable_web_page_preview=False)
return
else:
txt = "Please provide a URL to shorten"
Expand Down

0 comments on commit efbee96

Please sign in to comment.