/discord¶
Script-provided
Registered by discord. Start it with /lua run discord — that single
script boots the whole Discord integration and registers both /discord
(this page, outbound) and /discordinbox (inbound).
Syntax¶
/discord status|test|on|off
Description¶
Report or control the outbound Discord webhook that announces loot to a channel. No relay bot is needed for this direction — just a webhook URL.
Subcommands¶
| Subcommand | What |
|---|---|
status (default) |
Print webhook readiness (and why not, if unavailable), enabled/announce-flag state, the queued and announced counts, and the config file path. |
test |
Send a test message to the webhook. Refuses with a reason if the webhook isn't available. |
on / off |
Enable or disable loot notifications; persisted to config/discord/discord.lua. |
on/off here only gate the outbound loot announcer. Enabling the inbound
command relay is a separate switch — see /discordinbox.
Examples¶
/lua run discord
/discord status
/discord test
/discord off
See also¶
/discordinbox— inbound command relay, same script.- Helper Libraries — the webhook client and message-formatting modules.