Skip to content

decentfund/kyodo-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Giveth bot

A matrix bot that handles everything from information to point dishing for the Giveth community.

Development

  1. Follow this guide to get client_secret.json.
  2. Install cross-env globally: npm i -g cross-env.
  3. install dependenceis: npm install
  4. Create a matrix account using riot.im
  5. Start the bot with following parameters: cross-env BOT_USER="YOUR_BOT_USER_NAME" BOT_PASSWORD="YOUR_BOT_PASSWORD" node index

Production

Zeit.co NOW is being used to host the bot.

client_secret.json and credentials.json are required files.

Remove both files from .gitignore.

You can run now -e BOT_USER="name" -e BOT_PASSWORD="password" -e NODE_ENV="production" to deploy the bot.

Usage

Invite your bot to a room and use one of the folowing commands:

  • !dish [# of points] [type of points] points to [handle] for [reason explaining why].
  • !help for more information.
  • !sheet to see the current rewardDAO sheet

Pull requests are welcome! Please run eslint index.js before submitting a PR to ensure that you have not introduced any errors.

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%