> For the complete documentation index, see [llms.txt](https://bothelp.hktrpg.com/guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bothelp.hktrpg.com/guide/en/system-tools/discord-xiu-gai-jiu-xun-xi.md).

# Discord Edit Old Messages

How to edit older messages sent by HKTRPG on Discord.

{% hint style="info" %}
You can now edit messages sent by HKTRPG and webhooks (roleplay feature)—just like editing your own messages. This cannot edit messages from other users or other bots.
{% endhint %}

`.edit` — Discord only

![Example](https://1571859488-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUjtESJSBC6vWnLnVGfed%2Fuploads%2Fgit-blob-777a53e51970787499aa3d38e012f02fe70ae5ae%2Fimage.png?alt=media)

### How to Use

Right-click the message you want to edit and choose **Reply**, then enter:

`.edit first line of message`\
`second line of message`\
`third line of message`

{% hint style="info" %}
Before using this, make sure you have Admin or channel management permissions.
{% endhint %}
