Skip to content

Suppress Embeds #2020

@bman46

Description

@bman46

Before 3.0.0 there used to be a method similar to context.message.suppressEmbeds() that would remove embeds on messages from other users; However, it appears that it has been removed. I have also tried to do await context.Message.ModifyAsync(item => { item.Flags = MessageFlags.SuppressEmbeds; }); but that results in the error System.ArgumentException: Argument cannot be blank. (Parameter 'Content').

According to the Discord API docs, other users are allowed to edit flags as long as they have the Manage messages permission and the SuppressEmbeds flag can be set/unset after sending the message.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions