diff --git a/README.md b/README.md index 8a7d08a7..eee813f8 100644 --- a/README.md +++ b/README.md @@ -342,7 +342,7 @@ Total: 465 * **potato:** Responds with a random potato image. * **shiba:** Responds with a random image of a Shiba Inu. * **shrek:** Responds with a random image of Shrek, the sexiest man alive. -* **waifu:** Responds with a randomly generated waifu and backstory. +* **waifu:** Responds with a randomly generated waifu. * **xiao:** Responds with a random image of Xiao Pai. ### Seeded Randomizers: diff --git a/commands/random-img/waifu.js b/commands/random-img/waifu.js index deabd96e..814112d4 100644 --- a/commands/random-img/waifu.js +++ b/commands/random-img/waifu.js @@ -1,7 +1,4 @@ const Command = require('../../structures/Command'); -const { MessageEmbed } = require('discord.js'); -const request = require('node-superfetch'); -const { shorten } = require('../../util/Util'); module.exports = class WaifuCommand extends Command { constructor(client) { @@ -10,8 +7,8 @@ module.exports = class WaifuCommand extends Command { aliases: ['this-waifu-does-not-exist'], group: 'random-img', memberName: 'waifu', - description: 'Responds with a randomly generated waifu and backstory.', - clientPermissions: ['EMBED_LINKS'], + description: 'Responds with a randomly generated waifu.', + clientPermissions: ['ATTACH_FILES'], credit: [ { name: 'This Waifu Does Not Exist', @@ -24,10 +21,6 @@ module.exports = class WaifuCommand extends Command { async run(msg) { const num = Math.floor(Math.random() * 100000); - const { text } = await request.get(`https://www.thiswaifudoesnotexist.net/snippet-${num}.txt`); - const embed = new MessageEmbed() - .setDescription(shorten(text, 1000)) - .setImage(`https://www.thiswaifudoesnotexist.net/example-${num}.jpg`); - return msg.embed(embed); + return msg.say({ files: [`https://www.thiswaifudoesnotexist.net/example-${num}.jpg`] }); } }; diff --git a/package.json b/package.json index d02a0930..4ee9060e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "116.9.6", + "version": "116.9.7", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {