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

[integration] Slack integration #262

Open
Logannford opened this issue Dec 11, 2024 · 1 comment · May be fixed by #264
Open

[integration] Slack integration #262

Logannford opened this issue Dec 11, 2024 · 1 comment · May be fixed by #264
Labels
enhancement New feature or request large this feature is a large feature

Comments

@Logannford
Copy link
Collaborator

Logannford commented Dec 11, 2024

MVP

everyday at let's say 10am, the daily question will get posted into a slack channel and can be answered by all the user's in that channel.
Then after (maybe 2 hours (?) - will be configurable eventually) the fastest user's get posted in a leaderboard

what does this require?

  • New stripe plan (team)
  • a slack bot to post the questions.

Investigations

Done some digging into this, looking around and I think it can be achieve via the following:

  • Deno + slack combo
  • Hitting a supabase edge function
  • could also use https://trigger.dev/ instead of pg_cron as I will (eventually) need to allow a org to set what time they would like the msg to be posted. trigger supports setting in different timezones

Example repo here: https://github.com/supabase-community/supa-jam (by the supabase team)
Video here: https://www.youtube.com/watch?v=vJfPZyP4GGQ&ab_channel=Supabase

what do you think @jakemackie ?

@Logannford Logannford added enhancement New feature or request large this feature is a large feature labels Dec 11, 2024
@jakemackie
Copy link
Collaborator

Yooo that's a huge idea. Slack docs are pretty awful from what I remember but this would really be sick

@Logannford Logannford linked a pull request Dec 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request large this feature is a large feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants