A matrix bot that handles everything from information to point dishing for the Giveth community.
- Follow this guide to get
client_secret.json
. - Install cross-env globally:
npm i -g cross-env
. - install dependenceis:
npm install
- Create a matrix account using riot.im
- Start the bot with following parameters:
cross-env BOT_USER="YOUR_BOT_USER_NAME" BOT_PASSWORD="YOUR_BOT_PASSWORD" node index
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.
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.