Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

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

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

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

amandamartin-dev opened this issue Dec 12, 2022 · 5 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.

@eddiejaoude
Copy link
Member

We use the same repo for the rewrite, so we can keep all the history in one place

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

No branches or pull requests

4 participants