# WHMCS Discord Bot

> Discord-native customer support + admin alerts for WHMCS

Hand your community a Discord bot they can use for billing, service status, and ticketing. Auto-assigns roles based on active products. Pings admins on new orders, ticket replies, payments and abuse events.

- **Price:** $59 USD — lifetime license, includes 1 year of updates & support
- **Open source license:** $199 USD — includes full unencrypted source code
- **Updates & support renewal:** $29 USD per year (optional; the license keeps working without it)
- **Compatibility:** WHMCS 8.13, PHP 8.1+
- **Category:** AI
- **Delivery:** Instant download and license key after payment
- **Refunds:** 7-day refund window
- **Buy / details:** https://whmcspilot.com/modules/whmcs-discord-bot
- **Last updated:** 2026-11-03

## Overview

The WHMCS Discord Bot connects WHMCS to your Discord server so customers can check invoices, services and tickets with slash commands, and their Discord roles always match what they pay for. It assigns roles from active products, removes them on suspension or termination, pings admins about orders, tickets, payments and abuse, and runs as stateless WHMCS hooks with no long-running process.

## What the WHMCS Discord Bot does

It makes your Discord community aware of each member's billing status and gives them self-service tools inside Discord.

- **Slash commands:** /invoices, /services, /tickets, /renew and /support, with permissions set per role.
- **Auto role assignment:** a customer gets a role, such as Premium, when they hold an active product in that tier.
- **Role sync on billing events:** roles update on every payment, suspension and termination.
- **Admin alerts:** orders, tickets, abuse events and failed payments go to the channels you choose.
- **Embed-rich cards:** invoices and services appear as Discord embeds with action buttons.
- **Overdue DMs:** the bot messages customers about overdue invoices or an upcoming suspension.
- **Per-product server invites:** customers are invited to a private Discord server on purchase.
- **Multi-server support:** one bot can serve several Discord guilds, each with its own role map.

## Who it is for

The bot is for businesses that run a Discord community around a paid product: game server hosts, VPS and hosting providers, IPTV operators, software sellers and membership communities. If you hand out paid roles by hand today, the bot makes those roles a direct result of WHMCS billing.

That removes a common support ticket: "I paid, why don't I have access?" Because the role flips on payment, access arrives as soon as the invoice is paid, and it is removed when a service is suspended or terminated.

## How it works in WHMCS

You create a Discord application, map products to roles and let customers link their accounts.

1. Create a Discord application and bot in the Discord developer portal.
2. Install the module in WHMCS and paste the bot token and client ID into the settings.
3. Invite the bot to your Discord server and set the interactions endpoint to your HTTPS WHMCS URL.
4. Map WHMCS products to Discord roles, route alert types to channels and set slash command permissions per role.
5. Customers link their Discord account with a one-time code from the client area.
6. On purchase, the customer receives the mapped role and any private server invite. Payments, suspensions and terminations then keep the role in sync.

### Paid-only channels

To gate a channel by subscription, map the product to a role in the module, then restrict the channel to that role with Discord's own permissions. The role is applied on payment and removed when the service ends, so channel access follows billing.

## Requirements and compatibility

The bot is built for WHMCS 8.13 on PHP 8.1 or newer, and needs an HTTPS endpoint for Discord's interactions webhook.

The spec sheet lists support back to WHMCS 7.10. If you run an older release, ask us before installing.

## Licensing, updates and support

The Regular license is $59 one time for a lifetime license, and an Open Source edition costs $199.

Both include one year of updates and support, with optional renewal at $29 per year. Delivery is an instant download with a license key, and the 7-day refund window applies.

## Related modules and services

Prefer Telegram? The [WHMCS Telegram bot](/modules/whmcs-telegram-bot) covers customer commands and admin alerts there. Read our guide to [Telegram and Discord bots for WHMCS support](/blog/telegram-discord-bots-whmcs-support), browse the [AI and automation modules](/modules/ai), or ask about custom role logic through [WHMCS hooks development](/services/whmcs-hooks-development).

## Key features

- Slash commands: /invoices, /services, /tickets, /renew, /support
- Auto role assignment - customer gets a 'Premium' role when an active product is in that tier
- Server role sync runs on every payment, suspension and termination
- Admin alerts to specified channels (orders, tickets, abuse, payment fails)
- Embed-rich invoice and service cards with action buttons
- Account linking via one-time code from client area
- DM customer on overdue invoice or imminent suspension
- Per-product server invite (auto-invite customer to a private Discord on purchase)
- Multi-server support - one bot, multiple Discord guilds
- Slash command permissions per-role

## Why customers buy this module

- Turn your Discord community into a billing-aware customer-success channel
- Premium / Pro / Enterprise roles always reflect real active subscriptions
- Cut down on 'I paid, why no access?' tickets - role flips instantly on payment
- Drive renewals - DM nudges from your own bot land better than email

## Technical specifications

- SupportedVersions: WHMCS 7.10 through 8.13
- Installation: Create Discord application, paste bot token + client ID, invite bot to your server
- Requirements: PHP 8.1+, WHMCS 7.10+, HTTPS endpoint for interactions endpoint
- AdminUI: Bot settings, role-to-product mapping, channel routing, command permissions
- ClientUI: Link Discord from client area; receive role + private invites on purchase

## Frequently asked questions

### Does the WHMCS Discord bot need a long-running process?

No. Discord supports HTTP interactions, so the bot runs as stateless WHMCS hooks responding to Discord's webhook.

### Can I gate a Discord channel by subscription?

Yes. Map a product to a Discord role; the role applies on payment and is removed when the service ends. Combine it with Discord's channel permissions for paid-only channels.

### Are roles removed when a service is suspended?

Yes. Role sync runs on every payment, suspension and termination, so roles reflect active subscriptions.

### Can one bot serve more than one Discord server?

Yes. One bot install can power multiple Discord guilds, each with its own role map.

### How do customers link their Discord account?

With a one-time code from the WHMCS client area. Once linked, they receive roles and private invites on purchase.

### Does the bot remind customers about overdue invoices?

Yes. It can DM customers about an overdue invoice or an upcoming suspension.

### How much does the WHMCS Discord Bot cost?

$59 for a Regular lifetime license or $199 for Open Source, each with one year of updates and support and optional $29 yearly renewal.
