Skip to content

Conversation

@transcental
Copy link
Member

Closes #306

Frequently, users sign up on hackclub.com/slack without knowing they already have an account from Arcade, High Seas or just a long time ago. This PR will send them an email telling them how to login to Slack. This should provide a better experience for them, and cut down on the amount of emails sent to slack (at) hackclub (dot) com.

If they're an MCG, TORIEL will make sure that they're in the cave channel and link it in the email.

This PR has several requirements before being merged.

New Slack Scopes

User Token Scopes

  • channels:write.invites - Used to invite MCGs to the cave channel

New environment variables

  • LOOPS_API_KEY - Self explanatory. An API key for sending transactional emails.
  • LOOPS_MCG_TRANSACTIONAL_ID - The ID of the transaction email to be sent to MCGs
  • LOOPS_FULL_USER_TRANSACTIONAL_ID - The ID of the transaction email to be sent to full users
  • SLACK_USER_TOKEN - From the Slack OAuth & Permissions dashboard.

@radioblahaj
Copy link
Member

:D

@radioblahaj radioblahaj merged commit f253583 into hackclub:main May 15, 2025
1 check failed
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

Successfully merging this pull request may close these issues.

Email users when they're already in Slack

2 participants