Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epoch % Complete Reminders #30

Open
2 tasks
reeserj opened this issue Nov 12, 2022 · 0 comments
Open
2 tasks

Epoch % Complete Reminders #30

reeserj opened this issue Nov 12, 2022 · 0 comments

Comments

@reeserj
Copy link

reeserj commented Nov 12, 2022

Description

  • As a user, I want to be alerted to Epoch progress so that I will know if I there's anything that I need to do

The frequency of these alerts will be determined by the configuration selections made here

In the event that the epochs are not long enough to have these messages sent on separate days only 1 message should be sent.

  1. Epoch 50% Complete
      1. Send Message

    [Epoch Name] [Epoch Description]
    ▰▰▰▰▰▱▱▱▱▱ 50%
    <t:1665417300:R> left - Circle ending <t:1665417300:F>
    Total Allocations: [Count of allocations]
    GIVE sent: [sum of tokens]
    Users Allocated: [Count of users allocated] / [Count of users in circle]
    [Count of notes given/Total allocations]% of allocations have notes
    Users who haven't updated contribution statements: [usename], ... , [usename n]
    Users who haven't allocated: [@username]...[username n]
    Link Coordinape.com

  2. Epoch 80% Complete 1. Send Message

    [Epoch Name] [Epoch Description]
    ▰▰▰▰▰▰▰▰▱▱ 80%
    <t:1665417300:R> left - Circle ending <t:1665417300:F>
    Total Allocations: [Count of allocations]
    GIVE sent: [sum of tokens]
    Users Allocated: [Count of users allocated] / [Count of users in circle]
    Users who haven't updated contribution statements: [usename], ... , [usename n]
    Users who haven't allocated: [@username]...[username n]
    Link Coordinape.com

  3. Epoch 90% Complete

    [Epoch Name] [Epoch Description]
    ▰▰▰▰▰▰▰▰▰▱ 90%
    <t:1665417300:R> left - Circle ending <t:1665417300:F>
    Total Allocations: [Count of allocations]
    GIVE sent: [sum of tokens]
    Users Allocated: [Count of users allocated] / [Count of users in circle]
    Users who haven't updated epoch statements or contributions: [usename], ... , [usename n]
    Users who haven't allocated: [@username]...[username n]
    Link Coordinape.com

⚠ (WIP) Technical Details

  • Create the command;
  • For users who haven't linked discord to bot, we'll need to display their coordinape name and last 4 of wallet address
  • Need to sum allocations, tokens, and users who have allocated.
  • Display responses

Context

This message is meant to serve as a reminder to allocate and an opportunity direct people back to the app and link their accounts.

Notion Use https://hammertime.cyou/ on the dates to ensure the values we send are displayed as dates in their server, we can also use <t:1665417300:R> to save use from doing the math on how long until the circle ends.

Acceptance criteria

  • All Epoch Alerts behave as expected
  • Only one Alert per day
  • Sums are correct

Open Questions

  • We might get into trouble with the discord bot if we @ too many users. If that's the case we might want to transition to managing roles for users when they've allocated or not allocated. But that means we have 3 roles per channel.
    • Other option would be to just display a count of users who hadn't allocated or left contributions
@karelianpie karelianpie removed their assignment Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants