This RFC is a work in progress, please comment suggestions/improvements where you see they can be made. Please publicly message the champion of the project (danialhasan#7329) for more info on this RFC.
A Gitcoin Bounty Bot is a simple Discord bot that queries the public Gitcoin API for new bounties to send into a designated “#bounties” channel.
This bot would allow for DAO members to see new bounties come up as they’re made, via the D_D discord server. It would keep all bounty info in one single channel that members can watch, which would encourage members to claim bounties that they can work on together.
This bot will likely use:
- The Gitcoin public API (Rest API - Gitcoin Developer Documentation)
- Discord.js (https://discordjs.guide/)
A simple process for the bot could be to send a GET request to the https://gitcoin.co/api/v0.1/bounties endpoint every minute, and send new bounties into a designated channel when they’re found.
The repo will be available under the D_D Github organization (GitHub - Developer-DAO/Gitcoin_Bounty_Bot: (IN ACTIVE DEVELOPMENT) This bot will use the Gitcoin API to post new bounties into different D_D channels.)
- The first iteration of the bot may use webhooks. There have been instances where webhooks have assisted malicious actors with compromising discord servers to send misinformation into important announcement channels. This will be taken into careful consideration before the bot is ever added to the server.
- The bot will be tested in a separate discord server. Please publicly message the champion of the project (danialhasan#7329) in order to gain access to this test discord server.
Discord documentation: https://discordjs.guide/
Gitcoin API: Rest API - Gitcoin Developer Documentation