This wikiHow teaches you how to delete a message from a Discord conversation using a computer. You can only delete messages that you have sent to someone else.
Steps

Step 1. Visit
You can use any browser (such as Firefox or Chrome) to access Discord.
If you are not logged in, you should log in right now

Step 2. Click on the "Friends" icon
It is a blue icon that is located in the upper left corner of the screen and is depicted by three white human silhouettes.

Step 3. Select a conversation
This will open it in the main Discord panel.

Step 4. Hover your mouse cursor over the message you want to delete
Some icons will appear on the right side of the screen (parallel to the message).

Step 5. Click on ⁝
It is one of the icons located on the right side of the screen. A pop-up menu will appear.

Step 6. Click Delete
A warning message will open.

Step 7. Click Delete to confirm
The message will no longer appear in the conversation.