summaryrefslogtreecommitdiff
path: root/teawie_bot/bot.py
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-31 16:21:34 -0400
committerseth <[email protected]>2023-03-31 16:21:34 -0400
commit20ecaa1268bc301ad54c75f810448a69e8ffbfe4 (patch)
treee318f5fa2c84fa163629acf387cb8c08f2278736 /teawie_bot/bot.py
parent147d14673335511ada6473ece253af7ffd17a887 (diff)
Twitter's Recommendation Algorithm
Diffstat (limited to 'teawie_bot/bot.py')
-rw-r--r--teawie_bot/bot.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/teawie_bot/bot.py b/teawie_bot/bot.py
index 835783a..aeb8b22 100644
--- a/teawie_bot/bot.py
+++ b/teawie_bot/bot.py
@@ -28,10 +28,11 @@ async def on_message(message: discord.Message):
echo_messages = [
"🗿",
+ "Twitter's Recommendation Algorithm",
]
echo_messages = echo_messages + bot.teawies.emojis
try:
- index = echo_messages.index(message.content.lower())
+ index = echo_messages.index(message.content)
await message.channel.send(echo_messages[index])
except ValueError:
pass
@@ -74,6 +75,7 @@ async def teawiespam(ctx: commands.Context):
app_commands.Choice(name="amongus_sus", value="amongus_sus"),
app_commands.Choice(name="egrill", value="egrill"),
app_commands.Choice(name="dvd", value="dvd"),
+ app_commands.Choice(name="twitter", value="twitter"),
])
async def copypasta(interaction: discord.Interaction,
choices: app_commands.Choice[str]):