> For the complete documentation index, see [llms.txt](https://docs.combot.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.combot.xyz/guides/editing-and-deleting-messages.md).

# Editing and deleting messages

CrossMessages can be edited and deleted in many ways, some are less obvious at first. Here we will teach you how to!

## Editing/Deleting a message normally

If you delete/edit a message just like any other message, that change will span across all the other duplicates automatically.

![Editing a message](/files/y4zC9MOvv5prXHcAt7Bn) ![Deleting a message](/files/eBJoPUdRY28puamHhxPv)

## Using the Edit command

Using the command is more complicated than editing normally but here's how to do it anyway

The command format is `/message edit <messageId>`. The messageId is the Discord ID of the message, you can check how to get IDs [here](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID).

Once you sent the command with a valid message ID, the bot will ask you to send a message containing the new message content you wish to attribute to that message.

## Using the Delete command

Very similar to the edit command, the delete command uses a message ID to delete all the messages.&#x20;

The command format is `/message delete <messageId>`. You can check how to get IDs [here](https://support.discord.com/hc/en-us/articles/206346498-Where-can-I-find-my-User-Server-Message-ID).
