Skip to content

Epoch % Complete Reminders #30

Description

@reeserj

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions