dragon-bot/app/cogs/anime_girls.py

301 lines
9.3 KiB
Python
Executable File

from discord import option
from discord.ext import commands
import core_utils
class AnimeGirls(commands.Cog):
def __init__(self, bot):
self.bot: commands.Bot = bot
# @commands.slash_command(guild_ids=None, name="wink", description="Posts a gif of an anime girl winking")
# async def wink(self, ctx: commands.Context):
# await ctx.respond(
# embed=core_utils.generate_embed(
# embed_url=requests.get("https://some-random-api.ml/animu/wink").json()[
# "link"
# ]
# )
# )
@commands.slash_command(
guild_ids=None, name="pout", description="Posts a gif of an anime girl pouting"
)
async def pout(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="blush")
)
)
@commands.slash_command(
guild_ids=None, name="yeet", description="Posts a gif of an anime girl yeeting"
)
async def yeet(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="yeet")
)
)
@commands.slash_command(
guild_ids=None,
name="cuddle",
description="Posts a gif of an anime girl cuddleing",
)
async def cuddle(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="cuddle")
)
)
@commands.slash_command(
guild_ids=None, name="awoo", description="Posts a gif of a dog/anime girl"
)
async def awoo(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="awoo")
)
)
@commands.slash_command(
guild_ids=None,
name="bonk",
description="Posts a gif of an anime bonking someone on the head",
)
async def bonk(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="bonk")
)
)
@commands.slash_command(
guild_ids=None, name="glomp", description="Posts a gif of an aggressive hug"
)
async def glomp(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="glomp")
)
)
@commands.slash_command(
guild_ids=None, name="pout", description="Posts a gif of an anime girl pouting"
)
async def pout(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="blush")
)
)
@commands.slash_command(
guild_ids=None, name="waifu", description="Posts a gif of an anime girl"
)
async def waifu(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="waifu")
)
)
@commands.slash_command(
guild_ids=None, name="neko", description="Posts a gif of a cat/anime girl"
)
async def neko(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="neko")
)
)
@commands.slash_command(
guild_ids=None,
name="bully",
description="Posts a gif of an anime girl bullying someone",
)
async def bully(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="bully")
)
)
@commands.slash_command(
guild_ids=None, name="cry", description="Posts a gif of an anime girl crying"
)
async def cry(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="cry")
)
)
@commands.slash_command(
guild_ids=None, name="hug", description="Posts a gif of an anime girl huging"
)
async def hug(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="hug")
)
)
@commands.slash_command(
guild_ids=None, name="kiss", description="Posts a gif of an anime girl kissing"
)
async def kiss(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="kiss")
)
)
@commands.slash_command(
guild_ids=None, name="lick", description="Posts a gif of an anime girl licking"
)
async def lick(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="lick")
)
)
@commands.slash_command(
guild_ids=None,
name="pat",
description="Posts a gif of an anime girl pating someone on the head",
)
async def pat(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="pat")
)
)
@commands.slash_command(
guild_ids=None,
name="smug",
description="Posts a gif of an anime girl being smug",
)
async def smug(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="smug")
)
)
@commands.slash_command(
guild_ids=None,
name="highfive",
description="Posts a gif of an anime girl highfiveing",
)
async def highfive(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="highfive")
)
)
@commands.slash_command(
guild_ids=None, name="nom", description="Posts a gif of an anime girl eating"
)
async def nom(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="nom")
)
)
@commands.slash_command(
guild_ids=None,
name="bite",
description="Posts a gif of an anime girl biting someone",
)
async def bite(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="bite")
)
)
@commands.slash_command(
guild_ids=None, name="slap", description="Posts a gif of an anime girl slapping"
)
async def slap(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="slap")
)
)
@commands.slash_command(
guild_ids=None, name="wink", description="Posts a gif of an anime girl winking"
)
async def wink(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="wink")
)
)
@commands.slash_command(
guild_ids=None, name="poke", description="Posts a gif of an anime girl pokeing"
)
async def poke(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="poke")
)
)
@commands.slash_command(
guild_ids=None, name="dance", description="Posts a gif of an anime girl dancing"
)
async def dance(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="dance")
)
)
@commands.slash_command(
guild_ids=None,
name="cringe",
description="Posts a gif of an anime girl cringeing",
)
async def cringe(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="cringe")
)
)
@commands.slash_command(
guild_ids=None,
name="blush",
description="Posts a gif of an anime girl blushing",
)
async def blush(self, ctx: commands.Context):
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="blush")
)
)
@commands.slash_command(guild_ids=None, name="owo", description="owo-afies text")
@option(
name="input_string", description="The text you want owo-afied", required=True
)
async def owo(self, ctx: commands.Context, input_string: str):
from owotext import OwO
uwu = OwO()
await ctx.respond(uwu.whatsthis(input_string))
def setup(bot):
bot.add_cog(AnimeGirls(bot))