thxprotocol / slack-bot

The THX Bot can be used to reward message authors with ERC20 tokens from a pool by reacting with certain emoji on their contributions in a channel.
0 stars 2 forks source link

Slack Bot #1

Closed peterpolman closed 3 years ago

peterpolman commented 3 years ago

THX Slack Bot

You can use THX API to set up an asset pool for any application and embed features like rewarding users automatically for certain online behaviour. This is a rough description of how we would like to see THX API integrate with a Slack Bot. Further details and scope will be shared and discussed in a video call.

User Flow

The app admin should configure the app in Slack for a certain channel and with a certain asset pool address. Slack users should be able to connect their THX wallet address to the asset pool configured for the channel. When users write a message in the channel other users should be able to react with an emoji. If the emoji has a reward configured for it, the author of the message will receive the configured reward in their wallet.

User stories

API Methods

GET /asset_pools/:address Should be called to see if the set asset pool address is valid for the registered API client. Will return information about the pool token and balance.

POST /rewards Should be called to configure a reward for a certain Slack reaction. Admin should be able to provide a withdrawAmount in the Slack UI.

POST /members Should be called to add THX wallet address to the pool.

POST /rewards/:id/give Should be called when an emoji reaction for a message is created.

System Requirements

References

Ownership and Intellectual Property Upon the freelancer's receipt of full payment from THX (Great Ape Management BV), any tangible or intangible results or deliverables that a freelancer agrees to create for, or actually delivers to, THX (Great Ape Management BV) including, but not limited to, configurations, computer programs, or other information, or customized hardware, and any intellectual property developed in connection therewith, including without limitation all Intellectual Property Rights, will be the sole and exclusive property of THX (Great Ape Management BV), and THX (Great Ape Management BV) will be deemed to be the author thereof.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 1440.0 USDT (1440.0 USD @ $1.0/USDT) attached to it as part of the thxprotocol fund.

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 265 years, 6 months from now. Please review their action plans below:

1) mul53 has been approved to start work.

Hi I have experience building bots(recently worked on a similar project) and typescript, I will be happy to help you build your slack bot

Learn more on the Gitcoin Issue Details page.

mul53 commented 3 years ago

Hey @peterpolman really eager to get started on this, is someone going to be approved soon?

gitcoinbot commented 3 years ago

@mul53 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@mul53 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

mul53 commented 3 years ago

@gitcoinbot Yes I'm still working on it

nelsonmfinda commented 3 years ago

Hi @peterpolman I have experience building bots for Slack. I want to work on this bounty, I can submit a PR?

peterpolman commented 3 years ago

Hi @nelsonmfinda! Thanks for your reply, but we have @mul53 working on the bounty already.

gitcoinbot commented 3 years ago

@mul53 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

@mul53 Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@mul53 due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@mul53 due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

peterpolman commented 3 years ago

This has been done in error! Mul is still working on the issue

On Mon, 24 May 2021 at 18:15, Gitcoin.co Bot @.***> wrote:

Issue Status: 1. Open 2. Started 3. Submitted 4. Done

@mul53 https://github.com/mul53 due to inactivity, we have escalated this issue https://gitcoin.co/issue/thxprotocol/slack-bot/1/100025569 to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • reminder (3 days)
  • escalation to mods (6 days)

Funders only: Snooze warnings for 1 day https://gitcoin.co/issue/thxprotocol/slack-bot/1/100025569?snooze=1 | 3 days https://gitcoin.co/issue/thxprotocol/slack-bot/1/100025569?snooze=3 | 5 days https://gitcoin.co/issue/thxprotocol/slack-bot/1/100025569?snooze=5 | 10 days https://gitcoin.co/issue/thxprotocol/slack-bot/1/100025569?snooze=10 | 100 days https://gitcoin.co/issue/thxprotocol/slack-bot/1/100025569?snooze=100

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/thxprotocol/slack-bot/issues/1#issuecomment-847156197, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASEXR75YAQFGEC2BPNPZGDTPJ3TFANCNFSM43IMCTEQ .

gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 1440.0 USDT (1440.0 USD @ $1.0/USDT) has been submitted by:


gitcoinbot commented 3 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 1440.0 USDT (1440.0 USD @ $1.0/USDT) attached to this issue has been approved & issued to @mul53.