Skip to content

Giveth/giveth-bot

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 dependencies: npm install
  3. Create a matrix account using riot.im
  4. Create a bot_credentials.json file containing the username and password of the bot in JSON format. Should look something like:
{
  "username": "name",
  "password": "password"
}
  1. Simply start the bot using: node index

Production

The bot is automatically deployed to Digital Ocean using Circle CI.

client_secret.json, bot_credentials.json and credentials.json are required files.

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 npm test before submitting a PR to ensure that you have not introduced any errors.

About

Giveth matrix community bot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published