diff options
Diffstat (limited to 'src/moyai_bot/lib.py')
| -rw-r--r-- | src/moyai_bot/lib.py | 54 |
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} :(" |
