Hubot-slack: Hubot to leave slack channel?

Created on 19 May 2016  路  6Comments  路  Source: slackapi/hubot-slack

Anyway to programmatically have hubot leave a slack channel?
right now, if the bot is invited, you cannot un-invite him

Most helpful comment

馃憤 need a way to kick the bot without being an admin.

All 6 comments

@lilnate22 not possible right now -- slack api forbids it for bot users. More discussion here: https://github.com/slackhq/hubot-slack/issues/202#issuecomment-149719884

This seems a bit of undersight that there is no programatic way for a bot user to leave a channel.

what this entails is for slack users with bots (like say hubot), that other users might invite, is now stuck in channel until an admin comes by

馃憤 need a way to kick the bot without being an admin.

This is a feature request for the Slack API generally, rather than hubot-slack specifically, so closing as off-topic.

@DEGoodmanWilson and where does one to a FR for slack?

You can email [email protected], or just type /feedback [your feedback here] into any Slack channel.

Was this page helpful?
0 / 5 - 0 ratings