- Download the add-on's zip file, navigate to the
bot-phpfolder in the zip root and duplicateconfig.php.defaulttoconfig.php. - Open
config.phpand set the token to the value you copied from your Discord Web API application when you installed the add-on. - Set the status value to anything you want. It'll read "Playing {status}" on your server.
- Upload the contents of this folder to a server or somewhere where it can run in the background.
- Run the script by executing the following at the command line. You'll want to run this command in a
screen,supervisord,foreveror something similar to keep the bot online and you may need to adjust the syntax to scope.
Code:php bot
Setup instructions for versions prior to 2.8.0:
- You'll need to install node on your server. Contact your host or system administrator if you're unsure of how to do this.
- Download the add-on's zip file, navigate to the
botfolder in the zip root and openconfig.json. - Set the token to the value you copied from your Discord Web API application when you installed the add-on.
- Set the status field to anything you want. It'll read "Playing {status}" on your server.
- Upload the contents of this folder to a server or somewhere where it can run in the background.
- Run the script by executing the following at the command line. You'll want to run this command in a
screen,supervisord,foreveror something similar to keep the bot online and you may need to adjust the syntax to scope.
Code:node app.js