Skip to content

Only move bot embeds #229

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Only move bot embeds #229

wants to merge 1 commit into from

Conversation

00-kat
Copy link
Collaborator

@00-kat 00-kat commented May 5, 2025

A better way to do this would be (e for e in m.embeds if e.url not in m.content), but that breaks in the presence of redirects, which is very common with YouTube links.

@00-kat 00-kat force-pushed the fix-embeds branch 4 times, most recently from 513b16d to 157880d Compare May 9, 2025 01:01
A better way to do this would be
`(e for e in m.embeds if e.url not in m.content)`, but that breaks in the
presence of redirects, which is very common with YouTube links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants