Skip to content
    Chat Bot@EmilyRoy
    main.py
    import random


    angery = ["If people criticize me, I can survive that. Nothing says that I have to be perfect.","\nFeeling stuck is a feeling, not a fact."," \nI am able to be angry without exploding","\nI control myself"," \nI have a right to assert myself."," \nI am more than my thoughts. I am more than my emotions.","\nIt’s okay to walk away from this fight.","\nI allow myself to acknowledge angry feelings without losing control.","\nI always speak my mind rather than let frustrations build up"," \nThere isn’t any need to doubt myself\n. What other people say doesn’t matter. I’m the only person who can make me mad or keep me calm.","\nI control my anger by expressing myself in a firm yet positive manner."]

    Sady = ["I am resilient in the face of any challenge","\n Not everybody will understand my situation, and it is okay","\nI am much more than what I think I am","\nI have made it this far, and I won’t stop now","\nI am not perfect, and it is okay. I forgive myself and everyone for not being perfect. We are enough, and that is all that counts","\nThis darkness won’t last forever","\nI don’t have anything to prove to myself or anybody else. I am enough, and that is okay","\nIt’s in my head. It won’t last forever, and I will come out stronger","\nIt's not my fault","\nI forgive myself, and I don’t blame myself for my current situation","\nI am needed regardless of how worthless I feel","\nI am more than what people think I am, and my thoughts do not shape my life"]

    Tiredy = ["\nI know that peace is possible.","\nEven though I'm tired, I can still feel my heart beating.","\nEven though I'm tired, I can still feel the miracle of my being here.","\nI can focus on one thing","\n I can choose the closest good-feeling thought that’s available to me.","\n I can trust that, one breath at a time, I am on my way to where I need to be","\nI am walking a path, and I am not destined to be in this spot forever","\nWe are all tired but are carrying on by strength","\nI am strong but I can still be tired"]

    anxiousy = ["\nI am not my anxiety.","\nI focus my energy on my values, not my anxiety.","\nI will survive. (I have survived my anxiety before. I will survive now)","\nI am talented and have many things to offer","I am not a failure, and I never will be","\n there are people who love me","\n I am safe and under no threats from the world around me","\n My Past Experiences Can’t Stop Me From Succeeding In future"]

    scaredy = ["\n I am brave enough to take chances","\nMy setbacks make me stronger.","\nI am strong and powerful.","\n I am protected by the universe.","\n I am protected by the universe.","\n I have what it takes to conquer my fears.","\n I feel the fear and do it anyway.""\n I will be ok, and thats what mattered""\n I may be scared now but in the future I will be ok","\nI can beat anything that goes against me into dust" ,"Like thanos, with a snap all my problems are gone"]
    def anger():
    random.shuffle(angery)
    print(angery[0])
    del angery[0]
    print("Would you like another affirmation? Type yes for more options and no for quit.")
    affirm=input()
    if(affirm=="no"):
    print("Have a nice day, I hope you feel better and come back if you ever need help.")
    quit()
    if(affirm=="yes"):
    anger()
    else:
    print("Please input a valid resposnse in nlowercase")
    if(affirm=="no"):
    print("Have a nice day, I hope you feel better and come back if you ever need help.")
    quit()
    if(affirm=="yes"):
    anger()
    def scared():
    random.shuffle(scaredy)
    print(scaredy[0])
    del scaredy[0]
    print("Would you like another affirmation? Type yes for more options and no for quit.")
    affirm=input()
    if(affirm=="no"):
    print("Have a nice day, I hope you feel better and come back if you ever need help.")
    quit()
    if(affirm=="yes"):
    scared()
    else:
    print("Please input a valid resposnse in lowercase")
    def anxious():
    random.shuffle(anxiousy)
    print(anxiousy[0])
    del anxiousy[0]
    print("Would you like another affirmation? Type yes for more options and no for quit.")
    affirm=input()
    if(affirm=="no"):
    print("Have a nice day, I hope you feel better and come back if you ever need help.")
    quit()
    if(affirm=="yes"):
    anxious()
    else:
    print("Please input a valid resposnse in lowercase")
    def Tired():
    random.shuffle(Tiredy)
    print(Tiredy[0])
    del Tiredy[0]
    print("Would you like another affirmation? Type yes for more options and no for quit.")
    affirm=input()
    if(affirm=="no"):
    print("Have a nice day, I hope you feel better and come back if you ever need help.")
    quit()
    if(affirm=="yes"):
    Tired()
    else:
    print("Please input a valid resposnse in lowercase")
    def Sad():
    random.shuffle(Sady)
    print(Sady[0])
    del Sady[0]
    print("Would you like another affirmation? Type yes for more options and no for quit.")
    affirm=input()
    if(affirm=="no"):
    print("Have a nice day, I hope you feel better and come back if you ever need help.")
    quit()
    if(affirm=="yes"):
    Sad()
    else:
    print("Please input a valid resposnse in lowercase")

    def good():
    print("That sounds good. And remember that it's ok if you don't always feel good. It is ok to not be ok. \n Out of these 5 feelings which one do you feel the most; Sad, Angry, Tired, Anxious or Scared.")
    feeling=input()
    if(feeling=="Sad"):
    print("Would you like to hear some affirmations about sadness?")
    bn=input()
    if(bn=="yes"):
    Sad()
    if(bn=="no"):
    quit()
    else:
    ("please type correctly")
    bn=input()
    if(bn=="yes"):
    Sad()
    if(bn=="no"):
    quit()
    if(feeling=="Scared"):
    print("Would you like to hear Affirmations about fear?")
    gn=input()
    if(gn=="yes"):
    scared()
    if(gn=="no"):
    quit()
    else:
    ("please type correctly")
    gn=input()
    if(gn=="yes"):
    scared()
    if(gn=="no"):
    quit()
    if(feeling=="Angry"):
    print("Would you like to hear some quotes/affirmations about anger?")
    yn=input()
    if(yn=="yes"):
    anger()
    if(yn=="no"):
    quit()
    else:
    ("please type correctly")
    if(feeling=="Tired"):
    print("Would you like to hear some affirmations about Tiredness?")
    en=input()
    if(en=="yes"):
    Tired()
    if(en=="no"):
    quit()
    else:
    ("please type correctly")
    print("Would you like to hear some affirmations about Tiredness?")
    en=input()
    if(en=="yes"):
    Tired()
    if(en=="no"):
    quit()
    if(feeling=="Anxious"):
    print("Would you like to hear some affirmation about Anxiety?")
    ln=input()
    if(ln=="yes"):
    anxious()
    if(ln=="no"):
    quit()
    else:
    ("please type correctly")
    print("Would you like to hear some sadness about Anxiety?")
    ln=input()
    if(ln=="yes"):
    anxious()
    if(ln=="no"):
    quit()
    else:
    print("please type correctly")
    good()

    def bad():
    print(name,",you are an amazing person, who deserves the best in life and maybe today you're not feeling good. Maybe tomorrow you won't be feeling good but eventually you will. Have hope.\n Out of these 5 feelings which one do you feel the most; Sad, Angry, Tired, Anxious or Scared.")
    feeling=input()
    if(feeling=="Sad"):
    print("Ok. I'm sorry that you feel that way, and I wish that you feel better. Would you like to hear some sadness about anger?")
    if(feeling=="Scared"):
    print("")
    if(feeling=="Angry"):
    print("First of all Anger is a totally valid emotion. Don't let anyone tell you anything different. Expressing yourself is important, and it's ok to feel anger. Would you like to hear some quotes/affirmations about anger?")
    yn=input()
    if(yn=="yes"):
    anger()
    if(yn=="no"):
    quit()

    if(feeling=="Tired"):
    print("Would you like to hear some affirmations about Tiredness?")
    en=input
    if(en=="yes"):
    anger()
    if(en=="no"):
    quit()
    if(feeling=="Anxious"):
    print("Would you like to hear some affirmations about Anxiety?")
    yn=input
    if(yn=="yes"):
    anger()
    if(yn=="no"):
    quit()
    else:
    print("please type correctly.")
    bad()

    def meh():
    print("It's common to not know exactly how you feel or maybe you don't feel good or bad maybe you feel stuck in the middle. \n Out of these 5 feelings which one do you feel the most; Sad, Angry, Tired, Anxious or Scared.")
    feeling=input()
    if(feeling=="Sad"):
    print("Ok. I'm sorry that you feel that way, and I wish that you feel better. Would you like to hear some sadness about anger?")
    if(feeling=="Scared"):
    print("")
    if(feeling=="Angry"):
    print("First of all Anger is a totally valid emotion. Don't let anyone tell you anything different. Expressing yourself is important, and it's ok to feel anger. Would you like to hear some quotes/affirmations about anger?")
    yn=input
    if(yn=="yes"):
    anger()
    if(yn=="no"):
    quit()
    else:
    ("please type correctly, yes or no.")
    if(yn=="yes"):
    anger()
    if(yn=="no"):
    quit()
    if(feeling=="Tired"):
    print("Would you like to hear some sadness about Tiredness?")
    en=input
    if(en=="yes"):
    anger()
    if(en=="no"):
    quit()
    else:
    ("please type correctly, yes or no")
    if(en=="yes"):
    anger()
    if(en=="no"):
    quit()
    if(feeling=="Anxious"):
    print("Would you like to hear some sadness about Anxiety?")
    yn=input
    if(yn=="yes"):
    anger()
    if(yn=="no"):
    quit()
    else:
    print("please type correctly, yes or no")
    if(yn=="yes"):
    anger()
    if(yn=="no"):
    quit()
    else:
    print("please type correctly")
    meh()

    print("Hello. My name is Serenity, what is your name?")
    name=input()
    print("It is nice to meet you,",name)
    print("How are you feeling today, good, bad,or meh?")
    feeling=input()
    if(feeling=="good"):
    good()
    if(feeling=="meh"):
    meh()
    if(feeling=="bad"):
    bad()
    else:
    print("Type correctly")
    print("How are you feeling today, good, bad,or meh?")
    feeling=input()
    if(feeling=="good"):
    good()
    if(feeling=="meh"):
    meh()
    if(feeling=="bad"):
    bad()