5
votes

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?

1
You can issue commands through the Slack API with an undocumented method. see this answer for details. - Erik Kalkoken

1 Answers

0
votes

I'd use something like TextExpander to automate this. You could send both commands with the return keys and everything all from a single client-side command.