Discord.SendMessage
Sends a message using a discord webhook.
Syntax
Discord.SendMessage "webhook_url" *message_object "thread_id"?
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
webhook url | Yes | Any text e.g. "Hello, World!" | |
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.
- Provided URL is not a valid webhook URL.
On a running server
Use serhelp Discord.SendMessage to inspect the reference generated by your installed SER version.