-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add more, customizable, events #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, it only sends messages on proposal creation.
We probably also want to notify when it passes or fails. This may be difficult since proposals can expire without an event, and the indexer only sends webhooks on events. A solution to this may be the indexer sending a webhook when a vote is cast that switches the proposal to pass or fail, and for all proposals that pass or fail upon expiration, maybe Cloudflare Workers let us schedule an event to fire in the future (which we can schedule upon proposal creation based on its expiration time).
The events being sent should be configurable.
The text was updated successfully, but these errors were encountered: