mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Minor Changes
This commit is contained in:
@@ -150,5 +150,6 @@
|
||||
"dragonite": "149",
|
||||
"mewtwo": "150",
|
||||
"mew": "151",
|
||||
"missingno.": "0"
|
||||
"missingno.": "0",
|
||||
"missingno": "0"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
[
|
||||
"*puts you in the oven*",
|
||||
"*Puts you in the oven.*",
|
||||
"You're so stupid.",
|
||||
"Sorry, I can't hear you over how annoying you are.",
|
||||
"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.",
|
||||
"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.",
|
||||
"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!"
|
||||
]
|
||||
|
||||
@@ -15,8 +15,7 @@ module.exports = class CatFactCommand extends Command {
|
||||
async run(msg) {
|
||||
try {
|
||||
const { body } = await snekfetch
|
||||
.get('https://catfact.ninja/fact')
|
||||
.query({ max_length: 2000 });
|
||||
.get('https://fact.birb.pw/api/v1/cat');
|
||||
return msg.say(body.fact);
|
||||
} catch (err) {
|
||||
return msg.say(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiaobot",
|
||||
"version": "41.5.0",
|
||||
"version": "41.5.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Shard.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user