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

url: don't send duplicate messages where more than one url with the same title is in a message #2024

Open
RhinosF1 opened this issue Jan 26, 2021 · 0 comments
Labels

Comments

@RhinosF1
Copy link
Contributor

The problem

Url can be spammy

The solution

If a message includes more than one url with the same title, only send it once.

Alternatives

I also considered ..., but this is the best way because ...

Notes

https://github.com/sopel-irc/sopel/blob/master/sopel/modules/url.py#L219 should store message in an array then clear the array of duplicates and then send it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant