Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically leave channels #15

Open
lucymhdavies opened this issue Jun 7, 2018 · 0 comments
Open

Automatically leave channels #15

lucymhdavies opened this issue Jun 7, 2018 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@lucymhdavies
Copy link
Contributor

Related to, and follow-on from, #14

Iterate through channels that the welcomebot user is in, compare to channels in the config, and leave any channels welcomebot is not in.

https://api.slack.com/methods/channels.leave

Not sure if this is really needed, from a performance perspective. Depends how the bot monitors channels.

But worth doing, as a way of signalling to users in that channel that welcomebot is no longer listening.

Do not attempt to leave the equivalent of the "general" channel (or handle the cant_leave_general error)

@lucymhdavies lucymhdavies added enhancement New feature or request good first issue Good for newcomers labels Jun 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant