Reddit bot automating giveaways (PIFs) on r/Wetshaving.
Requires Python 3.11+ and uv.
uv sync --dev- Reddit credentials:
praw.iniwith section[PIFBot](gitignored) - Bot config:
config.py(gitignored) — blacklist, log path, monitored subreddits
uv run python3 pifbot.pySpawns 5 daemon threads monitoring submissions, comments, edits, and private messages.
Run manually (all files):
uv run pre-commit run --all-filesInstall as a git hook to run automatically on every commit:
uv run pre-commit installOnce installed, the hook runs trailing-whitespace, end-of-file-fixer, YAML/TOML validation, ruff (lint + format), mypy, and pytest before each commit.