From d7c0dd5ac7ce11ca24f4d05c35820182957fa075 Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 31 Jan 2023 18:09:23 -0500 Subject: fix: take question as argument in /ask --- src/teawie_bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/teawie_bot/bot.py') diff --git a/src/teawie_bot/bot.py b/src/teawie_bot/bot.py index 7e2e6d1..835783a 100644 --- a/src/teawie_bot/bot.py +++ b/src/teawie_bot/bot.py @@ -48,7 +48,7 @@ async def ask(ctx: commands.Context): name="ask", description="ask lord teawie a question and they shall respond", guild=SERVER_ID) -async def ask_slash_command(interaction: discord.Interaction): +async def ask_slash_command(interaction: discord.Interaction, question: str): # pylint: disable=unused-argument msg = utils.get_random_response(bot) await interaction.response.send_message(msg) -- cgit v1.2.3