EddieHubCommunity / EddieBot

Inclusive words Discord bot (no more "hey guys")
http://discord.eddiehub.org
MIT License
173 stars 138 forks source link

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

Open amandamartin-dev opened 1 year ago

amandamartin-dev commented 1 year ago

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 commented 1 year ago

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

amandamartin-dev commented 1 year ago

@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 commented 1 year ago

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 commented 5 months ago

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 commented 3 days ago

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