2021-03-24 18:34:56 -04:00
|
|
|
# Setup
|
|
|
|
## Install
|
|
|
|
|
2021-03-24 18:36:08 -04:00
|
|
|
```
|
|
|
|
npm i
|
|
|
|
```
|
2021-03-24 18:34:56 -04:00
|
|
|
|
|
|
|
## Run
|
|
|
|
|
|
|
|
### Automatic Restart
|
2021-03-24 18:36:08 -04:00
|
|
|
```
|
|
|
|
node run.js <ip>
|
|
|
|
```
|
2021-03-24 18:34:56 -04:00
|
|
|
|
|
|
|
### No Restart
|
2021-03-24 18:36:08 -04:00
|
|
|
```
|
|
|
|
node . <ip>
|
|
|
|
```
|
|
|
|
|
|
|
|
## Configure
|
|
|
|
|
|
|
|
Enter a different user than the one you are running the bot on into config.json, with the password specified.
|
|
|
|
Then, add your user to not require a sudo password when running sudo (I recommend doing this in a VM and NOT your host)
|