https://github.com/elucidation/schmeckle_bot
Reddit Bot for converting Rick & Morty Schmeckles to USD
https://github.com/elucidation/schmeckle_bot
bot reddit
Last synced: 4 months ago
JSON representation
Reddit Bot for converting Rick & Morty Schmeckles to USD
- Host: GitHub
- URL: https://github.com/elucidation/schmeckle_bot
- Owner: Elucidation
- License: mit
- Created: 2016-01-14T05:28:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-05-17T07:21:43.000Z (about 9 years ago)
- Last Synced: 2025-05-03T00:26:45.050Z (about 1 year ago)
- Topics: bot, reddit
- Language: Python
- Size: 22.5 KB
- Stars: 24
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SchmeckleBot
[/u/SchmeckleBot](https://www.reddit.com/user/SchmeckleBot/) is a [Reddit](http://www.reddit.com) Bot whose sole purpose is to listen on [/r/rickandmorty](https://www.reddit.com/r/rickandmorty/) subreddit and provide currency conversions from Schmeckles to USD.
According to the creators, [1 Schmeckle is worth about $148 USD](https://www.reddit.com/r/IAmA/comments/202owt/we_are_dan_harmon_and_justin_roiland_creators_of/cfzfv79).
## Invoking SchmeckleBot
SchmeckleBot is usually running on a Raspberry Pi. [**Here is one of it comments on Reddit**](https://www.reddit.com/r/rickandmorty/comments/40udy4/brace_yourselves/cyxpgnh?context=10000)
If a comment has both a ` schmeckle(s)` and one of the following: `how`, `what`, `?`, `!`, then the bot will generate a reply message that looks like something like [this](https://www.reddit.com/r/rickandmorty/comments/43eq1d/my_sister_made_a_rick_morty_sculpture_she_says/czhralv?context=3):
===
> Hey there! I'm Mr.SculptureBuyer. I'll pay **50 schmeckles** for that sculpture!
* 50 Schmeckles → **$7,400 USD**
---
[1 Schmeckle = $148 USD](https://www.reddit.com/r/IAmA/comments/202owt/we_are_dan_harmon_and_justin_roiland_creators_of/cfzfv79) | price not guaranteed | [`what is my purpose`](https://github.com/Elucidation/schmeckle_bot 'convert Schmeckles to USD')
===
If you make a comment that satisfies those two requirements, and the bot is running, it will probably see and reply with the conversion within a couple minutes (10 minutes at worst).
Regex used: `p = re.compile('(-?[\d|,]*\.{0,1}\d+ schmeckle[\w]*)', re.IGNORECASE)`
This allows for variants on `schmeckle` like schmeckles, Schmeckles!!!, schmecklearoos, etc.
## Feedback/Comments
Several options from low priority to high:
* Send a PM to SchmeckleBot with comments.
* If there's an issue with a particular comment by SchmeckleBot, 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.