Log in to your VPS using your preferred SSH client or terminal software (e.g., PuTTY, MobaXterm, or any similar tool).
Ensure the bot files are uploaded to a directory of your choice on the server.
Open a terminal on the server and navigate to the folder containing your bot files using the cd command:
cd
cd /path/to/your-bot-directory
Ensure all required Linux dependencies are installed.
For a list of required dependencies, refer to the Linux Dependencies Guide.
Install the Node.js modules required for the bot by running:
npm install
This will install all necessary dependencies as listed in the package.json file.
package.json
Run the bot with the following command:
node .
Check the terminal output to ensure the bot starts without errors.
To keep the bot running continuously, you can use the screen command or the tmux command. Click here for a detailed guide on using screen or tmux.
screen
tmux
By following this guide, your bot should be up and running in no time. For additional help, feel free to reach out to our support team on Discord.
Last updated 20 minutes ago
Was this helpful?