Discord.EditMessage
Edits a message sent by a discord webhook (with that same webhook).
Syntax
Discord.EditMessage "webhook_url" "message_id" *message_object "thread_id"?
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
webhook url | Yes | Any text e.g. "Hello, World!" | |
message id | Yes | Any text e.g. "Hello, World!" | You can get it by right-clicking on a message and clicking "Copy message ID" |
message object | Yes | a reference to DMessage object. | |
thread id | No | Any text e.g. "Hello, World!" | Default: no thread |
Possible errors
- ConnectionError
- DataProcessingError
- ProtocolError
- Response exceeded the configured maximum size.
- Message ID must not be empty.
- Provided URL is not a valid webhook URL.
Validated examples using this method
On a running server
Use serhelp Discord.EditMessage to inspect the reference generated by your installed SER version.