The Public repo for the PZ discord bot
This bot is built with Python, using the Red framework. Here are the docs for Red.
At a high level, bot commands and features are implemented as plugins (Red calls them "cogs" so we'll call them that from here on).
To get started contributing to PZ Bot:
- Join the Port Zero discord server and join the project (#discord-bot-dev channel)
- Request to contribute on Github, and team leaders or admins may give you permissions
- Fork this repository
- Create your own discord bot application for testing locally. We recommend using an easily identifiable name, like
pzbot_<your_name>. Red Docs - Set up Red bot with your application token and prefix. Linux / Mac / Windows
- Assign yourself to a task on our project board or issue tracker
- Code and test locally. (Do not check in your credentials)
- Submit a Pull Request from your fork back into PZ-DiscordBot. (Do not check in your credentials)
Summary We will automatically deploy release branches (TODO) when commits are made. To do this safely, changes will merge into a "staging" branch (TODO) which is then immediately deployed to our testing environment. After some time, when automated or manual testing is done, the testing branch will merge into the release branch and the production bot will automatically redeploy.