summaryrefslogtreecommitdiff
path: root/src/moyai_bot/lib.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/moyai_bot/lib.py')
-rw-r--r--src/moyai_bot/lib.py54
1 files changed, 13 insertions, 41 deletions
diff --git a/src/moyai_bot/lib.py b/src/moyai_bot/lib.py
index 7ba0864..45f2099 100644
--- a/src/moyai_bot/lib.py
+++ b/src/moyai_bot/lib.py
@@ -1,7 +1,10 @@
+import importlib.resources
import random
import discord
+from moyai_bot import copypastas
+
def get_random_response(moyai):
responses = [
@@ -16,47 +19,16 @@ def get_random_response(moyai):
"moyai",
"i like y***",
"fard",
- "OH MY GOD ITS 3 IN THE MORNING AND IM IN MCDONALDS AND WE JUST " +
- "FOUND OUT THAT WHEN U PULL UP IN MCDONALDS AT 3 AM YOU CAN BUY THE " +
- "AMONG US HAPPY MEAL WITH A TOY IN IT WHICH IS EITHER THE IMPOSTOR OR "
- +
- "THE CREWMATE AND IF YOU DONT KNOW WHAT AMONG US IS YOU MUST BE MUST "
- +
- "REALLY BE LIVING UNDER A ROCK ITS AN AWESOME GAME WITH IMPOSTORS AND "
- +
- "CREWMATES AND BASICALLY THE IMPOSTOR TRIES TO SABOTAGE THE WHOLE GAME "
- +
- "AND THE CREWMATES NEED TO STOP HIM BUT APPARENTLY WHEN YOU PURCHASE "
- + "THE AMONG US HAPPY MEAL SOMETHING SCARY HAPPENS",
- "Tick-tock \n Heavy like a Brinks truck \n Looking like I'm tip-top \n"
- +
- "Shining like a wristwatch \n Time will grab your wrist \n Lock it down "
- +
- "'til the thing pop \n Can you stick around for a minute 'til the ring "
- + "stop? \n Please, God",
- "HOLY SHIT DID YOU JUST SAY THE WORD SUS???😳1?/1😱//1😳/1111!!!! Wait, "
- +
- "you don't know what it is from?😳😳😳Let πŸ‘†give you a brief r/history. πŸ“š"
- +
- "πŸ“šπŸ“šπŸ‘¨β€πŸš€If you didn't r/knowyourshit, the r/term sus(suspicious) is a" +
- "saying from the r/popular r/game r/AmongUs. Among us is so funπŸ˜” πŸ‘‰πŸ‘ˆ, "
- +
- "don't insult it, every youtuber and streamer says so!!!!!!!11 Corpses "
- +
- "voice is so deep am i right or am i right😳😳????? I mean Mr beast and "
- +
- "Dream play and pull big 🧠 1000000000000 iq moves in their videos..... "
- +
- "YOU WERE THE IMPOSTER.... ࢞ ࢞ ࢞ Get it because you don't know what sus "
- +
- "means? r/stupidquestions r/youranidot r/stupidcuck. I CAnT BELEeVE " +
- "YOUU dont KNoW WHT SUS MeaNS?/??!??!?!!πŸ–•πŸ–•πŸ–•πŸ–•πŸ–• Man why do i have to " +
- "r/explain this to a r/idiotπŸ€ͺπŸ€ͺπŸ€ͺπŸ“šπŸ“šπŸ“š... Sus is a GREAT WORD from a GREAT "
- +
- "VIDEO GAME. in class, YOU CAN PLAY IT ON YOUR PHONE😜😜😜😜😜😜**??!?!?** "
- +
- "such a masterpiece... FOR THE GREAT PRICE OF FREE!!!11!πŸ’°πŸ’°πŸ€‘πŸ€‘πŸ€‘πŸ€‘πŸ˜œπŸ˜œπŸ˜œπŸ’°πŸ’° It "
- + "can also mean gay 😳😳😳😳",
str(discord.utils.get(moyai.emojis, name="moyai")),
]
return random.choice(responses)
+
+
+def get_copypasta(name):
+ try:
+ res = importlib.resources.read_text(copypastas, name + ".txt")
+ if res != "":
+ return res
+ except OSError:
+ pass
+ return f"couldn't send copypasta: {name} :("