diff options
| author | 8cy <[email protected]> | 2020-04-17 02:21:36 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-17 02:21:36 -0700 |
| commit | b377c28dc5f0df933ec5d96edd62bc1e3db8af62 (patch) | |
| tree | 4a89fbd8a63f2a68fa916685094e2f4bdaacf26d /src | |
| parent | add missing +, v7.0.1 (diff) | |
| download | dep-core-b377c28dc5f0df933ec5d96edd62bc1e3db8af62.tar.xz dep-core-b377c28dc5f0df933ec5d96edd62bc1e3db8af62.zip | |
add anime cmd group, v7.1.0
Diffstat (limited to 'src')
| -rw-r--r-- | src/bot.ts | 4 | ||||
| -rw-r--r-- | src/commands/anime/neko.ts | 283 | ||||
| -rw-r--r-- | src/commands/anime/uwufy.ts (renamed from src/commands/fun/uwufy.ts) | 0 |
3 files changed, 286 insertions, 1 deletions
@@ -32,7 +32,9 @@ client.registry ['fun', 'Fun Command Group'], ['moderation', 'Moderation Command Group'], ['utility', 'Utility Command Group'], - ['voice', 'Voice Command Group'] + ['voice', 'Voice Command Group'], + ['nsfw', 'NSFW Command Group'], + ['anime', 'Anime Command Group'] ]) .registerDefaultGroups() .registerDefaultCommands({ diff --git a/src/commands/anime/neko.ts b/src/commands/anime/neko.ts new file mode 100644 index 0000000..883b429 --- /dev/null +++ b/src/commands/anime/neko.ts @@ -0,0 +1,283 @@ +import { Command, CommandoMessage } from 'discord.js-commando'; +import nekoClient from 'nekos.life'; +const neko = new nekoClient() + +module.exports = class NekoAnime extends Command { + constructor(client) { + super(client, { + name: 'neko', + aliases: ['kemonomimi', 'nekoslife', 'nekos-life', 'nekos.life'], + group: 'anime', + memberName: 'neko', + description: 'Neko.', + nsfw: false, + examples: [ + 'uwu!neko', + 'uwu!kemonomimi', + 'uwu!nekoslife', + 'uwu!nekos-life', + 'uwu!nekos.life' + ], + args: [ + { + key: 'nekoNSFW', + prompt: 'NSFW or SFW? (NSFW only works in NSFW marked channels)', + type: 'string' + }, + { + key: 'nekoType', + prompt: 'What type of Neko would you like?', + type: 'string' + } + ] + }); + } + async run(msg: CommandoMessage, { nekoNSFW, nekoType }) { + if (nekoNSFW == 'sfw') { + var typeNum = Math.floor((Math.random() * 3) + 1); + if (nekoType == 'smug') { + neko.sfw.smug().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'baka') { + neko.sfw.baka().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'tickle') { + neko.sfw.tickle().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'slap') { + neko.sfw.slap().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'poke') { + neko.sfw.poke().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'pat') { + neko.sfw.pat().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'neko') { + // gif or no + } else if (nekoType == 'meow') { + neko.sfw.meow().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'lizard') { + neko.sfw.lizard().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'kiss') { + neko.sfw.kiss().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'hug') { + neko.sfw.hug().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'foxgirl') { + neko.sfw.foxGirl().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'feed') { + neko.sfw.feed().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'cuddle') { + neko.sfw.cuddle().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'kemo' || nekoType == 'kemonomimi') { + neko.sfw.kemonomimi().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'holo') { + neko.sfw.holo().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'woof') { + neko.sfw.woof().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'wallpaper') { + neko.sfw.wallpaper().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'goose') { + neko.sfw.goose().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'catgirl' || nekoType == 'gecg') { + neko.sfw.gecg().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'avatar') { + neko.sfw.avatar().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'neko') { + if (typeNum == 1) { + neko.sfw.neko().then(result => { + msg.reply({ files: [result.url] }) + }) + } else { + neko.sfw.nekoGif().then(result => { + msg.reply({ files: [result.url] }) + }) + } + } else { + msg.reply('That was not an option.') + } + } else if (nekoNSFW == 'nsfw') { + var typeNum = Math.floor((Math.random() * 3) + 1); + if (!msg.channel.nsfw) msg.reply('This command must be used in a NSFW marked text channel.') + if (nekoType == 'pussy') { + if (typeNum == 1) { + neko.nsfw.pussy().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (typeNum == 2) { + neko.nsfw.pussyArt().then(result => { + msg.reply({ files: [result.url] }) + }) + } else { + neko.nsfw.pussyWankGif().then(result => { + msg.reply({ files: [result.url] }) + }) + } + } else if (nekoType == 'lesbian' || nekoType == 'lesbo') { + neko.nsfw.lesbian().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'kuni') { + neko.nsfw.kuni().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'cumsluts' || nekoType == 'cumslut') { + neko.nsfw.cumsluts().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'classic') { + neko.nsfw.classic().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'boobs' || nekoType == 'boob') { + neko.nsfw.boobs().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'bj' || nekoType == 'blowjob') { + if (typeNum == 1) { + neko.nsfw.bJ().then(result => { + msg.reply({ files: [result.url] }) + }) + } else { + neko.nsfw.blowJob().then(result => { + msg.reply({ files: [result.url] }) + }) + } + } else if (nekoType == 'anal') { + neko.nsfw.anal().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'yuri') { + if (typeNum == 1) { + neko.nsfw.yuri().then(result => { + msg.reply({ files: [result.url] }) + }) + } else { + neko.nsfw.eroYuri().then(result => { + msg.reply({ files: [result.url] }) + }) + } + } else if (nekoType == 'trap') { + neko.nsfw.trap().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'tits') { + neko.nsfw.tits().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'girl' || nekoType == 'girlsolo' || nekoType == 'girl solo' || nekoType == 'girl-solo' || nekoType == 'girls') { + if (typeNum == 1) { + neko.nsfw.girlSolo().then(result => { + msg.reply({ files: [result.url] }) + }) + } else { + neko.nsfw.girlSoloGif().then(result => { + msg.reply({ files: [result.url] }) + }) + } + } else if (nekoType == 'kitsune') { + if (typeNum == 1) { + neko.nsfw.kitsune().then(result => { + msg.reply({ files: [result.url] }) + }) + } else { + neko.nsfw.eroKitsune().then(result => { + msg.reply({ files: [result.url] }) + }) + } + } else if (nekoType == 'keta') { + neko.nsfw.keta().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'hentai') { + if (typeNum == 1) { + neko.nsfw.hentai().then(result => { + msg.reply({ files: [result.url] }) + }) + } else { + neko.nsfw.randomHentaiGif().then(result => { + msg.reply({ files: [result.url] }) + }) + } + } else if (nekoType == 'futanari') { + neko.nsfw.futanari().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'femdom') { + neko.nsfw.femdom().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'feet') { + if (typeNum == 1) { + neko.nsfw.feet().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (typeNum == 2) { + neko.nsfw.feetGif().then(result => { + msg.reply({ files: [result.url] }) + }) + } else { + neko.nsfw.eroFeet().then(result => { + msg.reply({ files: [result.url] }) + }) + } + } else if (nekoType == 'ero') { + neko.nsfw.ero().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'cumart') { + neko.nsfw.cumArts().then(result => { + msg.reply({ files: [result.url] }) + }) + } else if (nekoType == 'cum') { + if (typeNum == 1) { + neko.nsfw.cumArts().then(result => { + msg.reply({ files: [result.url] }) + }) + } else { + neko.nsfw.cumsluts().then(result => { + msg.reply({ files: [result.url] }) + }) + } + } else { + msg.reply('That was not an option.') + } + } else { + msg.reply('That was not an option.') + } + } +};
\ No newline at end of file diff --git a/src/commands/fun/uwufy.ts b/src/commands/anime/uwufy.ts index db0f19b..db0f19b 100644 --- a/src/commands/fun/uwufy.ts +++ b/src/commands/anime/uwufy.ts |