diff --git a/assets/json/fortune.json b/assets/json/fortune.json deleted file mode 100644 index 4278782f..00000000 --- a/assets/json/fortune.json +++ /dev/null @@ -1,32 +0,0 @@ -[ - "Do not seek so much to find the answer as much as to understand the question better.", - "You will soon be honored by someone you respect.", - "Happiness comes from a good life.", - "You are contemplating some action which will bring credit upon you.", - "Be prepared for extra energy.", - "You are admired for your adventurous ways.", - "The love of your life is sitting across from you.", - "Beauty is simply beauty. Originality is magical.", - "Never quit!", - "Today is an ideal time to water your personal garden.", - "Questions provide the key to unlocking our unlimited potential.", - "Expect great things and great things will come.", - "The Greatest War Sometimes Isn't On The Battlefield But Against Oneself.", - "Become who you are.", - "In case of fire, keep calm, pay bill and run.", - "Anyone who dares to be, can never be weak.", - "You broke my cookie!", - "Dream lofty dreams, and as you dream, so shall you become.", - "You've got what it takes, but it will take everything you've got!", - "Trust your intuition.", - "The wise are aware of their treasure, while fools follow their vanity.", - "You will always have good luck in your personal affairs.", - "You don't need talent to gain experience.", - "All the preparation you've done will finally be paying off!", - "Determination is the wake-up call to the human will.", - "The most useless energy is trying to change what and who God so carefully created.", - "You cannot become rich except by enriching others.", - "Your happiness is intertwined with your outlook on life.", - "Sing and rejoice, fortune is smiling on you.", - "Well-arranged time is the surest sign of a well-arranged mind." -] diff --git a/assets/json/name.json b/assets/json/name.json deleted file mode 100644 index 57bc49f7..00000000 --- a/assets/json/name.json +++ /dev/null @@ -1,221 +0,0 @@ -{ - "last": [ - "Walker", - "Tworni", - "Ross", - "Smith", - "Odendahl", - "Deere", - "Brown", - "Williams", - "Jones", - "Miles", - "Moss", - "Roberto", - "McFly", - "McDonald", - "Lewis", - "Armstrong", - "Stevenson", - "Schwarzenegger", - "Robinson", - "Parker", - "Piper", - "Johnson", - "Brantley", - "Stewart", - "Ree", - "Talbot", - "Seville", - "Peace", - "Spielberg", - "Baggins", - "Wilborn", - "Vankirk", - "Shireman", - "Jimerson", - "Masters", - "Hack", - "Satcher", - "Younkin", - "Aguila", - "Duffey", - "Burgin", - "Highfall", - "Wee", - "Solari", - "Tomaselli", - "Basler", - "Difranco", - "Latch", - "Rives", - "Dolan", - "Abraham", - "Holter", - "Portugal", - "Lininger", - "Holst", - "Mccroy", - "Follmer", - "Hotchkiss", - "Gassaway", - "Wang", - "Agron", - "Raasch", - "Gourd", - "Czaja", - "Marquart", - "Papadopoulos", - "Ringer", - "Lax", - "Sperling", - "Galusha", - "Alston" - ], - "male": [ - "Bob", - "Daniel", - "Logan", - "Chris", - "Nathan", - "George", - "Mart", - "Charlie", - "Felix", - "Ralph", - "William", - "Max", - "Jerry", - "Marty", - "Joshua", - "Cody", - "Richard", - "Alex", - "Alexander", - "Jordan", - "Zachary", - "Bill", - "Alfred", - "Bruce", - "Caiden", - "Calvin", - "Eric", - "Robert", - "Mark", - "Miles", - "Nash", - "Ronald", - "Ivan", - "Edgar", - "Royal", - "Augustine", - "Dominic", - "Noel", - "Rocky", - "Grover", - "Paul", - "Jeremy", - "Stevie", - "Brock", - "Jc", - "Tony", - "Enoch", - "Zachery", - "Harvey", - "Gilbert", - "Chang", - "Emery", - "Carroll", - "Odell", - "Jean", - "Archie", - "Russ", - "Barry", - "Lowell", - "Jacob", - "Riku", - "Frederic", - "Levi", - "Faustino", - "Leland", - "Domenic", - "Irwin", - "Moises", - "Louie", - "Larry", - "Victor" - ], - "female": [ - "Elizabeth", - "Chelsey", - "Rachel", - "Logan", - "Alex", - "Jordan", - "Mary", - "Shirley", - "Sandy", - "Linda", - "Audrey", - "Autumn", - "Gracie", - "Grace", - "Erin", - "Catherine", - "Stephanie", - "Lucy", - "Patty", - "Julie", - "Christina", - "Fiona", - "Riley", - "Ashley", - "Bree", - "Lucila", - "Wendi", - "Evangelina", - "Ricki", - "Merna", - "Tegan", - "Venus", - "Claris", - "Tana", - "Sakura", - "Edythe", - "Adena", - "Princess", - "Elnora", - "Star", - "Edyth", - "Beverly", - "Kelsie", - "Letha", - "Latisha", - "Lolita", - "Bernandine", - "Jessenia", - "Hannah", - "Leonore", - "Alene", - "Fannie", - "Bernardine", - "Leena", - "Tera", - "Yvette", - "Melisa", - "Alissa", - "Xiao", - "Richelle", - "Bridgett", - "Sumiko", - "Paulette", - "Charlott", - "Honey", - "Veola", - "Sherita", - "Amanda", - "Vannessa", - "April", - "Ruth" - ] -} diff --git a/commands/random-res/joke.js b/commands/random-res/joke.js new file mode 100644 index 00000000..5ccd028d --- /dev/null +++ b/commands/random-res/joke.js @@ -0,0 +1,20 @@ +const Command = require('../../structures/Command'); +const snekfetch = require('snekfetch'); + +module.exports = class JokeCommand extends Command { + constructor(client) { + super(client, { + name: 'joke', + group: 'random-res', + memberName: 'joke', + description: 'Responds with a random joke.' + }); + } + + async run(msg) { + const { body } = await snekfetch + .get('https://icanhazdadjoke.com/') + .set({ Accept: 'application/json' }); + return msg.say(body.joke); + } +}; diff --git a/package.json b/package.json index 8b92f9cc..f6cfaea1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiaobot", - "version": "30.4.3", + "version": "30.5.0", "description": "Your personal server companion.", "main": "Shard.js", "scripts": {