-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Fix #346 #347
Conversation
Exzender
commented
Aug 22, 2023
- 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.
- 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.
Added one more fix: command with slash does not detected as 'command' on Telegram side - so was not processed. |
One more fix: when sendUsernames set to off message header (from Telegram) becomes empty - bot failed when tried to set empty title for Embed. |
There was a problem hiding this 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
can you rebase on dev? i've added the channel chat info as hotfix, so we'd have dup code with your pr now. |
nvm, did it myself :) |
… T→D Fixed: some issues in link formatting T→D
update: when only 1 link per post - not use Embed in 'auto' mode - to get web preview
…ed as config option discord.disableWebPreviewOnTelegram
There was a problem hiding this 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.