The tipbot for discord
Find a file
Thomas Zarebczan 0395ef7026
Merge pull request #60 from VladHZC/patch-1
Update README.md
2020-10-16 16:54:10 -04:00
bot print the error to console 2020-08-25 19:22:11 +02: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 Update LICENSE 2020-02-03 05:56:08 +07:00
package-lock.json Bump lodash from 4.17.15 to 4.17.19 2020-07-15 22:54:41 +00:00
package.json Bump mongoose from 5.5.0 to 5.7.5 2020-06-30 19:35:17 +00:00
README.md Update README.md 2020-10-16 17:44:28 -03:00
yarn.lock Bump lodash from 4.17.15 to 4.17.19 2020-07-15 22:54:41 +00: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 -

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 npm install from within lbry-tipbot directory

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

License

MIT