Subreddit bot ExistentialRickBot
2.3K
Autobuilding Docker image and updated for PRAW4.3
/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.
The phrase "Don't think about it" is said by Rick in the Pilot episode of Rick & Morty.
The core logic is found in existential_rock_bot.py:
def isExistentialQuestion(message):
return '?' in message and any(
[q in message.lower() for q in ['why', 'happen', 'think', 'season 3', 'season three']])
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')
To set up praw credentials modify example_praw.ini with the correct credentials and rename the file to praw.ini.
One way to run this is to use docker run elucidation/existential_rick_bot.
Several options from low priority to high:
Content type
Image
Digest
Size
221.2 MB
Last updated
almost 9 years ago
docker pull elucidation/existential_rick_bot