Frequently Asked Questions
Answers to common setup, hosting, Discord, database, API, and security questions.
General questions#
What is a bot token?
A bot token is the private password used by an application to sign in to Discord. Store it only in the product’s server-side configuration.
What is a Discord Application ID?
It is the public numeric identifier shown on the application’s General Information page. Some products call it the client ID.
How do I copy a Discord ID?
Enable Developer Mode under User Settings → Advanced, then right-click the user, server, role, channel, or category and choose Copy ID.
What is MySQL, and can I use MariaDB?
MySQL is a relational database. MariaDB is generally compatible with these products and can be used where the product guide says MySQL or MariaDB.
What is an environment variable?
It is a named configuration value supplied outside source code, often through an .env file or hosting panel.
What is an API key?
It is a server credential used to authenticate one service to another. It is not a Discord token and should not be reused as another secret.
What is a Google service account?
It is a non-human Google identity used by a backend to access specifically shared resources such as department spreadsheets.
What is Discord OAuth?
Discord OAuth2 lets a website ask a user to sign in and grant specific access through a server-controlled callback.
What is a CFX join code?
It is the value after cfx.re/join/ in a FiveM join URL.
Do I have to leave my computer on?
Yes when self-hosting. The bot process and computer must stay online. Managed hosting or a VPS is usually more reliable.
Can I change the bot name or avatar?
Yes. Change the application profile in the Discord Developer Portal. Product-specific display text may also have a configuration value.
Why are slash commands missing?
Check the applications.commands invite scope, application ID, startup logs, guild authorization, and command synchronization. Global commands can take time to appear.
What should I do if the token was leaked?
Reset it in the Discord Developer Portal, replace the configured value, restart the bot, and remove the leaked copy. Deletion alone is not sufficient.