DrBot: A modular Reddit bot to cure your moderation woes.
DrBot is a modular reddit bot framework for automatically performing moderation tasks. It allows you to command a small army of Botlings to do things like:
- Tracking user rule violations to identify and/or ban repeat offenders
- Giving users a list of the removals that got them banned
- Adding mobile-compatible links to all your modmails
- Telling you when the admins do something on your sub
- Keeping your old-reddit and new-reddit sidebars in sync
- Enforcing special user flair requirements across your sub
- Detecting and warning about cases of self-moderation
- Placing special restrictions on post flair based on the day of the week
You can also build your own Botlings to do anything you want, with automatically managed settings, wiki-synced storage, easy access to Streams of new comments/posts/modmail/other stuff, and more.
Subreddits take a lot of work to run and most could benefit from automation, but each sub has its own set of particular tasks and requirements. DrBot aims to be a one-stop shop for building and customizing the perfect bot for any sub with minimal coding.
A script that runs DrBot might look like this:
- Create a
DrBot()object. - Create each Botling you want and run
drbot.register(botling)for each one. - Call
drbot.run()to start the main loop.
Setup
TBD
FAQ
I can't read my moldog because of all the DrBot entries!
Since DrBot constantly does a bunch of stuff, it tends to pollute the modlog. To view your modlog without DrBot's actions, click the "moderator" filter, choose "select all" in the dropdown, and then unselect DrBot's account. (This is also useful for filtering out AutoModerator.)
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Metadata
Release files for drbot-reddit 2.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| drbot-reddit-2.0.6.tar.gz | 52.9 kB | Without provenance | Details for drbot-reddit-2.0.6.tar.gz |
Release files / drbot-reddit-2.0.6.tar.gz
| Download URL | drbot-reddit-2.0.6.tar.gz |
|---|---|
| Size | 52.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec055d30e4444bf1b9c564a6eb8636e1ee7a0a0a0ea3046a530a4b0a1c0a7cce
|
|
BLAKE2b-256 checksum How to use checksums |
1ba947bf402798f027963f470ca181c9ac11759be3f18e0db2da820db0db1d86
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.5
|
Security for drbot-reddit 2.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.