- Download the add-on's zip file, navigate to the
bot-php
folder in the zip root and duplicateconfig.php.default
toconfig.php
. - Open
config.php
and 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
,forever
or 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
bot
folder 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
,forever
or something similar to keep the bot online and you may need to adjust the syntax to scope.
Code:node app.js