This commit is contained in:
Luke Robles 2022-10-18 14:13:07 -07:00
parent 00719f44e2
commit c672445036

View File

@ -1,6 +1,7 @@
from discord import option
from discord.ext import commands from discord.ext import commands
import get_from_reddit
import core_utils import core_utils
import get_from_reddit
import requests import requests
@ -311,14 +312,15 @@ class AnimeGirls(commands.Cog):
) )
) )
@commands.slash_command( @commands.slash_command(guild_ids=None, name="owo", description="owo-afies text")
guild_ids=None, name="owo", description="Posts a gif of an anime girl owoing" @option(
name="input_string", description="The text you want owo-afied", required=True
) )
async def owo(self, ctx: commands.Context): async def owo(self, ctx: commands.Context, input_string: str):
from owotext import OwO from owotext import OwO
uwu = OwO() uwu = OwO()
await ctx.respond(uwu.whatsthis(" ".join(ctx.message.content.split()[1:]))) await ctx.respond(uwu.whatsthis(input_string))
def setup(bot): def setup(bot):