Solix
  • Solix
  • Changelog
    • v0.0.4
    • v0.0.3
    • v0.0.2
  • Quick Start guide
    • Getting started
      • Installing Solix
      • Configuring Solix
      • Configuring Modules
  • Modules
    • Converting
      • Configuring Solix Converting
    • Utility
      • Configuring Solix Utility
    • Logging
      • Configuring Solix Logging
    • Fun
      • Configuring Solix Fun
    • Payments
      • Configuring Solix Payments
    • Ticketing
      • Configuring Solix Ticketing
    • Moderation
      • Configuring Solix Moderation
  • Developer Guide
    • Getting started as a developer
    • How to create a module
Powered by GitBook
On this page
  1. Quick Start guide
  2. Getting started

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=
GUILD_ID=
CLIENT_ID=
MONGO_CONNECTION=
PORT=
IP= 

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.

PreviousInstalling SolixNextConfiguring Modules

Last updated 10 months ago