No description
Find a file
filipnyquist ed08975c53
Merge pull request #143 from ykris45/patch-2
added some commands and bold -new
2018-02-02 23:49:34 +01:00
bot Update speech.js 2018-01-21 20:03:27 +07:00
config fix wording 2018-02-02 16:23:51 -05:00
speech-uploads upload speech-uploads folder 2017-10-27 12:47:10 -07:00
.babelrc Fixed formating and added prettier to pre-commit. 2017-11-07 18:25:05 +01:00
.gitignore Uploaded the main code! 2017-10-25 21:31:42 +02:00
package-lock.json prettified code once and for all 2017-11-17 22:47:17 +01:00
package.json Added irc-bridge, example in default.json.example 2017-11-17 23:18:43 +01:00
README.md new readme for PR's and updates 2017-12-23 13:10:42 -08:00
yarn.lock removed duplicates due to tips and supports 2017-12-04 02:14:23 +01:00

Bot for LBRY's Discord

(This README will be updated along with bot updates)

Features:
  • Price bot displays price of lbc for currency given.

    • Responds to !price <cur> <amount>
  • Stats bot displays current market stats of lbc.

    • Responds to !stats
  • Hash bot displays current hashrate of lbc network. Also Includes to calculate given MH/s to LBC & fiat per hr, day, week, month.

    • Responds to !hash

    • Responds to !hash power <MH/s> <fiat>

  • AltStats bot displays current market stats of specfied currency

    • Responds to !altstats <coin>
  • AltPrice bot displays current price for given coin and currency

    • Responds to !altprice <coin> <currency> <amount>
  • Github Release Notes bot displays release notes for current lbry-app release.

    • Responds to !releasenotes

    • (moderator only) !releasenotes post - send to release notes channel

  • Purge Bot deletes X amount of messages.

    • (moderator only) Responds to !purge <X>
  • Speech bot displays top claim from provided image name(coming soon posting to speech).

    • Responds to !speech <imagename>
  • Welcome bot sends Direct Message when new users join,

    • (moderator only) Responds to !welcome <@username>
  • Timeout bot assigns members the timeout roll for X-minutes where they are restricted from talking

    • (moderator only) Responds to !timeout <@username> <Mins>
  • Roll Setter bot allows users to assign themselves rolls

    • Responds to !addrole <role> - Adds to Role

    • Responds to !delrole <role> - Deletes from Role

    • Responds to !roles - List Available Roles

  • LBRY URL Linker displays lbry:// urls as open.lbry.io links to make them clickable

  • LBRY claim bot displays recent publishes on the lbry protocol

  • IRC bot to connect an irc channel with discord

  • Spam Detection Bot to Prevent Discord Raids and Spammers

  • Dynamic plugin loading with permission support.


Requirements

  • node > 8.0.0
  • npm > 0.12.x
  • yarn ( install with npm install -g yarn if not installed )

Installation

Create a bot and get the bot's API Token: https://discordapp.com/developers/applications/me

Edit and rename default.json.example in /config, then cd to wunderbot directory and run:

yarn install
node bot/bot.js

Development

Be sure to run the command below before working on any code, this ensures prettier goes to work and keeps code to our standard.

yarn install --production=false

to run prettier before submitting your code simply run the following in the bots root directory.

yarn precommit