Browse Source

Merge branch 'master' of ohneUmlautLinux/schneiderbot-tg-lw into master

quotes
angerstoner 6 years ago
committed by Gitea
parent
commit
523e7c33e8
  1. 26
      goodlife.txt
  2. 14
      schneiderbot.py

26
goodlife.txt

@ -0,0 +1,26 @@
I like Aurora, 'Sleeping Beauty,' because she's just sleeping and looking pretty and waiting for boys to come kiss her. Sounds like a good life - lots of naps and cute boys fighting dragons to come kiss you.
Let's choose today to quench our thirst for the 'good life' we thinks others lead by acknowledging the good that already exists in our lives. We can then offer the universe the gift of our grateful hearts.
The good life is built with good relationships.
People are just trying to work their jobs, raise their families, discipline their kids, and have a good life... Politics has just become like bad weather. And they deserve clear skies.
I grew up in a family where everybody had a good time and we were at the lake every weekend and going to the beach and living a good life. It's been the way we always lived, and my wife's the same way - enjoy every day and have fun.
We are constituted so that simple acts of kindness, such as giving to charity or expressing gratitude, have a positive effect on our long-term moods. The key to the happy life, it seems, is the good life: a life with sustained relationships, challenging work, and connections to community.
There are three ingredients in the good life: learning, earning and yearning.
The good life consists in deriving happiness by using your signature strengths every day in the main realms of living. The meaningful life adds one more component: using these same strengths to forward knowledge, power or goodness.
I want to do things of significance, things that will inspire people to know how good life can be.
Thank you, dear God, for this good life and forgive us if we do not love it enough. Thank you for the rain. And for the chance to wake up in three hours and go fishing: I thank you for that now, because I won't feel so thankful then.
My goal in life was to pursue the good life.
The good life is a process, not a state of being. It is a direction not a destination.
You are educated. Your certification is in your degree. You may think of it as the ticket to the good life. Let me ask you to think of an alternative. Think of it as your ticket to change the world.
I have a very, very good life. I'm grateful for all of my friends, my family and the life that I have, and the possibilities in my future.
Money and good life had never been my goal.
The definition of success to me is not necessarily a price tag, not fame, but having a good life, and being able to say I did the right thing at the end of the day.
Reading is a basic tool in the living of a good life.
Not life, but good life, is to be chiefly valued.
Life comes from physical survival; but the good life comes from what we care about.
Without being aware, I think I was being indoctrinated into what was called Vitalism, the idea that what makes life worth living, the good life, consists of accepting challenges, solving problems, discovery, personal growth, personal change.
Many people dream about being an entrepreneur, starting their own business, working for themselves, and living the good life. Very few, however, will actually take the plunge and put everything they've got into being their own boss.
The more you are positive and say, 'I want to have a good life,' the more you build that reality for yourself by creating the life that you want.
Everything I do is somehow rooted in humanity. It's always about people; it's always about ego. It's always about desperation. It's quite existential. You know, 'Am I leading a good life?' That might be because I'm an atheist, and I think this is all we've got, so you better be nice. And have fun.
The good life is one inspired by love and guided by knowledge.
Life is good when we think it's good. Life is bad when we don't think.
Thank you, God, for this good life and forgive us if we do not love it enough.

14
schneiderbot.py

@ -87,6 +87,9 @@ with open("stoll.txt", "r") as tmp_file:
with open("manta.txt", "r") as tmp_file: with open("manta.txt", "r") as tmp_file:
MANTA = tmp_file.readlines() MANTA = tmp_file.readlines()
with open("goodlife.txt", "r") as tmp_file:
GOOD_LIFE = tmp_file.readlines()
# Define a few command handlers. These usually take the two arguments bot and # Define a few command handlers. These usually take the two arguments bot and
# update. Error handlers also receive the raised TelegramError object in error. # update. Error handlers also receive the raised TelegramError object in error.
def start(bot, update): def start(bot, update):
@ -106,8 +109,9 @@ def help(bot, update):
*Fun*: *Fun*:
/cat - random cat (using thecatapi.com) /cat - random cat (using thecatapi.com)
/dog - random dog (https://dog.ceo/dog-api) /dog - random dog (https://dog.ceo/dog-api)
/magie - random Axel Stoll qoute
/magie - random Axel Stoll quote
/manta - random Opel Manta joke /manta - random Opel Manta joke
/goodlife - random good life quote
/help - this help text""", parse_mode=ParseMode.MARKDOWN) /help - this help text""", parse_mode=ParseMode.MARKDOWN)
@ -146,13 +150,18 @@ def manta(bot, update):
rand = random.SystemRandom() rand = random.SystemRandom()
update.message.reply_text(MANTA[rand.randrange(0, len(MANTA), 1)]) update.message.reply_text(MANTA[rand.randrange(0, len(MANTA), 1)])
def goodlife(bot, update):
"""GOOD LIFE MY A..."""
rand = random.SystemRandom()
update.message.reply_text(GOOD_LIFE[rand.randrange(0, len(GOOD_LIFE), 1)])
def shrug(bot, update): def shrug(bot, update):
"""SHRUG""" """SHRUG"""
update.message.reply_text("¯\_(ツ)_/¯") update.message.reply_text("¯\_(ツ)_/¯")
def simon(bot, update): def simon(bot, update):
"KAUF DIR N HUND" "KAUF DIR N HUND"
update.message.reply_text("@Justus_vonRamme bitte kauf dir ein Hund oder eine Katze, du hast zu viel Zeit")
update.message.reply_text("@Justus_vonRamme bitte kauf dir einen Hund oder eine Katze, du hast zu viel Zeit")
def mensa(bot, update, args): def mensa(bot, update, args):
which = "zentral" which = "zentral"
@ -227,6 +236,7 @@ def main():
dp.add_handler(CommandHandler("help", help)) dp.add_handler(CommandHandler("help", help))
dp.add_handler(CommandHandler("magie", magie)) dp.add_handler(CommandHandler("magie", magie))
dp.add_handler(CommandHandler("manta", manta)) dp.add_handler(CommandHandler("manta", manta))
dp.add_handler(CommandHandler("goodlife", goodlife))
dp.add_handler(CommandHandler("mensa", mensa, pass_args=True)) dp.add_handler(CommandHandler("mensa", mensa, pass_args=True))
dp.add_handler(CommandHandler("cat", sendCat)) dp.add_handler(CommandHandler("cat", sendCat))
dp.add_handler(CommandHandler("dog", sendDog)) dp.add_handler(CommandHandler("dog", sendDog))

Loading…
Cancel
Save