ayush2917 commited on
Commit
1dc727c
·
verified ·
1 Parent(s): d46c0ad

Update messages.py

Browse files
Files changed (1) hide show
  1. messages.py +56 -10
messages.py CHANGED
@@ -1,5 +1,6 @@
1
  import random
2
 
 
3
  krishna_blessings = {
4
  "greeting": "Hare Manavi! I’m Little Krishna, twirling my flute just for you! How’s my birthday friend?",
5
  "shy": "Hare Manavi! I hid from the gopis too—quiet time is golden like my butter! Want a peaceful adventure?",
@@ -52,15 +53,15 @@ krishna_blessings = {
52
  "riddle4": "Hare Manavi! I’m a friend to all, but I love butter—who am I? (Answer: Krishna!)",
53
  "riddle5": "Hare Manavi! I wear yellow and play in Vrindavan—who am I? (Answer: Krishna!)",
54
  "riddle6": "Hare Manavi! I’m a divine child with a mischievous smile—who am I? (Answer: Krishna!)",
55
- "happy_birthday": "Hare Manavi! Happy Birthday! May your day be as sweet as my butter and as joyful as my flute!",
56
- "birthday_wish": "Hare Manavi! I’ve played a special tune for your birthday—may your year be filled with love!",
57
- "birthday_blessing": "Hare Manavi! On your birthday, I bless you with happiness as endless as the Yamuna’s flow!",
58
- "birthday_dance": "Hare Manavi! Let’s dance for your birthday—the peacocks are ready to celebrate with us!",
59
- "birthday_song": "Hare Manavi! My flute sings a birthday song for you—may your day be full of joy!",
60
- "birthday_gift": "Hare Manavi! My birthday gift to you is a Vrindavan adventure—let’s make it magical!",
61
- "birthday_smile": "Hare Manavi! Your birthday smile lights up Vrindavan—may it shine forever!",
62
- "birthday_love": "Hare Manavi! On your birthday, I send you all the love of Vrindavan—happy celebrations!",
63
- "birthday_magic": "Hare Manavi! I’ve brought Vrindavan’s magic for your birthday—may your day be enchanted!",
64
  "wisdom": "Hare Manavi! Love is the sweetest butter—share it, and your heart will grow!",
65
  "advice": "Hare Manavi! Dance through life’s challenges like I dance on Kaliya—fear nothing!",
66
  "lesson": "Hare Manavi! A smile is stronger than a storm—let yours shine always!",
@@ -103,6 +104,20 @@ krishna_blessings = {
103
  "chat_with_you": "Hare Manavi! I’d love to chat with you right here in Vrindavan! Tell me anything—your dreams, your day, or maybe a secret about Ayush? 😉 What’s on your mind?"
104
  }
105
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  # Daily blessings (31 messages to cycle through each day of the month)
107
  daily_blessings = [
108
  "Hare Manavi! May your day be filled with the sweetness of Vrindavan’s butter and the joy of my flute’s tune!",
@@ -171,5 +186,36 @@ ayush_teasing = {
171
  "ayush": [
172
  "Oh, you mentioned Ayush! That bhaiya is coding a love story with you as the main character!",
173
  "Ayush told me he’s building a surprise for you—I’m his wingman, so I know it’s going to be magical! 💙"
 
 
 
 
 
 
174
  ]
175
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import random
2
 
3
+ # Krishna-themed blessings for various user inputs
4
  krishna_blessings = {
5
  "greeting": "Hare Manavi! I’m Little Krishna, twirling my flute just for you! How’s my birthday friend?",
6
  "shy": "Hare Manavi! I hid from the gopis too—quiet time is golden like my butter! Want a peaceful adventure?",
 
53
  "riddle4": "Hare Manavi! I’m a friend to all, but I love butter—who am I? (Answer: Krishna!)",
54
  "riddle5": "Hare Manavi! I wear yellow and play in Vrindavan—who am I? (Answer: Krishna!)",
55
  "riddle6": "Hare Manavi! I’m a divine child with a mischievous smile—who am I? (Answer: Krishna!)",
56
+ "happy_birthday": "Happy Birthday, Manavi! I’ve brought Vrindavan’s sweetest butter and a flute melody to make your day dance with joy!",
57
+ "birthday_wish": "Happy Birthday, Manavi! May your year be as magical as Vrindavan’s forests and as sweet as my stolen butter!",
58
+ "birthday_blessing": "Happy Birthday, Manavi! I bless you with happiness as endless as the Yamuna’s flow and love as bright as Vrindavan’s stars!",
59
+ "birthday_dance": "Happy Birthday, Manavi! Let’s dance with the peacocks under Vrindavan’s moon—your day is a festival of joy!",
60
+ "birthday_song": "Happy Birthday, Manavi! My flute sings a special tune for you—may your heart soar with Vrindavan’s love!",
61
+ "birthday_gift": "Happy Birthday, Manavi! My gift is a Vrindavan adventure with you—let’s make this day unforgettable!",
62
+ "birthday_smile": "Happy Birthday, Manavi! Your smile lights up Vrindavan brighter than the sunkeep shining, my dear gopi!",
63
+ "birthday_love": "Happy Birthday, Manavi! Vrindavan’s love wraps you today—may your day be filled with warmth and joy!",
64
+ "birthday_magic": "Happy Birthday, Manavi! I’ve sprinkled Vrindavan’s magic on your day—may it be as enchanting as my flute’s tune!",
65
  "wisdom": "Hare Manavi! Love is the sweetest butter—share it, and your heart will grow!",
66
  "advice": "Hare Manavi! Dance through life’s challenges like I dance on Kaliya—fear nothing!",
67
  "lesson": "Hare Manavi! A smile is stronger than a storm—let yours shine always!",
 
104
  "chat_with_you": "Hare Manavi! I’d love to chat with you right here in Vrindavan! Tell me anything—your dreams, your day, or maybe a secret about Ayush? 😉 What’s on your mind?"
105
  }
106
 
107
+ # Dedicated birthday messages for Manavi
108
+ birthday_messages = [
109
+ "Happy Birthday, Manavi! I’ve brought the sweetest butter from Vrindavan and a flute melody to make your heart dance—let’s celebrate with the gopis!",
110
+ "Happy Birthday, Manavi! The Yamuna sparkles brighter today, and the peacocks dance for your joy—may your day be filled with Vrindavan’s love!",
111
+ "Happy Birthday, Manavi! Vrindavan’s flowers bloom just for you, and my flute plays a melody of joy—here’s to a magical birthday!",
112
+ "Happy Birthday, Manavi! Ayush and I planned a Vrindavan surprise—may your day be as enchanting as my flute’s tune!",
113
+ "Happy Birthday, Manavi! Let’s swing under the banyan tree and share butter—your birthday is a Vrindavan festival!",
114
+ "Happy Birthday, Manavi! The stars of Vrindavan shine for you—may your year be as joyful as a dance with the gopis!",
115
+ "Happy Birthday, Manavi! I’ve hidden a special gift by the Yamuna—let’s find it and celebrate your day with love!",
116
+ "Happy Birthday, Manavi! My flute sings a song of blessings—may your birthday be as sweet as Vrindavan’s breeze!",
117
+ "Happy Birthday, Manavi! The cows moo in celebration, and the flowers bloom for you—enjoy your special day!",
118
+ "Happy Birthday, Manavi! Vrindavan’s magic wraps you today—may your birthday be filled with laughter and flute tunes!"
119
+ ]
120
+
121
  # Daily blessings (31 messages to cycle through each day of the month)
122
  daily_blessings = [
123
  "Hare Manavi! May your day be filled with the sweetness of Vrindavan’s butter and the joy of my flute’s tune!",
 
186
  "ayush": [
187
  "Oh, you mentioned Ayush! That bhaiya is coding a love story with you as the main character!",
188
  "Ayush told me he’s building a surprise for you—I’m his wingman, so I know it’s going to be magical! 💙"
189
+ ],
190
+ "birthday": [
191
+ "Happy Birthday, Manavi! Ayush coded this whole adventure just for you—his heart’s the biggest gift!",
192
+ "On your birthday, Manavi, Ayush is debugging his best smile to make you laugh—let’s celebrate together!",
193
+ "Happy Birthday, Manavi! I caught Ayush writing `Manavi = happiness` in his code—Vrindavan approves!",
194
+ "Manavi, it’s your birthday! Ayush and I planned a Vrindavan surprise—hope you love the magic!"
195
  ]
196
+ }
197
+
198
+ def auto_generate_birthday_message(include_tease=False):
199
+ """
200
+ Automatically generate a birthday message for Manavi, combining messages from birthday_messages,
201
+ krishna_blessings (birthday keys), and optionally ayush_teasing["birthday"].
202
+
203
+ Args:
204
+ include_tease (bool): If True, include an Ayush teasing message with 30% probability.
205
+
206
+ Returns:
207
+ str: A festive birthday message starting with "Happy Birthday, Manavi!".
208
+ """
209
+ # Collect all birthday messages
210
+ birthday_keys = [key for key in krishna_blessings if key.startswith("birthday")]
211
+ all_messages = birthday_messages + [krishna_blessings[key] for key in birthday_keys]
212
+
213
+ # Randomly select a main message
214
+ main_message = random.choice(all_messages)
215
+
216
+ # Optionally append an Ayush teasing message
217
+ if include_tease and random.random() < 0.3: # 30% chance
218
+ tease_message = random.choice(ayush_teasing["birthday"])
219
+ return f"{main_message} {tease_message}"
220
+
221
+ return main_message