Skip to content

Commit

Permalink
@zaza7 you can just push that to master next time ok
Browse files Browse the repository at this point in the history
  • Loading branch information
Dougley committed Jun 25, 2017
1 parent fa9ab63 commit e2245ea
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions runtime/commands/fun.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,28 +152,6 @@ Commands.dogfact = {
}
}

Commands.dogfact = {
name: 'dogfact',
help: "I'll give you some interesting dogfacts!",
timeout: 10,
level: 0,
fn: function (msg) {
var request = require('request')
request('https://dog-api.kinduff.com/api/facts', function (error, response, body) {
if (!error && response.statusCode === 200) {
try {
JSON.parse(body)
} catch (e) {
msg.channel.sendMessage('The API returned an unconventional response')
return
}
var dogFact = JSON.parse(body)
msg.channel.sendMessage(dogFact.facts[0])
}
})
}
}

Commands.leetspeak = {
name: 'leetspeak',
help: "1'Ll 3nc0d3 Y0uR Me5s@g3 1Nt0 l337sp3@K!",
Expand Down

0 comments on commit e2245ea

Please sign in to comment.