Skip to content

Commit

Permalink
version bump - 1.1.0, rename test file, fix copy paste
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
danquack committed Jun 30, 2019
1 parent e064c2d commit 6130e80
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hubot-dogeme",
"version": "1.0.0",
"version": "1.1.0",
"description": "Wow. Such Doge",
"keywords": [
"doge",
Expand Down
6 changes: 2 additions & 4 deletions src/dogeme.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,11 @@ module.exports = (robot) ->
msg.send JSON.parse(body).url

robot.respond /what doge breeds/i, (msg) ->
count = msg.match[2] || 5
breed = msg.match[1]
for x in [1..count]
msg.http("https://dogs.vakar.io/breed/")
msg.http("https://dogs.vakar.io/breed/")
.get() (err, res, body) ->
breeds = JSON.parse(body).breeds
msg.send breeds.join(", ")


robot.respond /how many doges?/i, (msg) ->
msg.http("http://dogeme.rowanmanning.com/count")
Expand Down
File renamed without changes.

0 comments on commit 6130e80

Please sign in to comment.