pugson / telegram-twitter-url-expand-bot

🐦️💬 Expand Twitter, Instagram, Bluesky, Hacker News, Dribbble, Posts.cv, and TikTok links in Telegram chats & channels (with inline video)
https://t.me/TwitterLinkExpanderBot?start=start
GNU General Public License v3.0
75 stars 10 forks source link

Expanding messages that begin with a mention tag replaces original mention with an author tag #38

Closed matthewmorek closed 1 year ago

matthewmorek commented 1 year ago

When expanding a message that beings with a mention tag, i.e. @user, the bot drops the original mention tag and replaces is with the author's tag.

Steps to reproduce

Expected result

The replacement message could look like this:

"@user check this out"
by @author

[expanded link]

Current result

@author check this out:

[expanded link]
matthewmorek commented 1 year ago

Update: expanding message removes any @ mentions from the message, even if you put the mention in the middle or at the end of a message.