All of the examples in this repository follow the same pattern for testing and uploading to Fn. Assuming
you have an Fn server running and the CLI installed, just cd
into the bots directory and do the following:
fn deploy --app slackbots BOTNAME
If you don't have a Slack app already, start here.
In your app, click Slash Commands
and create one that points to your deployed bot/function.
You'll see Install App
on the left side of your app in the Slack console. Click that and follow the directions.
Now in slack, type /<BOTNAME> [options]
and you'll see the magic!