It's a silly fedi bot (currently at https://fox.nexus/@treats).
An up-to-date calculation of the possible combinations can be found in the bot's bio on fedi.
# Clone the repo and cd into it, then:
python3 -m venv venv
source ./venv/bin/activate
pip install -r requirements.txt
Editing arrays.py
The format is "{folx} can have {treats}, as a treat", so add items to FOLX
and/or TREATS
:
FOLX = [
"Transfems",
"Foxgirls",
[...],
]
TREATS = [
"a headpat",
"an anti-trust lawsuit",
[...],
]
I use tox
to run tests, check code style and fix formatting. It's a good idea to run it before pushing changes. A GitHub action will also run it on PRs.
# To run tests:
tox
# To fix formatting etc:
tox -e fix
gen.py
will fail ifconfig.py
isn't present — you can just copyconfig.example.py
toconfig.py
while testing. Note that the example config doesn't contain the necessary credentials to actually make a post.- I <3 trailing commas, and
tox
will get very upset if you forget this :3