Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #346 #347

Merged
merged 12 commits into from Sep 11, 2023
Merged

Fix #346 #347

merged 12 commits into from Sep 11, 2023

Conversation

Exzender
Copy link
Contributor

  1. Enable preview for the first link only in the regular message (when useEmbeds set to 'never'). So if the user wants to see link previews - he should disable embeds in bot config file.
  2. Markdown link format works pretty good in regular messages, except the one, when link caption = link url (when text link auto formatted as link by Telegram). So in this solution is to replace full URL in link caption with word 'link' - in that case discord displays link correctly.

@Lulalaby Lulalaby self-assigned this Aug 22, 2023
@Lulalaby Lulalaby added the bug label Aug 22, 2023
@Lulalaby Lulalaby added this to the v1.0.0 milestone Aug 22, 2023
@Lulalaby Lulalaby linked an issue Aug 22, 2023 that may be closed by this pull request
@Exzender
Copy link
Contributor Author

Exzender commented Aug 25, 2023

Added one more fix: command with slash does not detected as 'command' on Telegram side - so was not processed.

@Exzender
Copy link
Contributor Author

One more fix: when sendUsernames set to off message header (from Telegram) becomes empty - bot failed when tried to set empty title for Embed.

@Lulalaby Lulalaby self-requested a review September 5, 2023 14:19
Copy link
Collaborator

@Lulalaby Lulalaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than that nice idea

README.md Outdated Show resolved Hide resolved
@Lulalaby
Copy link
Collaborator

can you rebase on dev? i've added the channel chat info as hotfix, so we'd have dup code with your pr now.
Sorry for that

@Lulalaby
Copy link
Collaborator

nvm, did it myself :)

@Lulalaby Lulalaby self-requested a review September 11, 2023 14:43
Copy link
Collaborator

@Lulalaby Lulalaby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Discords link suppression <> gets converted into a weird >; result.

src/bridgestuff/BridgeSettingsDiscord.ts Show resolved Hide resolved
@Lulalaby Lulalaby merged commit 3d7a6cc into TediCross:dev Sep 11, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Discord Embeds don't thumbnail content linked in them
2 participants