diff --git a/README.md b/README.md index 7f16a966..69f70dfc 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ You can invite the bot to your server using Be sure to also join the [home server](https://discord.gg/sbMe32W) for information and support. -## Commands (304) +## Commands (303) ### Utility: * **prefix**: Shows or sets the command prefix. @@ -88,7 +88,6 @@ information and support. * **security-key**: Responds with a random security key. * **shower-thought**: Responds with a random shower thought, directly from r/Showerthoughts. * **user-roulette**: Randomly chooses a member of the server. -* **waifu**: Responds with a random image of one of dragonfire535's waifu. * **would-you-rather**: Responds with a random "Would you rather ...?" question. * **xiao**: Responds with a random image of Xiao Pai. diff --git a/assets/json/waifu.json b/assets/json/waifu.json deleted file mode 100644 index c0628cb0..00000000 --- a/assets/json/waifu.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "Karen Kujou": "3oLAP", - "Kotori Habane": "1d9brai", - "Rune": "CxoVShV", - "Aqua": "p98ik3Q", - "Kirino Kousaka": "0gCVjxe", - "Koneko Toujou": "qdnensl", - "Megumin": "RduvUsk", - "Hatsune Miku": "4Z9cydo", - "Kagamine Rin": "aMdJrG3", - "Sagiri Izumi": "DIKbdcc", - "Saya Amanogawa": "A72k84T", - "Xiao Pai (That's Me!)": "S4e3r" -} diff --git a/commands/random/waifu.js b/commands/random/waifu.js deleted file mode 100644 index b948b2bf..00000000 --- a/commands/random/waifu.js +++ /dev/null @@ -1,26 +0,0 @@ -const { Command } = require('discord.js-commando'); -const { randomFromImgurAlbum } = require('../../util/Util'); -const waifus = require('../../assets/json/waifu'); - -module.exports = class WaifuCommand extends Command { - constructor(client) { - super(client, { - name: 'waifu', - group: 'random', - memberName: 'waifu', - description: 'Responds with a random image of one of dragonfire535\'s waifu.', - clientPermissions: ['ATTACH_FILES'] - }); - } - - async run(msg) { - const waifuKeys = Object.keys(waifus); - const waifu = waifuKeys[Math.floor(Math.random() * waifuKeys.length)]; - try { - const waifuImage = await randomFromImgurAlbum(waifus[waifu]); - return msg.say(waifu, { files: [waifuImage] }); - } catch (err) { - return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); - } - } -}; diff --git a/package.json b/package.json index a2f9f61a..e594ef6f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "77.0.4", + "version": "78.0.0", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {