I'd like to create a slack command like /byebye that first triggers a /giphy peace i'm out of here command and then triggers a /leave command in the same channel. From the Slack API, its pretty clear how to create new commands, but its not obvious how to chain other commands within a custom slash command (if its even possible to do). Can you trigger other slash commands inside of a custom slash command and, if so, how do you do it?
5
votes
You can issue commands through the Slack API with an undocumented method. see this answer for details.
- Erik Kalkoken
Possible duplicate of How do you invoke the /poll command using the Slack API?
- Erik Kalkoken