summaryrefslogtreecommitdiff
path: root/src/moyai_bot/bot.py
diff options
context:
space:
mode:
authorseth <[email protected]>2023-01-10 00:21:10 -0500
committerseth <[email protected]>2023-01-10 00:21:10 -0500
commit3cd5709b00738d8f3b79f0892d978c18d302c2d1 (patch)
treea663a119d173378b41d985a67b3b6044ac2e3f73 /src/moyai_bot/bot.py
parent365ee637180a15f7c3ebcb1a2553d021b3b74e1e (diff)
feat: add random teawie command
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 5b1431b..1a5ada8 100644
--- a/src/moyai_bot/bot.py
+++ b/src/moyai_bot/bot.py
@@ -2,6 +2,7 @@ import discord
from discord import app_commands
from discord.ext import commands
+from moyai_bot.apis import guzzle
from moyai_bot.lib import get_copypasta, get_random_response
SERVER_ID = discord.Object(id=1055663552679137310)
@@ -76,3 +77,11 @@ async def copypasta(interaction: discord.Interaction,
await interaction.response.send_message(msg)
else:
await interaction.channel.send(msg)
+
+
[email protected](name="random_teawie",
+ description="get a random teawie!",
+ guild=SERVER_ID)
+async def random_teawie(interaction: discord.Interaction):
+ msg = guzzle.get_random_teawie()
+ await interaction.response.send_message(msg)