This project has moved to TotallyNotRobots/bnc-bot.
A bot to handle BNC account requests for Snoonet
This bot may work with other systems, but this is the setup it was specifically written to work with
- Python 3.6+
- Assigns each user a unique bindhost in the 127.0.0.0/16 range
- Generates a temporary password for a user on request approval and sends it to them through MemoServ
- Tracks existing BNC user accounts to avoid overwriting existing accounts
- Set up a Python 3.6 virtualenv
pip install -Ur requirements.txt
- Copy
config.default.json
toconfig.json
and modify the values as needed - Run
python -m bncbot
to start the bot
Submit a BNC account request
Accept a BNC account request for [username]
Deny a BNC account request for [username]
Delete [username]'s BNC account
Reset [username]'s BNC account password
List all current entries in the BNC account request queue awaiting approval
Grant [username] BNC admin access
Update the cached version of the BNC user list