A Telegram port of the points functionality of giveth-bot.
- Follow this guide to get
client_secret.json
. - install dependencies:
npm install
- Create a Telegram bot
- Create a
bot_credentials.json
file containing the bot token in JSON format. Should look something like:
{
"token": "token"
}
- Simply start the bot using:
node index
The bot is automatically deployed to Digital Ocean using Circle CI.
client_secret.json
, bot_credentials.json
and credentials.json
are required files.
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.