Skip to content

LBRYFoundation/lbry-tipbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(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

NodeJS & Typescript

Install NodeJS v12 for the Operating system you are running. NodeJS Documentation link

sudo apt install nodejs-typescript

Install Yarn Globally

sudo npm install -g yarn

Download LBRYCRD

Download the latest 0.17 release of LBRYcrd from the Github

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 -

Make sure the bot has "bot" flags in OAuth2

$ cd lbry-tipbot/config

Then

$ vim default.json.example

Input your bot's token, the channel ID for your bot command channel, and the username & password for LBRYCrd . Then, Rename the configuration file to "default.json" with

$ mv default.json.example default.json

Then run yarn install from within lbry-tipbot directory

yarn install
yarn start

License

MIT