You decide which services we may enable for analytics, personalization, and external content.
We use cookies and similar technologies on our website to personalize content, embed external media, and better understand how individual areas are used.
Necessary cookies
These entries support essential functions such as security, stability, and form processing.
Optional sections
AnalyticsMarketingPersonalizationExternal media
Your data may be processed with your consent or on the basis of legitimate interests. In the cookie settings, you can reject or explicitly allow each optional category.
Some services process personal data in third countries. By consenting, you also agree to this transfer. You can find more information in our Privacy Policy.
You can reopen and change your selection at any time. · 1.0.2
Set up a Discord bot for your txAdmin RedM server and integrate it to enhance management and communication → Learn more now
10 November 20263 min read0 Views0 helpful
Introduction
The txAdmin panel offers many features for your RedM server, including Discord bot integration.
This guide will show you how to set up the Discord bot and how to use it.
FAQ
Frequently asked questions
You need an already set up txAdmin panel and a Discord application with a bot token created in the Discord Developer Portal.
After creating the Discord application in the Developer Portal, click Reset Token to get the user token. Also, enable the "Server Members Intent" option and save.
Use an OAuth2 invite link with your Client ID (format: https://discordapp.com/oauth2/authorize?&client_id=<ID>&scope=bot&permissions=18432) and open it in your browser.
Right-click the server icon or channel and select "Copy ID"—Developer Mode must be enabled in Discord user settings first.
Enter the command /status add in the desired Discord channel—the bot must have permission to send messages there.
Feedback
Was this article helpful?
Your feedback helps us prioritize and improve content.
0 of 0 Users found this article helpful.
Personal support
Need more help than the guide provides?
Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.
Navigation
RedM
Preparation
To set up the Discord bot for your txAdmin server, first log into your txAdmin panel.
You can find the login details on your server's overview page, as shown here:
Info
This guide assumes txAdmin is already set up. For instructions, see our RedM: txAdmin Setup guide.
Setup
Creating a Discord Application
To connect the bot with txAdmin, you first need to create a Discord application. Your bot will be assigned to this application and operate under its name. To create an application, please visit the Discord Developer Portal.
Create a new application by clicking New Application and give it a name, as shown below:
Then create the application by clicking Create. For the next steps, please note the Application ID:
Configure Bot and Obtain Token
When you create the application, a bot is automatically created. You can get the token easily by clicking Reset Token. This will provide you with a user token, which you should also note down:
Warning
Never share the bot token to keep your bot running smoothly and avoid security risks. The token is like a secret key and must not be shared.
On the same page, scroll down and enable the "Server Members Intent" option, then save your changes:
Invite the Bot to Your Discord
To invite the bot, insert the previously noted Client ID into the following link at the appropriate place and open the link in your browser to add the bot to your Discord server. The link should look like this:
For the bot to work properly with txAdmin, you need the server ID where the bot should be active.
You get this by right-clicking the server icon in Discord and selecting Copy Server ID. Note this ID as well.
Here is an example:
Optionally, you can also specify a channel where status updates like restart schedules will be posted. You can copy the channel ID the same way.
Remember, the bot must have permission to read and send messages in this channel.
Info
If you don't see the option to copy the server or channel ID, you need to enable Developer Mode in your Discord user settings first:
Adjust Settings in txAdmin
Now you can activate the Discord bot in txAdmin and enter all the previously noted IDs and tokens:
Optional: Send Status Message
You can optionally send a one-time status message that continuously updates the current server status, player count, etc.
To do this, go to the desired Discord channel and enter /status add. Make sure the bot has permission to send messages in this channel.
This should generate a message like this:
You can customize everything in this message on the Discord settings page within txAdmin.
Conclusion
By setting up a Discord bot for txAdmin, you can easily display the status of your RedM server and other info directly in your Discord server. If you have questions or issues, our support team is available daily – just reach out! 🙂
Server hosting from €2.49 / month, online instantly, DDoS protection included.