Skip to content

jeng/acSlacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

acSlacker

A google app engine program for implementing slack commands

To add a new command create an object that inherits Handler. Then add it to the POOL dictionary in the CommandPool. That's all you have to do.

I've included a couple of examples. Echo just dumps all of the parameters. Kb hits a json endpoint, parses the results and then uses Slack's formatting for the links.

To make sure someone doesn't hijack your commands, the yaml file should contain your tokens. The SLACK_TOKEN environment variable needs to be a comma separated string in the format <command>:<token>. A single command can have multiple tokens. Just separate each one with a colon.

About

A google app engine program for creating slack commands

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages