The tipbot for discord
Find a file
Kenneth C 0f4e15a712
Fixed line 53
Fixed line 53 to rename the default.json.example to config.json
2019-02-26 18:43:38 -05:00
bot fix private roletip 2018-12-04 20:38:48 -05:00
config updated default configuration 2018-02-22 02:26:39 +01:00
.babelrc Tipbot is here! 2017-10-25 21:12:38 +02:00
.gitignore update dependencies 2018-05-04 07:33:43 -04:00
LICENSE Create LICENSE 2018-01-25 17:05:02 +01:00
package-lock.json update packages 2018-11-15 12:01:07 -05:00
package.json update packages 2018-11-15 12:01:07 -05:00
README.md Fixed line 53 2019-02-26 18:43:38 -05:00
yarn.lock upgrade packages 2018-10-11 14:45:53 -04:00

Bot for LBRY's Discord

(This README will be updated along with bot updates) Features:

  • Tipbot for LBC. Responds to !tip.
  • Dynamic plugin loading with permission support.

Requirements

Install the prerequisites

$ sudo apt-get install nodejs && apt-get update
$ wget https://github.com/lbryio/lbrycrd/releases/download/v0.12.4.0/lbrycrd-linux.zip

Installation

Install LBRYCrd

$ unzip ~/lbrycrd-linux.zip

Follow the instructions on the LBRYCrds GitHub Repository to create a lbrycrd.conf and remember the username and password.

Start LBRYCrd

./lbrycrdd -server -daemon

Create a bot and get the bot's API Token: https://discordapp.com/developers/applications/me - https://i.imgur.com/gM8EpJe.png

Make sure the bot has "bot" flags in OAuth2

$ cd lbry-tipbot/config

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

$ mv default.json.example config.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

npm install
node ~/lbry-tipbot/bot/bot.js