converting all the anime girl gifs to slash commands

This commit is contained in:
Luke Robles 2022-10-18 14:07:51 -07:00
parent 34d75566e4
commit dc4ceef449

View File

@ -4,13 +4,13 @@ import core_utils
import requests
class Weeb(commands.Cog):
class AnimeGirls(commands.Cog):
def __init__(self, bot):
self.bot: commands.Bot = bot
# @commands.command(name="wink")
# @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.reply(
# await ctx.respond(
# embed=core_utils.generate_embed(
# embed_url=requests.get("https://some-random-api.ml/animu/wink").json()[
# "link"
@ -18,238 +18,308 @@ class Weeb(commands.Cog):
# )
# )
@commands.command(name="pout")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="blush")
)
)
@commands.command(name="yeet")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="yeet")
)
)
@commands.command(name="cuddle")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="cuddle")
)
)
@commands.command(name="awoo")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="awoo")
)
)
@commands.command(name="bonk")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="bonk")
)
)
@commands.command(name="glomp")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="glomp")
)
)
@commands.command(name="pout")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="blush")
)
)
@commands.command(name="waifu")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="waifu")
)
)
@commands.command(name="neko")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="neko")
)
)
@commands.command(name="bully")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="bully")
)
)
@commands.command(name="cry")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="cry")
)
)
@commands.command(name="hug")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="hug")
)
)
@commands.command(name="kiss")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="kiss")
)
)
@commands.command(name="lick")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="lick")
)
)
@commands.command(name="pat")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="pat")
)
)
@commands.command(name="smug")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="smug")
)
)
@commands.command(name="highfive")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="highfive")
)
)
@commands.command(name="nom")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="nom")
)
)
@commands.command(name="bite")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="bite")
)
)
@commands.command(name="slap")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="slap")
)
)
@commands.command(name="wink")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="wink")
)
)
@commands.command(name="poke")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="poke")
)
)
@commands.command(name="dance")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="dance")
)
)
@commands.command(name="cringe")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="cringe")
)
)
@commands.command(name="blush")
@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.reply(
await ctx.respond(
embed=core_utils.generate_embed(
embed_url=core_utils.waifu_pics(endpoint="blush")
)
)
@commands.command(name="owo")
@commands.slash_command(
guild_ids=None, name="owo", description="Posts a gif of an anime girl owoing"
)
async def owo(self, ctx: commands.Context):
from owotext import OwO
uwu = OwO()
await ctx.reply(uwu.whatsthis(" ".join(ctx.message.content.split()[1:])))
await ctx.respond(uwu.whatsthis(" ".join(ctx.message.content.split()[1:])))
def setup(bot):
bot.add_cog(Weeb(bot))
bot.add_cog(AnimeGirls(bot))