Skip to content

[Feature]: Suppress Embeds Method #85

@Emptiest

Description

@Emptiest

Type of Feature Request

Code

Describe the feature you would like to see implemented.

Currently it doesn't seem like there is a way to suppress embeds in other user messages using fluxer.py. A bot can edit its own messages to remove embeds, but the message.edit method is not appropriate for suppressing embeds for other user messages.

I would like for some feature to be added to effectively emulate pressing this button on a user message.

Image

I have no preference on how you want to implement it.

This is similar to #77 but different in that I want the bot to be able to do this on messages sent by other users, rather than to messages it sends itself.

Why do you think this feature would be beneficial?

I'm using fluxer.py to make a bot that responds to twitter links with fxtwitter links. The idea is to replace the dead or broken x.com embeds with something that looks nicer and is generally more reliable. To this end, the embeds from x.com are just a waste of screen space, so suppressing those embeds would make things look nicer.

Of course, this would be useful for anyone doing any sort of link replacement.

And the intent for this use case is for use in a general chatroom where user embeds are generally allowed. Restricting embed perms on a channel-basis does not fit the use case I have in mind.

No Duplicates

  • I believe this is not a duplicate request.

Attachments

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions