Add New /events
Listener and Endpoint for #introduce-yourself Channel
#17
Labels
/events
Listener and Endpoint for #introduce-yourself Channel
#17
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: