diff --git a/assets/json/discord-email-fun-facts.json b/assets/json/discord-email-fun-facts.json new file mode 100644 index 00000000..0f005471 --- /dev/null +++ b/assets/json/discord-email-fun-facts.json @@ -0,0 +1,27 @@ +[ + "In New Zealand, it is a criminal offense to carry a copy of the game Manhunt.", + "The bushes and clouds in the original Super Mario Bros are the same sprite recolored.", + "When space invaders launched in Japan, its popularity caused a temporary shortage of 100 Yen coins.", + "The Discord logo is named Clyde.", + "In Overwatch, the tiny yellow bird that hangs out with Bastion is named Ganymede - a beautiful young boy from Greek mythology.", + "When revealed in 2014, Overwatch was Blizzard's first new IP in 17 years.", + "There is a scene in the original Metal Gear Solid where Campbell will poke fun at the player if they're using a TV with Mono audio.", + "Prior to adding Blood Elves, Alliance outnumbered Horde on most World of Warcraft servers.", + "The successful release of the SNES gained the attention of the infamous Japanese crime organization the Yakuza. Nintendo then began to ship the devices at night to avoid robbery.", + "The cover art for Neil Young's album \"Silver and Gold\" is a photo taken with a Game Boy Camera.", + "To choose your Eevee's evolution in Pokemon Go, rename it to Sparky (Jolteon), Rainer (Vaporeon), or Pyro (Flareon).", + "In the original Fallout, a player character with less than 4 Intelligence can only communicate with grunts and other noises.", + "In League of Legends, if you play Jax with the Jaximus skin, he'll occasionally say \"Here's to you, kid.\" This honors a Make-A-Wish patient whose favorite character was Jax.", + "There are four skins in League of Legends named after internet browsers: Foxfire Ahri, Safari Caitlyn, Explorer Ezreal and Chrome Rammus.", + "You can't see your own shadow in CS:GO.", + "In Hearthstone, using the Hunter card Animal Companion against Kel'Thuzad will summon his cat Mr. Bigglesworth rather than the usual beasts.", + "Starting with version 6.29 of the original Dota, each update ending in a \"9\" contained a secret quest, usually showing off an upcoming hero such as Invoker.", + "Rocket League is a sequel to the 2009 physics based vehicle soccer game Supersonic Acrobatic Rocket-Powered Battle-Cars.", + "Discord was almost named Wyvern. Dodged a bullet there, whew.", + "The creator of the Kirby and Super Smash Bros. Series, Masahiro Sakurai, voiced King DeDeDe in all Smash games the character appears in.", + "HAL Laboratory, the developer responsible for Kirby, Mother, and Super Smash Bros. series, was named HAL because each letter put them ahead of IBM.", + "While trying to create a pig in Minecraft, Markus Persson accidentally switched the length and height in code and ended up with the monstrosity now known as a creeper.", + "The avatar of Minecraft creator Markus Persson is the only character that drops an apple when it dies.", + "Team Fortress, Day of Defeat, Counter-Strike, Ricochet, and Dota were all originally fan-made mods.", + "Pachinko Machines (mechanical games used for gambling) make Sega more money in Japan than game sales worldwide." +] diff --git a/commands/random/discord-email-fun-facts.js b/commands/random/discord-email-fun-facts.js new file mode 100644 index 00000000..ef7625fe --- /dev/null +++ b/commands/random/discord-email-fun-facts.js @@ -0,0 +1,19 @@ +const { Command } = require('discord.js-commando'); +const facts = require('../../assets/json/discord-email-fun-facts'); + +module.exports = class DiscordEmailFunFactsCommand extends Command { + constructor(client) { + super(client, { + name: 'discord-email-fun-facts', + aliases: ['email-fun-facts'], + group: 'random', + memberName: 'discord-email-fun-facts', + description: 'Responds with a random fun fact from the Discord emails.' + }); + } + + run(msg) { + const factNumber = Math.floor(Math.random() * facts.length); + return msg.say(`**Fun Fact #${factNumber + 1}**: ${facts[factNumber]}`); + } +}; diff --git a/commands/util/donate.js b/commands/util/donate.js index 634ab835..34dcdf63 100644 --- a/commands/util/donate.js +++ b/commands/util/donate.js @@ -5,7 +5,7 @@ module.exports = class DonateCommand extends Command { constructor(client) { super(client, { name: 'donate', - aliases: ['patreon', 'paypal', 'ko-fi', 'donators'], + aliases: ['patreon', 'paypal'], group: 'util', memberName: 'donate', description: 'Responds with Xiao\'s donation links.', @@ -18,7 +18,6 @@ module.exports = class DonateCommand extends Command { Contribute to XiaoBot development! - `); } }; diff --git a/package.json b/package.json index 0951e520..fc7bfa84 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "61.1.0", + "version": "61.2.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {