Everything seems to be stable, I think this is fair to be like 0.1.3 or something lmao. I don't know, really just toning his conversation is what'll make a v1.0.
This commit is contained in:
22
quotes.py
22
quotes.py
@@ -16,26 +16,36 @@ QUOTES = {
|
||||
"Hmm... I see.",
|
||||
"What are we doing over here?",
|
||||
"Mmm... Okay! :clap:",
|
||||
"*Loudly* We don't like stupid prizes, now do we? Then, don't play stupid games!",
|
||||
"*LOUDLY* We don't like stupid prizes, now do we? Then, don't play stupid games!",
|
||||
"You guys are killing it!",
|
||||
"Do we need to go back over the module again?",
|
||||
"Let's get it done!",
|
||||
"Sorry, I can't hear over Devan and Connor talking.",
|
||||
"That's what I like to hear!"
|
||||
"That's what I like to hear!",
|
||||
"*Paces*",
|
||||
"*Sprints to the ringing phone*",
|
||||
"*Spins lanyard*",
|
||||
"Come on guys, you should know this already!",
|
||||
"Let me just say this...",
|
||||
"Not trying to be mean or anything...but..."
|
||||
),
|
||||
"RARE" : (
|
||||
"Play stupid games, win big prizescat jacobs.sh! 🤑🤑",
|
||||
"Play stupid games, win big prizes! 🤑🤑",
|
||||
"Oooooo raahahah!",
|
||||
"It's cherry-pickin' time, y'all!",
|
||||
"What does the fox say?"
|
||||
),
|
||||
"MYTHIC" : (
|
||||
"I'm proud of you.",
|
||||
"You can take a 5-minute break."
|
||||
"You can take a 5-minute break.",
|
||||
"I have somewhere to be at 9:30, so you guys will have a sub."
|
||||
),
|
||||
"LEGENDARY": (
|
||||
|
||||
)
|
||||
}
|
||||
|
||||
def select_quote():
|
||||
def select_quote() -> str:
|
||||
rarity = random.randint(0, 99)
|
||||
if rarity < 1:
|
||||
quote = random.choice(QUOTES.get("MYTHIC"))
|
||||
@@ -48,7 +58,7 @@ def select_quote():
|
||||
log_file.write(f"At {datetime.datetime.now()}, rarity was rolled as {rarity} and selected: {quote}\n")
|
||||
return quote
|
||||
|
||||
def select_student():
|
||||
def select_student() -> int:
|
||||
student = random.choice(STUDENT_IDS)
|
||||
with open("./logs/quotes.log", "at+") as log_file:
|
||||
log_file.write(f"At {datetime.datetime.now()}, wanted to see {student} after class.\n")
|
||||
|
||||
Reference in New Issue
Block a user