FiveM Discord Bot
Before Starting Your Bot
Once you have installed the bot, you can optionally add a Database. This is not required, but it is recommended.
To create one, go to the DATABASES
tab and select NEW DATABASE
. Give it a name, click the eye icon, and use the ROTATE PASSWORD
button until your password does NOT contain any of the following characters:
#, $, ", ', =, @, :, /
When your password is free of these characters, click the JDBC CONNECTION STRING
field and close the popup. Return to the Startup tab and paste the copied text into the Database Connection String
field, making sure to REMOVE the jdbc:
from the string so it starts with mysql://
.
After Starting Your Bot
After starting your bot, copy the Address
and open it in your web browser. Click the Login
button on the top bar and sign in with the Username and Password you created in the Startup tab.
Once logged in, hover over the Administration
tab and select Configuration
. Here, you can edit more information about your bot and view descriptions for each field.
Before using the bot, you must add it to your server and fill in all required fields in the Configuration
tab.
Adding The Bot To Your Server
To add the bot to your server, visit the Discord Developer Portal and create a new application. Navigate to the Bot
tab, click Add Bot
, and use the Reset Token
button to view and reset the token. Copy this token and paste it into the Bot Token
field in the Configuration
tab.
If you reset your token, you will need to update it in the Configuration
tab, and any other services using the token will also need to be updated.
Next, disable the PUBLIC BOT
switch and enable the PRESENCE INTENT
, SERVER MEMBERS INTENT
, and MESSAGE CONTENT INTENT
switches. Click Save
to apply the changes.
Proceed to the OAuth2
tab, select the Bot
scope, and choose either the Administrator
permission or all of the following permissions:
Manage Roles
Change Nickname
Manage Nicknames
Read Messages/View Channels
Send Messages
Manage Messages
Embed Links
Attach Files
Read Message History
Mention Everyone
Use External Emojis
Add Reactions
Use Slash Commands
Copy the generated link, open it in your web browser, select the server you want to add the bot to, and click Authorize
.