summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-01-31 18:09:23 -0500
committerseth <[email protected]>2023-01-31 18:09:23 -0500
commitd7c0dd5ac7ce11ca24f4d05c35820182957fa075 (patch)
tree6ae0bd02879c8d4a8c33534c9bd1d9ebaad61a64
parentb6cdf6c0bd1011bfdcebd1f0bdc42d619a54c377 (diff)
fix: take question as argument in /ask
-rw-r--r--src/teawie_bot/bot.py2
1 files changed, 1 insertions, 1 deletions
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)