Skip to content

[Feature] Message editing/deletion #1

@Nidoskull

Description

@Nidoskull

This is a parity thing.
PluralKit allows you to edit proxied messages by running a command. Revolt allows you to edit your own messages. RevoltKit should, therefore, probably allow for the same.

Default behavior for this should be

Proxied message: This is a message!
rk;edit Message Editing
Proxied message: Message Editing

This should take the following flags, if at all possible:

  • -append will instead add to the end of the message, with a space between the new and the old text. Proxied message: This is a message! Message Editing
  • -prepend will instead add to the start of the message, with a space between the new and the old text. Proxied message: Message Editing This is a message!
  • -nospace does nothing on its own, but if included with -prepend or -append will prevent adding the space between new and old message content.
  • -clear-embeds removes embeds from a message (finds links and puts <> around them)
  • -clear-attachments removes attachments from a message
  • -regex allows using Regex editing (this is a power user thing I'd very much get not implementing this one tbh)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions