GeneralMagicio / pairwise-rf6

https://pairwise-rf6-general-magic.vercel.app
MIT License
2 stars 0 forks source link

Pairwise Farcaster bot: Cast about delegations regularly #21

Closed MoeNick closed 1 month ago

MoeNick commented 1 month ago

As a Pairwise stakeholder, I want to announce delegations on pairwise so the app is going viral and users who got delegated come and use the app.

Success Criteria

Hey @username 👋

Five people have delegated to you in the last 12 hours 🥳

They want you to vote on their behalf in the @Optimism Retro Funding 6 Round. Go to app.pairwise.vote and rank the projects!
MoeNick commented 1 month ago

@markoprljic would you please sync with Liam about the accuracy of this cast?

MoeNick commented 1 month ago

@mmahdigh I think @RamRamez can use mock data, but I explained what the query will look like in the context of the issue.

@RamRamez please note that the bot may handle the sending status/retrying and schedule so the backend will not be engaged in that, only read access to get those casts list.

MoeNick commented 1 month ago

Hey @RamRamez I edited the cast copy. when do you think we can start testing?

RamRamez commented 1 month ago

Hey @RamRamez I edited the cast copy. when do you think we can start testing?

It's finished and waiting for review.

mmahdigh commented 1 month ago

@RamRamez @MoeNick It's merged & deployed.

MoeNick commented 1 month ago

Het @maryjaf can you sync with @RamRamez on testing the bot?

MoeNick commented 1 month ago
GriffGreen commented 1 month ago

A few changes to request

@username 👋

🗳️  5 people have delegated to you in @Pairwise's Liquid Democracy experiment!

🤝 Delegate this voting power to the @Farcaster users you trust to judge the impact of the governance projects in @Optimism's Retro Funding 6 round or vote yourself! 🫡

👇 
https://app.pairwise.vote 

Note!

As Moenick said above, we should change the tweet when the queried number is a 1:

@username 👋

🗳️ 1 person has delegated to you in @Pairwise's Liquid Democracy experiment!

🤝 Delegate this voting power to the @Farcaster users you trust to judge the impact of the governance projects in @Optimism's Retro Funding 6 round or vote yourself! 🫡

👇
https://app.pairwise.vote 
GriffGreen commented 1 month ago

BONUS POINTS!

Once someone has used the app and delegated or voted for all 4 options, they should stop receiving the casts, and we should send them a separate cast:

@username thank you for playing with Pairwise! YOU ROCK!
MoeNick commented 1 month ago

Changes required:

I will make the Bonos point of casting for people who did voting, I will raise another issue.

@RamRamez I think you gonna be blocked for the first one, can you do the rest until @mmahdigh gets freed up?

RamRamez commented 1 month ago

I'm on it

RamRamez commented 1 month ago

Changes required:

  • [ ] 1. Query of total delegators from the beginning, not the new one. (if possible query returns the end of the whole thread not only the last layer: so if A -> B -> C -> D then D will get a cast of 3 people delegated to you. )
  • [ ] 2. Casting only when the numbers rise. so if A is 5 and we cast it today and it is 5 tomorrow at the query-time, no need to cast it again.
  • [ ] 3. Change time of getting query to 24 hours.
  • [ ] copy changes of the cast.
  • [ ] one person edgecase.

I will make the Bonos point of casting for people who did voting, I will raise another issue.

@RamRamez I think you gonna be blocked for the first one, can you do the rest until @mmahdigh gets freed up?

Done! (It's waiting for review)

GriffGreen commented 1 month ago

oops it was too long before and the capital letters ruined the tag!

[@griff.eth](https://warpcast.com/griff.eth) 👋

🗳️ 1 person has delegated to you in [@pairwise](https://warpcast.com/pairwise)'s Liquid Democracy experiment!

🤝 Delegate this voting power to the [@farcaster](https://warpcast.com/farcaster) users you trust to judge projects in [@optimism](https://warpcast.com/optimism)'s Retro Funding 6 round or vote yourself! 🫡

👇 
[app.pairwise.vote](http://app.pairwise.vote/)

Or if that doesn't work

@griff.eth 👋

🗳️ 1 person has delegated to you in @pairwise's Liquid Democracy experiment!

🤝 Delegate this voting power to the @farcaster users you trust to judge projects in @optimism's Retro Funding 6 round or vote yourself! 🫡

👇 
app.pairwise.vote
RamRamez commented 1 month ago

oops it was too long before and the capital letters ruined the tag!

[@griff.eth](https://warpcast.com/griff.eth) 👋

🗳️ 1 person has delegated to you in [@pairwise](https://warpcast.com/pairwise)'s Liquid Democracy experiment!

🤝 Delegate this voting power to the [@farcaster](https://warpcast.com/farcaster) users you trust to judge projects in [@optimism](https://warpcast.com/optimism)'s Retro Funding 6 round or vote yourself! 🫡

👇 
[app.pairwise.vote](http://app.pairwise.vote/)

Or if that doesn't work

@griff.eth 👋

🗳️ 1 person has delegated to you in @pairwise's Liquid Democracy experiment!

🤝 Delegate this voting power to the @farcaster users you trust to judge projects in @optimism's Retro Funding 6 round or vote yourself! 🫡

👇 
app.pairwise.vote

Done! (It's waiting for review)