hackclub / toriel

👋 A friendly bot that assists new members with joining Hack Club
https://toriel.hackclub.com
33 stars 16 forks source link

Identify people stuck in Slack onboarding flow #214

Closed ShubhamPatilsd closed 8 months ago

ShubhamPatilsd commented 8 months ago

Schedules a PR in util/notify-channel.js with the scheduleHelpMeMessage and stores the scheduled message ID in database. When user finishes flow (selection yes/no for club leader), it deletes scheduled message and removes its ID from the database.

Also implements "stage" tracking so we can filter on the backend who is stuck on which stage of the onboarding process.