Configuring Solix
Configuring Solix is simple. All configuration files are located in the Configs folder. This folder is located in the main directory of the bot. Previous versions of Solix had the configuration file located in the modules, this has since changed.
To get Solix running initially, you will need to configure the .ENV file. This file contains all the sensitive credentials that are involved when running Solix. The bot will not function without these credentials being inputted.
The configuration file looks like this:
BOT_TOKEN
This value is for token of your bot. Tokens are what Discord uses to authenticate your bot. You can get a token for your bot from discord.com/developers. Alternatively, watch this video to learn how to create a bot token.
GUILD_ID
The GUILD_ID is the ID of the server which your bot is in. You can get this by turning on developer mode and right clicking on your server. Then simply press "Copy ID" to get your guild ID.
CLIENT_ID
The CLIENT_ID is the user ID of the Discord bot. Simply right click on the bot obtain its CLIENT_ID.
MONGO_CONNECTION
The MONGO_CONNECTION is the MongoDB URI which allows your bot to connect to the database. You can get a free MongoDB instance from mongodb.com. Larger servers may need to source an alternative database solution.
IP and PORT
This the the IP and PORT which your bot is running on. It should be either a subdomain or a bunch of numbers. Your hosting provider should be able to help you with this more.
Last updated