Requirements & Install
Upload one folder, paste one webhook URL and create your first rule. No activation, no database migration.
Requirements
| Item | Requirement |
|---|---|
| WHMCS | 8.13 or later, or 9.x. Developed and tested on WHMCS 9. |
| PHP | 8.1 or later with cURL, JSON and mbstring. |
| Network | Outbound HTTPS on port 443 to discord.com or discordapp.com. Redirects are not followed. |
| Discord | A server and channel where you can manage webhooks. |
| Cron | A working WHMCS cron for reminder and suspension events. |
| Database | No tables, no schema changes and no extra permissions. |
Module files
Copy the whole folder to WHMCS_ROOT/modules/notifications/Discord:
modules/notifications/Discord/
Discord.php provider class
whmcs.json module metadata
logo.png provider card logo
README.md full manual
docs/ this documentation
WHMCS discovers providers by folder. There is no addon activation, no hook file and no database step.
Create the Discord webhook
- Open the target server and choose Server Settings → Integrations → Webhooks.
- Click New Webhook and choose the channel.
- Optionally set the default name and avatar. A rule can override both.
- Click Copy Webhook URL. The URL looks like
https://discord.com/api/webhooks/123456789012345678/AbCdEf….
The URL contains a webhook ID and a secret token. Treat it like a password. If it is posted in a screenshot or a ticket, delete the webhook in Discord and create a new one.
Configure the provider
- Go to Configuration → System Settings → Notifications.
- Find the Discord card and click Configure.
- Paste the webhook URL. Leave the timeout at 10 unless your server is slow.
- Click Save Changes.
Saving runs the connection test immediately and posts a real message. A success dialog and a Discord notifications are working. message in the channel confirm the URL, permissions and outbound HTTPS connection.
Create the first rule
- Open the Notification Rules tab and click Create New Notification Rule.
- Choose an event group such as Invoice or Ticket.
- Select Discord as the notification method.
- Choose Message + Embed and save.
- Trigger a matching event and confirm the message arrives.
Existing rules after an upgrade — rules created by version 1.x keep working. Their legacy webhook override, sender name, colour and inline setting are still read; the format defaults to Message + Embed until the rule is edited.