6 ms·
This looks great, I just created a command to trigger a job in circleci and it was very easy to get started. Is there a way to have commands that are approved
by cocoflunchy 5y ago
This looks great, I just created a command to trigger a job in circleci and it was very easy to get started.
Is there a way to have commands that are approved by another person (for example, `@abbot deploy skip-tests` that has to be approved by another team member with a thumbs up reaction or a reply?)
Is there a way to add replies to the original message from the bot directly? Or at least respond to the same channel? (like: I trigger a deploy, and the bot sends a message to the slack channel when the deploy is done)
- haacked 5y agoYes, you could use Abbot's support for messages with buttons. https://blog.ab.bot/archive/2021/06/08/user-interface-support/ https://blog.ab.bot/archive/2021/06/08/user-interface-suppor... In that case, when someone runs `@abbot deploy skip-tests`, you'd present a message with a button. You'd have to validate the user that clicks the button yourself. Abbot does have support for ACLs on skills, but it's for the whole skill. It doesn't yet support restrictions on actions within a skill. Let me know if you attempt this and run into problems. I'm happy to review code! :)