Skip to content

treeder/slackbots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slackbots for Fn Project

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:

Deploy

fn deploy --app slackbots BOTNAME

Create a Slash command in Slack

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.

Install the app into your team

You'll see Install App on the left side of your app in the Slack console. Click that and follow the directions.

6) Try it out!

Now in slack, type /<BOTNAME> [options] and you'll see the magic!