You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thinking it would be nice to have our greetbot do a listen for channel_join in #introduce-yourself, and respond with a welcome and a prompt to talk about where the user is from, and what they're learning/doing.
Something along the lines of:
Hi @user - We're glad you're here. :dancing-penguin: Tell us a little about yourself: What you are working on, & what are you learning? We'd love to hear about it!
Steps Needed:
(ask an admin if you don't have access to the Slack API for staging...or use your own Slack team /account)
Subscribe to the member_joined_channel event in the Slack API
Add a Bot User Event member_joined_channel for the #introduce-yourself channel
Add a generic method under routes/events that parses out which event is incoming (initial welcome vs channel_join vs something else), & passes the call to the destination method.
Change index.js to point to the generic method for routes/events
Add method under routes/events to handle the member_joined_channel event that will compose and send the appropriate message for member_joined_channel #introduce-yourself
Add message for the #introduce-yourself response
Make sure that the generic method to parse /events knows about the initalWelcome event, and will route that event accurately.
Add tests for the above
The text was updated successfully, but these errors were encountered:
Thinking it would be nice to have our greetbot do a listen for
channel_join
in #introduce-yourself, and respond with a welcome and a prompt to talk about where the user is from, and what they're learning/doing.Something along the lines of:
Hi
@user
- We're glad you're here. :dancing-penguin: Tell us a little about yourself: What you are working on, & what are you learning? We'd love to hear about it!Steps Needed:
(ask an admin if you don't have access to the Slack API for staging...or use your own Slack team /account)
member_joined_channel
event in the Slack APImember_joined_channel
for the #introduce-yourself channelroutes/events
that parses out which event is incoming (initial welcome vs channel_join vs something else), & passes the call to the destination method.routes/events
routes/events
to handle themember_joined_channel
event that will compose and send the appropriate message formember_joined_channel
#introduce-yourself/events
knows about theinitalWelcome
event, and will route that event accurately.The text was updated successfully, but these errors were encountered: