Spaces:
Sleeping
Sleeping
Create toast_messages.py
Browse files- helpers/toast_messages.py +28 -0
helpers/toast_messages.py
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# List of toast messages paired with their icons
|
| 2 |
+
TOAST_MESSAGES = [
|
| 3 |
+
("Ready to test your YouTube knowledge?", "π₯"),
|
| 4 |
+
("QuizTube welcomes you!", "π"),
|
| 5 |
+
("Think you caught all the details? Let's find out!", "π"),
|
| 6 |
+
("It's quiz time! No spoilers allowed.", "β³"),
|
| 7 |
+
("Popped in for a quiz? You're in the right place!", "πΏ"),
|
| 8 |
+
("Get your YouTube thinking cap on!", "π"),
|
| 9 |
+
("Your next YouTube challenge awaits!", "π"),
|
| 10 |
+
("Another video, another quiz!", "π"),
|
| 11 |
+
("Turn those video views into victories!", "ποΈ"),
|
| 12 |
+
("Did you pay attention? It's quiz o'clock!", "β°"),
|
| 13 |
+
("YouTube is fun, but quizzes? Even better!", "π"),
|
| 14 |
+
("Unleash your YouTube prowess here!", "π¦Έ"),
|
| 15 |
+
("Knowledge check: Engage!", "π¦"),
|
| 16 |
+
("Video watched? Check. Quiz taken? Pending...", "β
"),
|
| 17 |
+
("Dive deeper into your YouTube content.", "π"),
|
| 18 |
+
("Up for a YouTube rewind in quiz form?", "βͺ"),
|
| 19 |
+
("Let's decode your recent YouTube watch!", "π§©"),
|
| 20 |
+
("Adding some quiz spice to your YouTube binge!", "πΆοΈ"),
|
| 21 |
+
("Transform your watch time into quiz time!", "π"),
|
| 22 |
+
("Here to validate your YouTube expertise?", "π")
|
| 23 |
+
]
|
| 24 |
+
|
| 25 |
+
def get_random_toast():
|
| 26 |
+
"""Returns a random toast message and icon."""
|
| 27 |
+
import random
|
| 28 |
+
return random.choice(TOAST_MESSAGES)
|