Skip to content

rough93/existential_rick_bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ExistentialRickBot

/u/ExistentialRickBot is a Reddit Bot who finds meaning in life by listening to submissions on /r/rickandmorty subreddit and answering any questions as best it can.

Meaning

The phrase "Don't think about it" is said by Rick in the Pilot episode of Rick & Morty.

Logic

The core logic is found on lines ~41-44:

questions = ['why', 'happen', 'think?'] # Match if any of these are found in message
def isExistentialQuestion(message):
  return '?' in message and any([q in message.lower() for q in questions])

def getAnswerToExistentialQuestion():
  return "The answer is don't think about it."

ExistentialRickBot leaves a comment on such submissions, the response looks a bit like this:

The answer is don't think about it.


I am a bot | [what is my purpose](https://github.com/Elucidation/existential_rick_bot 'don't think about it')

Feedback/Comments

Several options from low priority to high:

  • Send a PM to ExistentialRickBot with comments.
  • If there's an issue with a particular comment by ExistentialRickBot, please either reply to that comment with the issue and downvote as needed, I'll be adding auto-deletion if a comment goes negative.
  • For software issues/suggestions/feature requests, create a new issue on this Github.

About

Answers questions on rickandmorty subreddit

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%