mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Some... Fun Commands
This commit is contained in:
@@ -1239,7 +1239,9 @@ here.
|
||||
- [RedBubble - Akbar Mna](https://www.redbubble.com/en/people/akbarmna/shop)
|
||||
* hat ([Megumin Hat Image](https://www.redbubble.com/people/akbarmna/works/25443591-megumins-hat-minimalistic?p=poster))
|
||||
- [Reddit](https://www.reddit.com/)
|
||||
* hentai ([API](https://www.reddit.com/dev/api/))
|
||||
* meme ([API](https://www.reddit.com/dev/api/))
|
||||
* porn ([API](https://www.reddit.com/dev/api/))
|
||||
* reddit ([API](https://www.reddit.com/dev/api/))
|
||||
* shower-thought ([API](https://www.reddit.com/dev/api/))
|
||||
* subreddit ([API](https://www.reddit.com/dev/api/))
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
[
|
||||
"hentai",
|
||||
"ecchi",
|
||||
"pantsu",
|
||||
"hentai_gif",
|
||||
"ahegao",
|
||||
"rule34",
|
||||
"hentaipetgirls",
|
||||
"uncensoredhentai",
|
||||
"masturbationhentai",
|
||||
"animehandbras",
|
||||
"hentaicleavage",
|
||||
"sukebei",
|
||||
"yurigif",
|
||||
"collarhentai",
|
||||
"oppai_gif",
|
||||
"cumhentai",
|
||||
"hentaimini",
|
||||
"maidhentai",
|
||||
"yuri",
|
||||
"futanari",
|
||||
"delicioustraps"
|
||||
]
|
||||
@@ -0,0 +1,26 @@
|
||||
[
|
||||
"nsfw_gifs",
|
||||
"60fpsporn",
|
||||
"pussy",
|
||||
"boobs",
|
||||
"tits",
|
||||
"ass",
|
||||
"asstastic",
|
||||
"lesbians",
|
||||
"porn",
|
||||
"nsfw",
|
||||
"AsiansGoneWild",
|
||||
"adorableporn",
|
||||
"realgirls",
|
||||
"holdthemoan",
|
||||
"tinytits",
|
||||
"blowjobs",
|
||||
"porninfifteenseconds",
|
||||
"pawg",
|
||||
"gonewild",
|
||||
"nsfw_plowcam",
|
||||
"legalteens",
|
||||
"pornstarlethq",
|
||||
"biggerthanyouthink",
|
||||
"worldpolitics"
|
||||
]
|
||||
@@ -0,0 +1,41 @@
|
||||
const SubredditCommand = require('../../structures/commands/Subreddit');
|
||||
const { MessageEmbed } = require('discord.js');
|
||||
const { list, formatNumber } = require('../../util/Util');
|
||||
const subreddits = require('../../assets/json/hentai');
|
||||
|
||||
module.exports = class HentaiCommand extends SubredditCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'hentai',
|
||||
group: 'random-img',
|
||||
memberName: 'hentai',
|
||||
description: 'Responds with a random hentai image.',
|
||||
details: `**Subreddits:** ${subreddits.join(', ')}`,
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
nsfw: true,
|
||||
postType: 'image',
|
||||
getIcon: true,
|
||||
args: [
|
||||
{
|
||||
key: 'subreddit',
|
||||
prompt: `What subreddit do you want to get hentai from? Either ${list(subreddits, 'or')}.`,
|
||||
type: 'string',
|
||||
oneOf: subreddits,
|
||||
default: () => subreddits[Math.floor(Math.random() * subreddits.length)],
|
||||
parse: subreddit => subreddit.toLowerCase()
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
generateText(post, subreddit, icon) {
|
||||
return new MessageEmbed()
|
||||
.setColor(0xFF4500)
|
||||
.setAuthor(`r/${subreddit}`, icon, `https://www.reddit.com/r/${subreddit}/`)
|
||||
.setTitle(post.title)
|
||||
.setImage(post.post_hint === 'image' ? post.url : null)
|
||||
.setURL(`https://www.reddit.com${post.permalink}`)
|
||||
.setTimestamp(post.created_utc * 1000)
|
||||
.setFooter(`⬆ ${formatNumber(post.ups)}`);
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,42 @@
|
||||
const SubredditCommand = require('../../structures/commands/Subreddit');
|
||||
const { MessageEmbed } = require('discord.js');
|
||||
const { list, formatNumber } = require('../../util/Util');
|
||||
const subreddits = require('../../assets/json/porn');
|
||||
|
||||
module.exports = class PornCommand extends SubredditCommand {
|
||||
constructor(client) {
|
||||
super(client, {
|
||||
name: 'porn',
|
||||
aliases: ['pornography', 'porno'],
|
||||
group: 'random-img',
|
||||
memberName: 'porn',
|
||||
description: 'Responds with a random porn image.',
|
||||
details: `**Subreddits:** ${subreddits.join(', ')}`,
|
||||
clientPermissions: ['ATTACH_FILES'],
|
||||
nsfw: true,
|
||||
postType: 'image',
|
||||
getIcon: true,
|
||||
args: [
|
||||
{
|
||||
key: 'subreddit',
|
||||
prompt: `What subreddit do you want to get porn from? Either ${list(subreddits, 'or')}.`,
|
||||
type: 'string',
|
||||
oneOf: subreddits,
|
||||
default: () => subreddits[Math.floor(Math.random() * subreddits.length)],
|
||||
parse: subreddit => subreddit.toLowerCase()
|
||||
}
|
||||
]
|
||||
});
|
||||
}
|
||||
|
||||
generateText(post, subreddit, icon) {
|
||||
return new MessageEmbed()
|
||||
.setColor(0xFF4500)
|
||||
.setAuthor(`r/${subreddit}`, icon, `https://www.reddit.com/r/${subreddit}/`)
|
||||
.setTitle(post.title)
|
||||
.setImage(post.post_hint === 'image' ? post.url : null)
|
||||
.setURL(`https://www.reddit.com${post.permalink}`)
|
||||
.setTimestamp(post.created_utc * 1000)
|
||||
.setFooter(`⬆ ${formatNumber(post.ups)}`);
|
||||
}
|
||||
};
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "114.25.0",
|
||||
"version": "114.26.0",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user