Discord Notificationsfor WHMCS · Documentation
v2.0.0

Settings Reference

Provider settings are configured once. Rule settings decide how each event is rendered and where it goes.


Provider settings

Configuration → System Settings → Notifications → Discord → Configure

FieldKeyDefaultNotes
Webhook URLwebhook—Required. HTTPS Discord webhook URL. Used when a rule leaves the override blank.
Sender Nameusernameblank80 characters or fewer. Blank uses the webhook name configured in Discord.
Sender Avatar URLavatarUrlblankHTTPS only, 2048 characters or fewer.
Request Timeouttimeout10Seconds, clamped to 1–30.
Strict DeliverystrictModeoffOff retries once without a rejected optional embed or sender identity.
Allow Custom HostallowCustomHostoffOnly for a trusted proxy or a self-hosted Discord-compatible service. HTTPS and the path shape are still required.
Versionversion2.0.0Read-only row. It is not submitted with the form.

Rule settings

Notification Rules → Create New Notification Rule → Notification Method: Discord

FieldKeyDefaultNotes
Webhook OverridewebhookblankWins over the provider webhook. The legacy overwrite key is still read.
Message FormatdiscordFormatbothMessage + Embed, Message only or Embed only. The key is provider-unique to avoid WHMCS field collisions.
Embed ColourembedColor#5865F2Accepts #rgb, #rrggbb, bare hex or a decimal value. Invalid values fall back to blurple.
Sender Name OverrideuserNameblankWins over the provider sender name.
Sender Avatar OverrideavatarUrlblankHTTPS only. Wins over the provider avatar.
Hide AttributeshideAttributesoffNegative key: an absent checkbox means include attributes.
Attributes InlineinlineoffSide-by-side embed fields and one dotted line in Message only mode.
Hide View LinkhideLinkoffRemoves the link back to the WHMCS record.
Silent MessagesilentoffSets Discord message flag 4096; the message is posted without push notifications.

Discord permissions

PermissionWhy it is needed
Manage WebhooksCreate or copy the webhook. WHMCS does not need this after setup.
View ChannelThe webhook can only post to a channel it can see.
Send MessagesRequired for any delivery.
Embed LinksRequired for embeds. Without it, select Message only.
Mention EveryoneNever needed: mentions are suppressed in the payload.

Escaped URLs and saved values

WHMCS renders provider settings through an HTML-escaping layer. A URL containing & can be displayed as & and re-escaped on a later save. The module decodes repeatedly until the value is stable before validating or sending it, so a saved webhook keeps working.

If the Configure dialog shows a URL that has changed, clear the field, paste the URL from Discord again and save. The connection test runs on save and reports an invalid URL immediately.