jamietsao / slack-multi-channel-invite

Script to invite a user to multiple Slack channels at once
25 stars 10 forks source link

I love this script, but would it be possible to expand with remove? #8

Closed vongohren closed 2 years ago

vongohren commented 2 years ago

Hey! I have been using this for a while for my onboarding, but I would love to have the possibility to off board as well?

Im not a go writer so cannot see the immediate way to fix this, but for a go writer, it might be a quick fix? Reusing the same mechanisms as invite but calling a seperate url?

jamietsao commented 2 years ago

Hi @vongohren - Can you provide more details into your offboarding use case? Would the person not just be removed/deactivated from the Slack org and thus offboarded by default?

vongohren commented 2 years ago

So what we do is that we have a list of channels that is private because we use a community slack. So in the onboarding docs there is a pointer to the script to run, with all defined channels. But now I have to go and remove from all private channels manually. It would be great if I just could have a point to a script with the same channels to remove from, "remove_user email channel1,channel2,channel3"

On Tue, Oct 26, 2021 at 6:09 AM Jamie Tsao @.***> wrote:

Hi @vongohren https://github.com/vongohren - Can you provide more details into your offboarding use case? Would the person not just be removed/deactivated from the Slack org and thus offboarded by default?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jamietsao/slack-multi-channel-invite/issues/8#issuecomment-951540733, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHXCV4ZN6NMJSRLU7XNYBTUIYSXVANCNFSM5GSC6VKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

vongohren commented 2 years ago

@jamietsao I see that I forgot to at you but maybe you get the message after all?

jamietsao commented 2 years ago

Hi @vongohren - Yes, I saw your message. I'll take a look at implementing this when I have a free moment.

vongohren commented 2 years ago

That would be cool, let me know if I can assist in any way!

On Fri, Oct 29, 2021 at 6:53 AM Jamie Tsao @.***> wrote:

Hi @vongohren https://github.com/vongohren - Yes, I saw your message. I'll take a look at implementing this when I have a free moment.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jamietsao/slack-multi-channel-invite/issues/8#issuecomment-954428656, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAHXCV4V7ZGOPP5TOHZWE33UJISDFANCNFSM5GSC6VKQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

jamietsao commented 2 years ago

@vongohren - I just added this ability in latest release: https://github.com/jamietsao/slack-multi-channel-invite/releases/tag/v1.2.0

Just need to set optional action flag to remove. See README for example.

vongohren commented 2 years ago

Nice! Thanks alot for that!