Skip to content

Instantly share code, notes, and snippets.

@andykent
Last active December 15, 2015 09:38
Show Gist options
  • Save andykent/5239343 to your computer and use it in GitHub Desktop.
Save andykent/5239343 to your computer and use it in GitHub Desktop.
# name: Echo Bot
# description: Say someting and I'll say it back
# keyword: echo
bolt.run ->
if command.hasQuery
result(title:command.query, description: "That's what you said!")
// name: Echo Bot
// description: Say someting and I'll say it back
// keyword: echo
bolt.run(function() {
if(command.hasQuery) {
result({ title:command.query, description: "That's what you said!" });
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment