3b. Setup (Linux)
- 1.
- 3.
- 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 thenC
.
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.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"
Last modified 2yr ago