Remove backstories from waifu entirely

This commit is contained in:
Dragon Fire
2020-06-09 10:21:55 -04:00
parent 4ff1f34d08
commit d5ffd039fe
3 changed files with 5 additions and 12 deletions
+1 -1
View File
@@ -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:
+3 -10
View File
@@ -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`] });
}
};
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "116.9.6",
"version": "116.9.7",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {