Minor Changes

This commit is contained in:
Daniel Odendahl Jr
2017-09-22 19:25:35 +00:00
parent 0f18078ace
commit 721410a31d
4 changed files with 6 additions and 6 deletions
+2 -1
View File
@@ -150,5 +150,6 @@
"dragonite": "149", "dragonite": "149",
"mewtwo": "150", "mewtwo": "150",
"mew": "151", "mew": "151",
"missingno.": "0" "missingno.": "0",
"missingno": "0"
} }
+2 -2
View File
@@ -1,5 +1,5 @@
[ [
"*puts you in the oven*", "*Puts you in the oven.*",
"You're so stupid.", "You're so stupid.",
"Sorry, I can't hear you over how annoying you are.", "Sorry, I can't hear you over how annoying you are.",
"I've got better things to do.", "I've got better things to do.",
@@ -31,6 +31,6 @@
"Every time you touch me I have to go home and wash all my clothes nine times just to get a normal smell back.", "Every time you touch me I have to go home and wash all my clothes nine times just to get a normal smell back.",
"If I had a dollar for every brain you don't have, I'd have one dollar.", "If I had a dollar for every brain you don't have, I'd have one dollar.",
"I'd help you succeed but you're incapable.", "I'd help you succeed but you're incapable.",
"Your hairline is built like a graph chart, positive and negative forces attract but the clippers and your hair repel", "Your hairline is built like a graph chart, positive and negative forces attract but the clippers and your hair repel.",
"I know a good joke! You!" "I know a good joke! You!"
] ]
+1 -2
View File
@@ -15,8 +15,7 @@ module.exports = class CatFactCommand extends Command {
async run(msg) { async run(msg) {
try { try {
const { body } = await snekfetch const { body } = await snekfetch
.get('https://catfact.ninja/fact') .get('https://fact.birb.pw/api/v1/cat');
.query({ max_length: 2000 });
return msg.say(body.fact); return msg.say(body.fact);
} catch (err) { } catch (err) {
return msg.say(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); return msg.say(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "xiaobot", "name": "xiaobot",
"version": "41.5.0", "version": "41.5.1",
"description": "Your personal server companion.", "description": "Your personal server companion.",
"main": "Shard.js", "main": "Shard.js",
"scripts": { "scripts": {