Sign inSign up

nannal/dtube-curation

By nannal

•Updated almost 8 years ago

Image
0

271

nannal/dtube-curation repository overview

⁠DTube Curation Bot

This bot is used on the official DTube Discord Server (join now⁠) to curate videos posted on d.tube⁠

⁠Requirements

To run this bot you need nodeJS and a MySQL database.

⁠Installation
git clone https://github.com/dtube/dtube-curation.git
cd dtube-curation
npm install
⁠Database Setup

Create a new database and import the dump.sql file.

⁠Confguration

Open config.js and paste in your discord bot token, the curation channel and guild id and the database credentials. If you want to use the !faq command update the faq object to your needs. If you dont want to use this command just set mod_settings.enabled to false.

At last change the default steem credentials used by this bot to cast upvotes.

⁠Startup

To start the bot just run

node index.js

Or use forever for automatic restarts whenever the bot throws an unexpected error, for example when the steem node does not reply.

npm install forever -g
forever start index.js

⁠Licence

This project is licenced unter the MIT Licence.

Tag summary

Content type

Image

Digest

Size

341.5 MB

Last updated

almost 8 years ago

docker pull nannal/dtube-curation