Closed cpanato closed 3 years ago
I don't know much about slack code, so will defer to @jeefy
/cc @palnabarun since you've worked with the slack API before
First of all, I want to apologize for the wrong assumptions I made, and when I did the initial implementation, I added a user token for my tests, and that works out of the box :(
and omg no need for apologies!! :heart:
All good!
/approve
I've updated the permissions for the bot token as well. :)
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: cpanato, jeefy
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/lgtm
First of all, I want to apologize for the wrong assumptions I made, and when I did the initial implementation, I added a user token for my tests, and that works out of the box :( After some investigation realize we need to add the bot in the channels, we want to moderate.
Issue:
There is no scope/event that makes the bot receive notifications for all public channels that the bot is not part of. If we want to receive events from a public channel, the bot needs to be part of the specific channel.
Options:
Proposed solution:
When the app/bot starts, it lists all public channels and adds itself to those channels. When a new channel is created, the bot will receive a notification and add itself to the new channel.
Possible future work:
Demo:
https://share.getcloudapp.com/jkuL7rr1
/kind feature /kind bug
/assign @nikhita @jeefy @mrbobbytables @ameukam