Discord Servers
Integrating Your Discord Server with Tebex
Tebex allows you to monetize your Discord community by selling access to roles through your store. With our official Discord bot, you can automatically assign or remove roles and send customized messages when users make purchases—creating seamless integration between your store and your Discord server.
Connecting Your Discord Server
To link your Discord server to your Tebex store:
Log in to the Tebex Control Panel.
Navigate to Discord Servers.
Click Connect Discord Server.
Follow the on-screen instructions to authorize the connection.
Once successfully connected, you can define Discord Actions when creating packages on your Tebex store.
Discord Actions
After setting up your Discord server in the control panel, you can assign Discord Actions to individual packages. These actions will execute automatically upon purchase.
Available Actions
Assign Role Automatically assign a role to the customer upon purchasing a package.
Remove Role Remove a specific role from the customer—useful for time-limited access or subscription-based content.
Send Message Send a customized message to any channel in your Discord server. Messages can include dynamic variables (see below).
Discord-Specific Variables
When configuring a message in a Discord Action, you can use both Tebex standard variables and the following Discord-specific variables:
{discordId}
– The customer’s Discord ID (snowflake format). ➤ To mention the user, use:<@{discordId}>
{discordTag}
– The customer’s Discord tag (e.g.,TestUser#0001
)
To include a clickable link to a specific Discord channel, use:
<#channelID>
Example:<#696748377349681212>
Tebex Discord Bot
Bot Username:
Tebex#8323
Bot ID:
695664615534755850
Our bot must be present in your Discord server for actions to function properly. It handles all role assignments, message deliveries, and slash commands.
Watch the Setup Tutorial
Want to see it in action? Watch our official tutorial on how to set up and install the Tebex Discord Bot:
Using Slash Commands
Tebex's Discord bot supports modern slash commands for customer interactions. Type /
in any server channel to see available options:
/buy
View available packages
/claim
Claim a recent purchase
/refresh
Refresh Discord actions and roles
/id
Retrieve your Discord-linked Tebex ID
/link
Link your Discord account to Tebex
Tips and Best Practices
Ensure the bot has Manage Roles permission.
Place the bot’s role above the roles it needs to assign/remove.
Use separate channels for bot messages to keep things clean.
Test actions with a sample package before going live.
Last updated
Was this helpful?