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.') } } };