Package: popcat-wrapper
popcat_wrapperCommunityJoinour serverif you want to have fun or need any help!Installationpip install popcat-wrapperExamplesRandomfacts command, no input example:importdiscordfromdiscord.extimportcommandsfrompopcat_wrapperimportpopcat_wrapperaspopbot=commands.Bot(command_prefix=">")@bot.command()asyncdefrandomfacts(ctx):res=awaitpop.randomfacts()awaitctx.send(res)bot.run("discord bot token")Pikachu command, one input example:importdiscordfromdiscord.extimportcommandsfrompopcat_wrapperimportpopcat_wrapperaspopbot=commands.Bot(command_prefix=">")@bot.command()asyncdefpikachu(ctx):text="String"image=awaitpop.pikachu(text)awaitctx.send(image)bot.run("discord bot token")Drake meme command, more than one text input example:importdiscordfromdiscord.extimportcommandsfrompopcat_wrapperimportpopcat_wrapperaspopbot=commands.Bot(command_prefix=">")@bot.command()asyncdefdrake(ctx):text="String"text2="String 2"image=awaitpop.drake(text,text2)awaitctx.send(image)bot.run("discord bot token")Ad command, image input example:importdiscordfromdiscord.extimportcommandsfrompopcat_wrapperimportpopcat_wrapperaspopbot=commands.Bot(command_prefix=">")@bot.command()asyncdefdrake(ctx,member:discord.Member=None):ifmember==None:member=ctx.authorpfp=member.avatar_url_as(size=128)image=awaitpop.ad(pfp)awaitctx.send(image)bot.run("discord bot token")Country command, object input examplefrompopcat_wrapperimportpopcat_wrapperaspopcolor="ffcc99"res=awaitpop.country(name="canada")print(res)Output example:{"name":"Canada","domain":".ca","calling_codes":"1","capital":"Ottawa","region":"NorthernAmerica","population":"36,155,487","area":"9,984,670SquareKM","flag":"https://api.popcatdev.repl.co/countries/canada/flag","currency":{"short":"CAD","name":"Canadiandollar","symbol":"$"}}If you want to get data from a specific property (for example domain), you need to replacepop.country(name="canada")withpop.country(name="canada", property="domain"). You may have noticed that there is a sub object within the main one, you may ask "How do i get data from a property inside the sub object?"; here's how:You usepop.country(name="canada", property="currency.propertyname").For example:pop.country(name="canada", property="currency.symbol").This method applies to Playstore, iTunes, WouldYouRather, RandomMeme, instagramUser, car, npm, banner, country, weather, github and Colorinfo.Welcome cardimportdiscord,aiohttp,asynciofromdiscord.extimportcommandsfrompopcat_wrapperimportpopcat_wrapperaspopbot=commands.Bot(command_prefix=">")@bot.command()asyncdefwelcomecard(ctx):image=awaitpop.welcomecard(background,text1,text2,text3,)awaitctx.send(image)bot.run("discord bot token")EndpointsYou can get a full list of the possible API endpointsHereBut here is the list:drake(text1, text2)pooh(text1, text2)ship(image1, image2)colorify(image, color)biden(text)pikachu(text)drip(image)clown(image)ad(image)blur(image)invert(image)greyscale(image)jokeoverhead(image)mnm(image)translate(text, language)reverse(text)alert(text)caution(text)mock(text)facts(text)encode(text)decode(binary)doublestruck(text)texttomorse(text)playstore(app, property)itunes(song, property)npm(name, property)instagramUser(user, property)car(property)colorinfo()welcomecard(background, text1, text2, text3, avatar)joke()randommeme()fact()_8ball()wanted(image)simp(image)lulcat(text)weather(location, property)opinion(image, text)pet(image)url_shortener(url, extension)screenshot(url)github(user, property)whowouldwin(image1, image2)CreditsMade with <3 (and python) by reset#0002 and NotFaizen#2005Join Our Discord Server!Link