Bots cannot use the regular channels.leave
API call, so how do I make a bot leave a channel, short of kicking it? I need it to leave a channel where I do not have rights to kick users.
You can /remove
(or /kick
) the bot.
Type /kick @botname
in the channel which you want the bot to leave.