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

[FEATURE] Warn users who upload images without alt text #769

Open
amandamartin-dev opened this issue Dec 12, 2022 · 4 comments
Open

[FEATURE] Warn users who upload images without alt text #769

amandamartin-dev opened this issue Dec 12, 2022 · 4 comments

Comments

@amandamartin-dev
Copy link

Description

This would expand outside of the current definition of what the bot is for (inclusive language) however, if we want to consider other ways to make the server inclusive outside of text we could consider adding a check if attachments uploaded have alt text and warn if they do not.

For discord, I beleive what you would need to look for is "description" under attachment https://discord.com/developers/docs/resources/channel#attachment-object

Here is also an example of a bot written in python that deletes images without alt text: https://github.com/quackersian/alt-text-detective

Code for detecting starts at line 361 in this file https://github.com/quackersian/alt-text-detective/blob/master/alt-text-detective.py

Screenshots

No response

Additional information

No response

@CBID2
Copy link

CBID2 commented Dec 28, 2022

Hey @amandamartin-dev. This sounds like a great feature! Do you want to work together in creating this line of code?

@amandamartin-dev
Copy link
Author

amandamartin-dev commented Dec 28, 2022

@CBID2 Hey, thanks! I am not a maintainer for this bot so let's ask @eddiejaoude first if this feature would make sense for the bot as it's a little beyond the scope of the simplicity of the text filtering and would definitely increase overall bot responses. If so, yes feel free to work on this adn I am happy to help as needed

@eddiejaoude
Copy link
Member

I think this sounds like a good feature, but we might rewrite the bot soon, so IMHO it might be best to hold off on this for the moment

@adityaraute
Copy link
Member

I think this sounds like a good feature, but we might rewrite the bot soon, so IMHO it might be best to hold off on this for the moment

Is the bot rewrite gonna happen anytime soon? I'd suggest archiving the repo if that is the case.

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

No branches or pull requests

4 participants