This is the source code for the bot moderating and managing several parts of the subreddit /r/TranscribersOfReddit ("ToR"), a community dedicated to transcribing images, audio, and video. It acts under the username "/u/TranscribersOfReddit".
Among other things, this bot handles:
NOTE:
This code is not complete. The praw.ini file is required to run the bots and contains such information as the useragents and various secrets. It is built for Python 3.6.
Given a release in https://github.com/GrafeasGroup/tor/releases (perhaps the latest), download the attached .whl
file for your platform/architecture and pip install
it directly like so:
$ pip install ./path/to/tor-3.6.1-py3-any-none.whl
Make sure you have an up-to-date copy of pip installed, the latest version of Poetry, and Python 3.6.
$ git clone https://github.com/GrafeasGroup/tor.git tor
$ cd tor/
$ poetry install
Triggered flow (via bot inbox):
claim
or done
):
claim
- Assigns transcription ownership of the post to the user who first commented this waydone
- Checks for transcription and adjusts flair according to reward systemMonitoring daemon (via subreddit's /new feed):
To build the package from source, start in the base of the repository and run:
$ poetry build
When building is complete, upload everything in the dist/
directory that was just created as part of the GitHub release.
$ tor-moderator
# => [daemon mode + logging]
See CONTRIBUTING.md
for more.
For providing free error handling through their open source program