3b. Setup (Linux)

How Setup Zeltux on Linux

  1. Make sure the bot is configured properly in step 2.

  2. Ensure all the server dependencies are added.

    1. Your node.js version is LTS 14.15.1.

  3. Install FFMPEG, here's a useful guide.

  4. Ensure all the packages are installed by running this command in a command terminal:

    cd <file path to bot>
    npm install
  5. Start your bot by running these commands in a command terminal:

    cd <file path to bot>
    node index.js
  6. To stop your bot press CTRL and then C.

Note: Some of the commands above may take a considerable amount of time to install, depending on the specs of your machine.

Once your bot has started. Run the setup command in your Discord server to let Zeltux create all the roles and channels it needs.

Using PM2 to keep your bot online 24/7

Running node index.js won't keep your Discord bot online forever. We recommend using PM2 to keep your bot online, but your machine must stay online too!

Installing PM2

npm install [email protected] -g

Starting Zeltux

cd <file path to bot>
pm2 start ./index.js --name "zeltux"