Merge pull request #41 from DusanMarinkovic/patch-1

Fix for missing config file error
This commit is contained in:
Thomas Zarebczan 2019-05-02 15:41:49 -04:00 committed by GitHub
commit 3f1e18c862
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -47,18 +47,13 @@ Then
$ vim default.json.example
```
Input your bots token, the channel ID for your bot command channel, and the username & password for LBRYCrd
Rename the configuration file to "config.json" with
Rename the configuration file to "default.json" with
```
$ mv default.json.example config.json
$ mv default.json.example default.json
```
Then move the config.json into /bot/config
```
$ mkdir ~/lbry-tipbot/bot/config
$ cp ~/lbry-tipbot/config/config.json ~/lbry-tipbot/bot/config
```
Then run
Then run npm install from within lbry-tipbot directory
```
npm install
node ~/lbry-tipbot/bot/bot.js