Skip to content

waab76/PIFBot

Repository files navigation

PIFBot

Reddit bot automating giveaways (PIFs) on r/Wetshaving.

Setup

Requires Python 3.11+ and uv.

uv sync --dev
  • Reddit credentials: praw.ini with section [PIFBot] (gitignored)
  • Bot config: config.py (gitignored) — blacklist, log path, monitored subreddits

Run

uv run python3 pifbot.py

Spawns 5 daemon threads monitoring submissions, comments, edits, and private messages.

Pre-commit checks

Run manually (all files):

uv run pre-commit run --all-files

Install as a git hook to run automatically on every commit:

uv run pre-commit install

Once installed, the hook runs trailing-whitespace, end-of-file-fixer, YAML/TOML validation, ruff (lint + format), mypy, and pytest before each commit.

About

This is a Reddit bot for the automation of giveaways/contests such as PIFs (Pay It Forward) as found on r/wetshaving

Resources

License

Stars

4 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages