(function(){"use strict";var i="/img/tickle",o="/img/slap",m="/img/poke",l="/img/pat",r="/img/neko",n="/img/meow",g="/img/lizard",v="/img/kiss",u="/img/hug",t="/img/fox_girl",s="/img/feed",p="/img/cuddle",d="/why",f="/cat",c="/owoify",k="/8ball",w="/fact",h="/img/ngif",y="/img/kemonomimi",x="/img/holo",b="/img/smug",G="/img/baka",z="/img/woof",O="/spoiler",T="/img/wallpaper",B="/img/goose",_="/img/gecg",j="/img/avatar",q="/img/waifu",C={tickle:i,slap:o,poke:m,pat:l,neko:r,meow:n,lizard:g,kiss:v,hug:u,foxGirl:t,feed:s,cuddle:p,why:d,catText:f,OwOify:c,eightBall:k,fact:w,nekoGif:h,kemonomimi:y,holo:x,smug:b,baka:G,woof:z,spoiler:O,wallpaper:T,goose:B,gecg:_,avatar:j,waifu:q};async function E(a){return(await(await fetch(`https://nekos.life/api/v2/${C[a]}`)).json()).url}let e=[];var L=()=>({onLoad(){e.push(cumcord.commands.addCommand({name:"neko",description:"Send images from nekos.life",args:[{name:"endpoint",description:"The type of image to get",type:"string",required:!0,choices:[{name:"dog",value:"woof"},{name:"tickle",value:"tickle"},{name:"slap",value:"slap"},{name:"poke",value:"poke"},{name:"pat",value:"pat"},{name:"neko",value:"neko"},{name:"cat",value:"meow"},{name:"lizard",value:"lizard"},{name:"kiss",value:"kiss"},{name:"hug",value:"hug"},{name:"foxGirl",value:"fox_girl"},{name:"feed",value:"feed"},{name:"cuddle",value:"cuddle"},{name:"nekoGif",value:"ngif"},{name:"kemonomimi",value:"kemonomimi"},{name:"holo",value:"holo"},{name:"smug",value:"smug"},{name:"baka",value:"baka"},{name:"wallpaper",value:"wallpaper"},{name:"goose",value:"goose"},{name:"gecg",value:"gecg"},{name:"avatar",value:"avatar"},{name:"waifu",value:"waifu"}]}],handler:(a,N)=>E(a.args.endpoint)}))},onUnload(){e.forEach(a=>a())}});return L})();
