Auto-Invite to Military or Veteran Related Channels on Join
Cross link between back end issue 47.
The back end optionally passes the military status info to pybot, pybot has an association of military status to channel ID, and submits that with the optional parameters of the undocumented slack api call users.admin.invite called here with those slack channel ids if present.
Additional information is presented in this SO post.
A warning should be noted that this feature may be deprecated in favor of the priced (Plus/Enterprise) slack APIs in the future.
@kylemh @hollomancer - I'm missing some context here; Aaron and I think there has been some discussion around putting this into the initial form users fill out to even get the first invitation. Is that a viable route or do we still want to prioritize this and the related backend issue?
Out of the loop as well. We collect that info during reg but don't verify
Alright - if we have that information then I think we can work this one similar to the zip code one - we pull that information from the backend and for current users send them a DM with the relevant channels for their branch of service. For new users we auto-invite them to the relevant channels as well. The admin namespace for the Slack Web API has been moved to Enterprise only so we can use the conversations.invite API call.