# 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](https://569524371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeX5pvJYI2SPSUPHkxu9p%2Fuploads%2FzlaPYnsyTfqHsjGNX7BI%2Fimage.png?alt=media\&token=1d5e1dc1-2249-4f61-8a6f-4f82bf83ed34) ![Deleting a message](https://569524371-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FeX5pvJYI2SPSUPHkxu9p%2Fuploads%2F2vsdtaKUpijY2VdTgBxw%2Fimage.png?alt=media\&token=6cfa22e3-442a-427e-a2c6-41149aab3918)

## 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).
