Add command handling

Untested, just needed to commit for the Slack bot