mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-19 05:51:42 +02:00
Lots of small changes
This commit is contained in:
+97
-97
@@ -1,104 +1,104 @@
|
|||||||
[
|
[
|
||||||
"Your smile is contagious.",
|
"your smile is contagious.",
|
||||||
"You look great today.",
|
"you look great today.",
|
||||||
"You're a smart cookie.",
|
"you're a smart cookie.",
|
||||||
"I bet you make babies smile.",
|
"I bet you make babies smile.",
|
||||||
"You have impeccable manners.",
|
"you have impeccable manners.",
|
||||||
"I like your style.",
|
"I like your style.",
|
||||||
"You have the best laugh.",
|
"you have the best laugh.",
|
||||||
"I appreciate you.",
|
"I appreciate you.",
|
||||||
"You are the most perfect you there is.",
|
"you are the most perfect you there is.",
|
||||||
"You are enough.",
|
"you are enough.",
|
||||||
"You're strong.",
|
"you're strong.",
|
||||||
"Your perspective is refreshing.",
|
"your perspective is refreshing.",
|
||||||
"You're an awesome friend.",
|
"you're an awesome friend.",
|
||||||
"You light up the room.",
|
"you light up the room.",
|
||||||
"You shine brighter than a shooting star.",
|
"you shine brighter than a shooting star.",
|
||||||
"You deserve a hug right now.",
|
"you deserve a hug right now.",
|
||||||
"You should be proud of yourself.",
|
"you should be proud of yourself.",
|
||||||
"You're more helpful than you realize.",
|
"you're more helpful than you realize.",
|
||||||
"You have a great sense of humor.",
|
"you have a great sense of humor.",
|
||||||
"You've got all the right moves!",
|
"you've got all the right moves!",
|
||||||
"Is that your picture next to 'charming' in the dictionary?",
|
"is that your picture next to 'charming' in the dictionary?",
|
||||||
"Your kindness is a balm to all who encounter it.",
|
"your kindness is a balm to all who encounter it.",
|
||||||
"You're all that and a super-size bag of chips.",
|
"you're all that and a super-size bag of chips.",
|
||||||
"On a scale from 1 to 10, you're an 11.",
|
"on a scale from 1 to 10, you're an 11.",
|
||||||
"You are brave.",
|
"you are brave.",
|
||||||
"You're even more beautiful on the inside than you are on the outside.",
|
"you're even more beautiful on the inside than you are on the outside.",
|
||||||
"You have the courage of your convictions.",
|
"you have the courage of your convictions.",
|
||||||
"Your eyes are breathtaking.",
|
"your eyes are breathtaking.",
|
||||||
"If cartoon bluebirds were real, a bunch of them would be sitting on your shoulders singing right now.",
|
"if cartoon bluebirds were real, a bunch of them would be sitting on your shoulders singing right now.",
|
||||||
"You are making a difference.",
|
"you are making a difference.",
|
||||||
"You're like sunshine on a rainy day.",
|
"you're like sunshine on a rainy day.",
|
||||||
"You bring out the best in other people.",
|
"you bring out the best in other people.",
|
||||||
"Your ability to recall random factoids at just the right time is impressive.",
|
"your ability to recall random factoids at just the right time is impressive.",
|
||||||
"You're a great listener.",
|
"you're a great listener.",
|
||||||
"How is it that you always look great, even in sweatpants?",
|
"how is it that you always look great, even in sweatpants?",
|
||||||
"Everything would be better if more people were like you!",
|
"everything would be better if more people were like you!",
|
||||||
"I bet you sweat glitter.",
|
"I bet you sweat glitter.",
|
||||||
"You were cool way before hipsters were cool.",
|
"you were cool way before hipsters were cool.",
|
||||||
"That color is perfect on you.",
|
"that color is perfect on you.",
|
||||||
"Hanging out with you is always a blast.",
|
"hanging out with you is always a blast.",
|
||||||
"You always know -- and say -- exactly what I need to hear when I need to hear it.",
|
"you always know -- and say -- exactly what I need to hear when I need to hear it.",
|
||||||
"You smell really good.",
|
"you smell really good.",
|
||||||
"You may dance like no one's watching, but everyone's watching because you're an amazing dancer!",
|
"you may dance like no one's watching, but everyone's watching because you're an amazing dancer!",
|
||||||
"Being around you makes everything better!",
|
"being around you makes everything better!",
|
||||||
"When you say, 'I meant to do that,' I totally believe you.",
|
"when you say, 'I meant to do that,' I totally believe you.",
|
||||||
"When you're not afraid to be yourself is when you're most incredible.",
|
"when you're not afraid to be yourself is when you're most incredible.",
|
||||||
"Colors seem brighter when you're around.",
|
"colors seem brighter when you're around.",
|
||||||
"You're more fun than a ball pit filled with candy. (And seriously, what could be more fun than that?)",
|
"you're more fun than a ball pit filled with candy. (And seriously, what could be more fun than that?)",
|
||||||
"That thing you don't like about yourself is what makes you so interesting.",
|
"that thing you don't like about yourself is what makes you so interesting.",
|
||||||
"You're wonderful.",
|
"you're wonderful.",
|
||||||
"You have cute elbows. For reals!",
|
"you have cute elbows. For reals!",
|
||||||
"Jokes are funnier when you tell them.",
|
"jokes are funnier when you tell them.",
|
||||||
"You're better than a triple-scoop ice cream cone. With sprinkles.",
|
"you're better than a triple-scoop ice cream cone. With sprinkles.",
|
||||||
"Your bellybutton is kind of adorable.",
|
"your bellybutton is kind of adorable.",
|
||||||
"Your hair looks stunning.",
|
"your hair looks stunning.",
|
||||||
"You're one of a kind!",
|
"you're one of a kind!",
|
||||||
"You're inspiring.",
|
"you're inspiring.",
|
||||||
"If you were a box of crayons, you'd be the giant name-brand one with the built-in sharpener.",
|
"if you were a box of crayons, you'd be the giant name-brand one with the built-in sharpener.",
|
||||||
"You should be thanked more often. So thank you!!",
|
"you should be thanked more often. So thank you!!",
|
||||||
"Our community is better because you're in it.",
|
"our community is better because you're in it.",
|
||||||
"Someone is getting through something hard right now because you've got their back.",
|
"someone is getting through something hard right now because you've got their back.",
|
||||||
"You have the best ideas.",
|
"you have the best ideas.",
|
||||||
"You always know how to find that silver lining.",
|
"you always know how to find that silver lining.",
|
||||||
"Everyone gets knocked down sometimes, but you always get back up and keep going.",
|
"everyone gets knocked down sometimes, but you always get back up and keep going.",
|
||||||
"You're a candle in the darkness.",
|
"you're a candle in the darkness.",
|
||||||
"You're a great example to others.",
|
"you're a great example to others.",
|
||||||
"Being around you is like being on a happy little vacation.",
|
"being around you is like being on a happy little vacation.",
|
||||||
"You always know just what to say.",
|
"you always know just what to say.",
|
||||||
"You're always learning new things and trying to better yourself, which is awesome.",
|
"you're always learning new things and trying to better yourself, which is awesome.",
|
||||||
"If someone based an Internet meme on you, it would have impeccable grammar.",
|
"if someone based an Internet meme on you, it would have impeccable grammar.",
|
||||||
"You could survive a Zombie apocalypse.",
|
"you could survive a Zombie apocalypse.",
|
||||||
"You're more fun than bubble wrap.",
|
"you're more fun than bubble wrap.",
|
||||||
"When you make a mistake, you fix it.",
|
"when you make a mistake, you fix it.",
|
||||||
"Who raised you? They deserve a medal for a job well done.",
|
"who raised you? They deserve a medal for a job well done.",
|
||||||
"You're great at figuring stuff out.",
|
"you're great at figuring stuff out.",
|
||||||
"Your voice is magnificent.",
|
"your voice is magnificent.",
|
||||||
"The people you love are lucky to have you in their lives.",
|
"the people you love are lucky to have you in their lives.",
|
||||||
"You're like a breath of fresh air.",
|
"you're like a breath of fresh air.",
|
||||||
"You're gorgeous -- and that's the least interesting thing about you, too.",
|
"you're gorgeous -- and that's the least interesting thing about you, too.",
|
||||||
"You're so thoughtful.",
|
"you're so thoughtful.",
|
||||||
"Your creative potential seems limitless.",
|
"your creative potential seems limitless.",
|
||||||
"Your name suits you to a T.",
|
"your name suits you to a T.",
|
||||||
"You're irresistible when you blush.",
|
"you're irresistible when you blush.",
|
||||||
"Actions speak louder than words, and yours tell an incredible story.",
|
"actions speak louder than words, and yours tell an incredible story.",
|
||||||
"Somehow you make time stop and fly at the same time.",
|
"somehow you make time stop and fly at the same time.",
|
||||||
"When you make up your mind about something, nothing stands in your way.",
|
"when you make up your mind about something, nothing stands in your way.",
|
||||||
"You seem to really know who you are.",
|
"you seem to really know who you are.",
|
||||||
"Any team would be lucky to have you on it.",
|
"any team would be lucky to have you on it.",
|
||||||
"In high school I bet you were voted 'most likely to keep being awesome.'",
|
"in high school I bet you were voted 'most likely to keep being awesome.'",
|
||||||
"I bet you do the crossword puzzle in ink.",
|
"I bet you do the crossword puzzle in ink.",
|
||||||
"Babies and small animals probably love you.",
|
"babies and small animals probably love you.",
|
||||||
"If you were a scented candle they'd call it Perfectly Imperfect (and it would smell like summer).",
|
"if you were a scented candle they'd call it Perfectly Imperfect (and it would smell like summer).",
|
||||||
"There's ordinary, and then there's you.",
|
"there's ordinary, and then there's you.",
|
||||||
"You're someone's reason to smile.",
|
"you're someone's reason to smile.",
|
||||||
"You're even better than a unicorn, because you're real.",
|
"you're even better than a unicorn, because you're real.",
|
||||||
"How do you keep being so funny and making everyone laugh?",
|
"how do you keep being so funny and making everyone laugh?",
|
||||||
"You have a good head on your shoulders.",
|
"you have a good head on your shoulders.",
|
||||||
"Has anyone ever told you that you have great posture?",
|
"has anyone ever told you that you have great posture?",
|
||||||
"The way you treasure your loved ones is incredible.",
|
"the way you treasure your loved ones is incredible.",
|
||||||
"You're really something special.",
|
"you're really something special.",
|
||||||
"You're a gift to those around you.",
|
"you're a gift to those around you.",
|
||||||
"You don't deserve it."
|
"you don't deserve it."
|
||||||
]
|
]
|
||||||
|
|||||||
+60
-61
@@ -1,77 +1,76 @@
|
|||||||
[
|
[
|
||||||
"*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.",
|
||||||
"You're as dumb as Cleverbot.",
|
"you're as dumb as Cleverbot.",
|
||||||
"Your IQ is lower than the Mariana Trench.",
|
"your IQ is lower than the Mariana Trench.",
|
||||||
"You're so annoying even the flies stay away from your stench.",
|
"you're so annoying even the flies stay away from your stench.",
|
||||||
"Go away, please.",
|
"go away, please.",
|
||||||
"I'd give you a nasty look but you've already got one.",
|
"I'd give you a nasty look but you've already got one.",
|
||||||
"It looks like your face caught fire and someone tried to put it out with a hammer.",
|
"it looks like your face caught fire and someone tried to put it out with a hammer.",
|
||||||
"Your family tree must be a cactus because everyone on it is a prick.",
|
"your family tree must be a cactus because everyone on it is a prick.",
|
||||||
"Someday you will go far, and I hope you stay there.",
|
"someday you will go far, and I hope you stay there.",
|
||||||
"The zoo called. They're wondering how you got out of your cage.",
|
"the zoo called. They're wondering how you got out of your cage.",
|
||||||
"I was hoping for a battle of wits, but you appear to be unarmed.",
|
"I was hoping for a battle of wits, but you appear to be unarmed.",
|
||||||
"You are proof that evolution can go in reverse.",
|
"you are proof that evolution can go in reverse.",
|
||||||
"Brains aren't everything, in your case, they're nothing.",
|
"sorry I didn't get that, I don't speak idiot.",
|
||||||
"Sorry I didn't get that, I don't speak idiot.",
|
"why is it acceptable for you to be an idiot, but not for me to point it out?",
|
||||||
"Why is it acceptable for you to be an idiot, but not for me to point it out?",
|
"we all sprang from apes, but you did not spring far enough.",
|
||||||
"We all sprang from apes, but you did not spring far enough.",
|
"even monkeys can go to space, so clearly you lack some potential.",
|
||||||
"Even monkeys can go to space, so clearly you lack some potential.",
|
"it's brains over brawn, yet you have neither.",
|
||||||
"It's brains over brawn, yet you have neither.",
|
"you look like a monkey, and you smell like one too.",
|
||||||
"You look like a monkey, and you smell like one too.",
|
"even among idiots you're lacking.",
|
||||||
"Even among idiots you're lacking.",
|
"you fail even when you're doing absolutely nothing.",
|
||||||
"You fail even when you're doing absolutely nothing.",
|
"if there was a vote for 'least likely to succeed' you'd win first prize.",
|
||||||
"If there was a vote for 'least likely to succeed' you'd win first prize.",
|
|
||||||
"I'm surrounded by idiots... Or, wait, that's just you.",
|
"I'm surrounded by idiots... Or, wait, that's just you.",
|
||||||
"I wanna go home. Well, really I just want to get away from the awful aroma you've got going there.",
|
"I wanna go home. Well, really I just want to get away from the awful aroma you've got going there.",
|
||||||
"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!",
|
||||||
"You have two parts of your brain, 'left' and 'right'. In the left side, there's nothing right. In the right side, there's nothing left.",
|
"you have two parts of your brain, 'left' and 'right'. In the left side, there's nothing right. In the right side, there's nothing left.",
|
||||||
"Is your ass jealous of the amount of shit that just came out of your mouth?",
|
"is your ass jealous of the amount of shit that just came out of your mouth?",
|
||||||
"I don't engage in mental combat with the unarmed.",
|
"I don't engage in mental combat with the unarmed.",
|
||||||
"Two wrongs don't make a right, take your parents as an example.",
|
"two wrongs don't make a right, take your parents as an example.",
|
||||||
"Your birth certificate is an apology letter from the condom factory.",
|
"your birth certificate is an apology letter from the condom factory.",
|
||||||
"You sound reasonable. It must be time to up my medication!",
|
"you sound reasonable. It must be time to up my medication!",
|
||||||
"You must have been born on a highway because that's where most accidents happen.",
|
"you must have been born on a highway because that's where most accidents happen.",
|
||||||
"You're so ugly, when your mom dropped you off at school she got a fine for littering.",
|
"you're so ugly, when your mom dropped you off at school she got a fine for littering.",
|
||||||
"If laughter is the best medicine, your face must be curing the world.",
|
"if laughter is the best medicine, your face must be curing the world.",
|
||||||
"I'd like to see things from your point of view but I can't seem to get my head that far up my ass.",
|
"I'd like to see things from your point of view but I can't seem to get my head that far up my ass.",
|
||||||
"The only way you'll ever get laid is if you crawl up a chicken's ass and wait.",
|
"the only way you'll ever get laid is if you crawl up a chicken's ass and wait.",
|
||||||
"I'm jealous of all the people that haven't met you!",
|
"I'm jealous of all the people that haven't met you!",
|
||||||
"If I had a face like yours, I'd sue my parents.",
|
"if I had a face like yours, I'd sue my parents.",
|
||||||
"There's only one problem with your face. I can see it.",
|
"there's only one problem with your face. I can see it.",
|
||||||
"Don't you love nature, despite what it did to you?",
|
"don't you love nature, despite what it did to you?",
|
||||||
"What language are you speaking? Cause it sounds like bullshit.",
|
"what language are you speaking? Cause it sounds like bullshit.",
|
||||||
"Stupidity is not a crime so you are free to go.",
|
"stupidity is not a crime so you are free to go.",
|
||||||
"So, a thought crossed your mind? Must have been a long and lonely journey.",
|
"so, a thought crossed your mind? Must have been a long and lonely journey.",
|
||||||
"You have a room temperature IQ - if the room is in Antarctica.",
|
"you have a room temperature IQ - if the room is in Antarctica.",
|
||||||
"If you really want to know about mistakes, you should ask your parents.",
|
"if you really want to know about mistakes, you should ask your parents.",
|
||||||
"I would ask you how old you are but I know you can't count that high.",
|
"I would ask you how old you are but I know you can't count that high.",
|
||||||
"Do you want to know how I get all these insults? I use something called intelligence.",
|
"do you want to know how I get all these insults? I use something called intelligence.",
|
||||||
"I was going to give you a nasty look, but you already have one.",
|
"I was going to give you a nasty look, but you already have one.",
|
||||||
"I don't know what your problem is, but I'll bet it's hard to pronounce.",
|
"I don't know what your problem is, but I'll bet it's hard to pronounce.",
|
||||||
"Brains aren't everything. In your case they're nothing.",
|
"brains aren't everything. In your case they're nothing.",
|
||||||
"As an outsider, what do you think of the human race?",
|
"as an outsider, what do you think of the human race?",
|
||||||
"You look like a before picture.",
|
"you look like a before picture.",
|
||||||
"Oh, what? Sorry. I was trying to imagine you with a personality.",
|
"oh, what? Sorry. I was trying to imagine you with a personality.",
|
||||||
"You're the reason the gene pool needs a lifeguard.",
|
"you're the reason the gene pool needs a lifeguard.",
|
||||||
"We can always tell when you are lying. Your lips move.",
|
"we can always tell when you are lying. Your lips move.",
|
||||||
"I may love to shop but I'm not buying your bullshit.",
|
"I may love to shop but I'm not buying your bullshit.",
|
||||||
"Hell is wallpapered with all your deleted selfies.",
|
"hell is wallpapered with all your deleted selfies.",
|
||||||
"You are living proof that manure can sprout legs and walk.",
|
"you are living proof that manure can sprout legs and walk.",
|
||||||
"You do realize makeup isn't going to fix your stupidity?",
|
"you do realize makeup isn't going to fix your stupidity?",
|
||||||
"Calling you an idiot would be an insult to all stupid people.",
|
"calling you an idiot would be an insult to all stupid people.",
|
||||||
"You have the perfect face for radio.",
|
"you have the perfect face for radio.",
|
||||||
"Aww, it's so cute when you try to talk about things you don't understand.",
|
"aww, it's so cute when you try to talk about things you don't understand.",
|
||||||
"If I wanted to hear from an asshole, I'd fart.",
|
"if I wanted to hear from an asshole, I'd fart.",
|
||||||
"What's the difference between you and an egg? Eggs get laid!",
|
"what's the difference between you and an egg? Eggs get laid!",
|
||||||
"You look like a rock smashed into a pile of sand, rolled into a blunt, and got smoked through an asthma inhaler.",
|
"you look like a rock smashed into a pile of sand, rolled into a blunt, and got smoked through an asthma inhaler.",
|
||||||
"Your advice is about as useful as a paper-mache bomb shelter.",
|
"your advice is about as useful as a paper-mache bomb shelter.",
|
||||||
"Is it sad that your theme song might as well have a 0/0 signature?",
|
"is it sad that your theme song might as well have a 0/0 signature?",
|
||||||
"You're so fat, you make the galaxy look like it's on the molecular scale."
|
"you're so fat, you make the galaxy look like it's on the molecular scale."
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -39,7 +39,7 @@ module.exports = class AxisCultSignUpCommand extends Command {
|
|||||||
{
|
{
|
||||||
key: 'gender',
|
key: 'gender',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
oneOf: ['male', 'female']
|
oneOf: ['male', 'female', 'other']
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'age',
|
key: 'age',
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ module.exports = class BoredomCommand extends Command {
|
|||||||
credit: [
|
credit: [
|
||||||
{
|
{
|
||||||
name: 'Bored API',
|
name: 'Bored API',
|
||||||
url: 'https://www.boredapi.com/',
|
url: 'https://bored.api.lewagon.com/',
|
||||||
reason: 'API'
|
reason: 'API'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -19,7 +19,7 @@ module.exports = class BoredomCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async run(msg) {
|
async run(msg) {
|
||||||
const { body } = await request.get('https://www.boredapi.com/api/activity/');
|
const { body } = await request.get('https://bored.api.lewagon.com/api/activity/');
|
||||||
return msg.say(`${body.activity} (${body.type})`);
|
return msg.say(`${body.activity} (${body.type})`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ module.exports = class JokeCommand extends Command {
|
|||||||
if (body.type === 'twopart') {
|
if (body.type === 'twopart') {
|
||||||
return msg.say(stripIndents`
|
return msg.say(stripIndents`
|
||||||
${body.setup}
|
${body.setup}
|
||||||
${body.delivery}
|
||${body.delivery}||
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
return msg.say(body.joke);
|
return msg.say(body.joke);
|
||||||
|
|||||||
@@ -1,6 +1,10 @@
|
|||||||
const Command = require('../../framework/Command');
|
const Command = require('../../framework/Command');
|
||||||
const request = require('node-superfetch');
|
const request = require('node-superfetch');
|
||||||
const genders = ['male', 'female', 'both'];
|
const genders = {
|
||||||
|
masculine: 'male',
|
||||||
|
feminine: 'female',
|
||||||
|
any: ''
|
||||||
|
};
|
||||||
|
|
||||||
module.exports = class NameCommand extends Command {
|
module.exports = class NameCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
@@ -21,7 +25,7 @@ module.exports = class NameCommand extends Command {
|
|||||||
key: 'gender',
|
key: 'gender',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
default: 'both',
|
default: 'both',
|
||||||
oneOf: genders,
|
oneOf: Object.keys(genders),
|
||||||
parse: gender => gender.toLowerCase()
|
parse: gender => gender.toLowerCase()
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -34,7 +38,7 @@ module.exports = class NameCommand extends Command {
|
|||||||
.query({
|
.query({
|
||||||
inc: 'name',
|
inc: 'name',
|
||||||
noinfo: '',
|
noinfo: '',
|
||||||
gender: gender === 'both' ? '' : gender,
|
gender: genders[gender],
|
||||||
nat: 'AU,US,CA,GB'
|
nat: 'AU,US,CA,GB'
|
||||||
});
|
});
|
||||||
const data = body.results[0].name;
|
const data = body.results[0].name;
|
||||||
|
|||||||
@@ -12,6 +12,8 @@ module.exports = class OffspringCommand extends Command {
|
|||||||
}
|
}
|
||||||
|
|
||||||
run(msg) {
|
run(msg) {
|
||||||
|
const chance = Math.floor(Math.random() * 5500);
|
||||||
|
if (!chance) return msg.say('It\'s a... Wait, what is it?');
|
||||||
return msg.say(`It's a ${genders[Math.floor(Math.random() * genders.length)]}!`);
|
return msg.say(`It's a ${genders[Math.floor(Math.random() * genders.length)]}!`);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ module.exports = class PunCommand extends Command {
|
|||||||
if (body.type === 'twopart') {
|
if (body.type === 'twopart') {
|
||||||
return msg.say(stripIndents`
|
return msg.say(stripIndents`
|
||||||
${body.setup}
|
${body.setup}
|
||||||
${body.delivery}
|
||${body.delivery}||
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
return msg.say(body.joke);
|
return msg.say(body.joke);
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
const Command = require('../../framework/Command');
|
const Command = require('../../framework/Command');
|
||||||
const { oneLine } = require('common-tags');
|
const { oneLine } = require('common-tags');
|
||||||
const { MersenneTwister19937, integer } = require('random-js');
|
const { MersenneTwister19937, integer } = require('random-js');
|
||||||
const genders = ['male', 'female'];
|
const genders = ['man', 'woman'];
|
||||||
const { eyeColors, hairColors, hairStyles, extras } = require('../../assets/json/guess-looks');
|
const { eyeColors, hairColors, hairStyles, extras } = require('../../assets/json/guess-looks');
|
||||||
const { LOVER_USER_ID } = process.env;
|
const { LOVER_USER_ID } = process.env;
|
||||||
|
|
||||||
@@ -44,7 +44,7 @@ module.exports = class GuessLooksCommand extends Command {
|
|||||||
const extra = extras[integer(0, extras.length - 1)(random)];
|
const extra = extras[integer(0, extras.length - 1)(random)];
|
||||||
return msg.reply(oneLine`
|
return msg.reply(oneLine`
|
||||||
I think ${authorUser ? 'you are' : `${user.username} is`} a ${age} year old ${gender} with ${eyeColor} eyes
|
I think ${authorUser ? 'you are' : `${user.username} is`} a ${age} year old ${gender} with ${eyeColor} eyes
|
||||||
and ${hairStyle} ${hairColor} hair. ${authorUser ? 'You are' : `${gender === 'male' ? 'He' : 'She'} is`}
|
and ${hairStyle} ${hairColor} hair. ${authorUser ? 'You are' : `${gender === 'man' ? 'He' : 'She'} is`}
|
||||||
${feet}'${inches}" and weigh${authorUser ? '' : 's'} ${weight} pounds. Don't forget the ${extra}!
|
${feet}'${inches}" and weigh${authorUser ? '' : 's'} ${weight} pounds. Don't forget the ${extra}!
|
||||||
`);
|
`);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,6 +16,14 @@ const batman = {
|
|||||||
phase: 'Solid',
|
phase: 'Solid',
|
||||||
symbol: '🦇'
|
symbol: '🦇'
|
||||||
};
|
};
|
||||||
|
const jerktonium = {
|
||||||
|
name: 'Jerktonium',
|
||||||
|
atomic_mass: 240,
|
||||||
|
number: 1999,
|
||||||
|
period: 'Bikini Bottom',
|
||||||
|
phase: 'Solid',
|
||||||
|
symbol: 'Jt'
|
||||||
|
};
|
||||||
|
|
||||||
module.exports = class PeriodicTableCommand extends Command {
|
module.exports = class PeriodicTableCommand extends Command {
|
||||||
constructor(client) {
|
constructor(client) {
|
||||||
@@ -106,6 +114,7 @@ module.exports = class PeriodicTableCommand extends Command {
|
|||||||
.get('https://raw.githubusercontent.com/Bowserinator/Periodic-Table-JSON/master/PeriodicTableJSON.json');
|
.get('https://raw.githubusercontent.com/Bowserinator/Periodic-Table-JSON/master/PeriodicTableJSON.json');
|
||||||
this.table = JSON.parse(text).elements;
|
this.table = JSON.parse(text).elements;
|
||||||
this.table.unshift(batman);
|
this.table.unshift(batman);
|
||||||
|
this.table.unshift(jerktonium);
|
||||||
return this.table;
|
return this.table;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xiao",
|
"name": "xiao",
|
||||||
"version": "153.1.1",
|
"version": "153.2.0",
|
||||||
"description": "Your personal server companion.",
|
"description": "Your personal server companion.",
|
||||||
"main": "Xiao.js",
|
"main": "Xiao.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user