Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.
This repository was 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

Description

@amandamartin-dev

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions