Skip to content

Add {{mention}} variable for user attribution in captions#39

Open
davtur19 wants to merge 1 commit into
govdbot:mainfrom
davtur19:patch-1
Open

Add {{mention}} variable for user attribution in captions#39
davtur19 wants to merge 1 commit into
govdbot:mainfrom
davtur19:patch-1

Conversation

@davtur19
Copy link
Copy Markdown

This PR adds the {{mention}} variable to caption templates.

It is specifically useful when DEFAULT_DELETE_LINKS is enabled, as it allows the bot to tag the original sender in the new message's header, keeping the conversation traceable after the source link is deleted.

Note:
I used a clanker to make the code for this PR. To me, it seems OK since it compiles and works. I don't know Go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant