Use a slack command as a shortcut for multiple commands
<p>My company has recently switched to Slack, and I'm really enjoying it so far. I'm learning about Slack Custom commands, and I would like to try writing a few.</p>

<p>One of the first ideas I had was to create a shortcut for going away -- either for lunch, or for a short break. When I go to lunch, I set my status as "Away" with the <code>/away</code> command, and snooze notifications with <code>/dnd 1 hour</code>. It would be nice if I could create a custom Slack command, called <code>/lunch</code> that does both of these things, and another one called <code>/back</code> that switches back to Online and not Snoozed.</p>

<p>All of the documentation for Custom Commands is oriented towards interfacing with an external API, but is there a way to write a custom command that triggers actions within Slack itself? Would this require using the Slack API?</p>