Attach waifu as image rather than thumbnail

This commit is contained in:
Dragon Fire
2020-06-09 10:05:04 -04:00
parent fd5247fd72
commit 2e1a30f62d
4 changed files with 5 additions and 14 deletions
+1 -3
View File
@@ -316,7 +316,6 @@ Total: 465
* **superpower:** Responds with a random superpower.
* **the-onion:** Responds with a random "The Onion" article.
* **this-for-that:** So, basically, it's like a bot command for this dumb meme.
* **waifu:** Responds with a randomly generated waifu and backstory.
* **will-you-press-the-button:** Responds with a random "Will You Press The Button?" dilemma.
* **word:** Responds with a random word.
* **would-you-rather:** Responds with a random "Would you rather ...?" question.
@@ -343,6 +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.
* **xiao:** Responds with a random image of Xiao Pai.
### Seeded Randomizers:
@@ -1284,8 +1284,6 @@ here.
* psycho-pass ([Crime Coefficient Levels Data](https://psychopass.fandom.com/wiki/Crime_Coefficient_(Index%27))
- [r/IsTodayFridayThe13th](https://www.reddit.com/r/IsTodayFridayThe13th/)
* friday-the-13th (Concept)
- [r/Showerthoughts](https://www.reddit.com/r/showerthoughts)
* shower-thought (Shower Thought Data)
- [Random-d.uk](https://random-d.uk/)
* duck ([API](https://random-d.uk/api))
* http-duck ([API](https://random-d.uk/http))
@@ -8,7 +8,7 @@ module.exports = class WaifuCommand extends Command {
super(client, {
name: 'waifu',
aliases: ['this-waifu-does-not-exist'],
group: 'random-res',
group: 'random-img',
memberName: 'waifu',
description: 'Responds with a randomly generated waifu and backstory.',
clientPermissions: ['EMBED_LINKS'],
@@ -27,7 +27,7 @@ module.exports = class WaifuCommand extends Command {
const { text } = await request.get(`https://www.thiswaifudoesnotexist.net/snippet-${num}.txt`);
const embed = new MessageEmbed()
.setDescription(shorten(text, 1000))
.setThumbnail(`https://www.thiswaifudoesnotexist.net/example-${num}.jpg`);
.setImage(`https://www.thiswaifudoesnotexist.net/example-${num}.jpg`);
return msg.embed(embed);
}
};
+1 -8
View File
@@ -8,14 +8,7 @@ module.exports = class ShowerThoughtCommand extends SubredditCommand {
group: 'random-res',
memberName: 'shower-thought',
description: 'Responds with a random shower thought, directly from r/Showerthoughts.',
subreddit: 'Showerthoughts',
credit: [
{
name: 'r/Showerthoughts',
url: 'https://www.reddit.com/r/showerthoughts',
reason: 'Shower Thought Data'
}
]
subreddit: 'Showerthoughts'
});
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "116.9.4",
"version": "116.9.5",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {