The tipbot for discord
Find a file
dependabot[bot] d35d832ac9
Bump json5 from 2.1.3 to 2.2.3
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.1.3...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-06 01:40:30 +00:00
.vscode Mass update to deps and move to typescript 2020-11-14 06:49:55 -05:00
config rollback some bitcoin-core changes 2020-11-14 07:19:25 -05:00
src Fix : RegEx based split in tipbot.ts 2021-03-20 18:02:36 +06:00
.babelrc Tipbot is here! 2017-10-25 21:12:38 +02:00
.eslintrc.json Mass update to deps and move to typescript 2020-11-14 06:49:55 -05:00
.gitignore Update .gitignore 2020-11-14 07:59:32 -05:00
LICENSE Update LICENSE 2020-02-03 05:56:08 +07:00
package.json rollback some bitcoin-core changes 2020-11-14 07:19:25 -05:00
README.md Update README.md 2020-11-14 07:35:08 -05:00
tsconfig.json Mass update to deps and move to typescript 2020-11-14 06:49:55 -05:00
yarn.lock Bump json5 from 2.1.3 to 2.2.3 2023-01-06 01:40:30 +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

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