Skip to content

Support all of the parameters to edit a message #223

@joelzwarrington

Description

@joelzwarrington

Discord API supports the following parameters when editing a message: content, embeds, flags, allowed_mentions, components, fields, but these are not all supported by discordrb.
image1

def edit(new_content, new_embeds = nil, new_components = nil)

Also, content is an optional argument, but is made required in the method.

Footnotes

  1. https://discord.com/developers/docs/resources/channel#edit-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