summaryrefslogtreecommitdiff
path: root/src/moyai_bot/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/moyai_bot/bot.py')
-rw-r--r--src/moyai_bot/bot.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/moyai_bot/bot.py b/src/moyai_bot/bot.py
index 9c4508d..5b1431b 100644
--- a/src/moyai_bot/bot.py
+++ b/src/moyai_bot/bot.py
@@ -39,6 +39,15 @@ async def ask(ctx: commands.Context):
await ctx.send(get_random_response(moyai))
+ name="ask",
+ description="ask lord moyai a question and they shall respond",
+ guild=SERVER_ID)
+async def ask_slash_command(interaction: discord.Interaction):
+ msg = get_random_response(moyai)
+ await interaction.response.send_message(msg)
+
+
@moyai.command()
async def moyaispam(ctx: commands.Context):
msg = str()