Comrade is a Discord bot for my personal server, but available to use for anyone who would like a multipurpose bot!
Comrade is written mainly in Python using discord.py
, and partially in Go using discordgo
. Comrade uses MongoDB and Google Cloud Storage for persistence.
Comrade provides a multitude of different features, and includes many features that I have liked from other bots. I created Comrade with the purpose of being able to fine-tune these features to the way I want, and have full control over what the bot does.
I started Comrade as a way to learn Python, and with every rewrite I've put in more and more of my new skills. I am still learning, so of course the code, as well as the repo will be a bit messy.
NOTE: Self-hosting the bot is DEFINITELY better; using the above link should only be for provisional purposes.
If you are contributing, and would like to add a new library to the Python code, please make sure you add it to requirements.in
. You will then need to update requirements.txt
, following the below steps.
pip-tools
package is installed on your system. If not, install it with pip install pip-tools
.requirements.in
with the names of the new packages you want to add. (optional)pip-compile requirements.in > requirements.txt
, or run pip-compile requirements.in
and copy the output to replace the contents of requirements.txt
.I first started coding in Python in September 2019, so the early troubles I had with the bot were consequences of the limitation of my experience. As I picked up new skills, I have rewritten the bot several times over.
Created by Mingde Yin - Project Lead
With Help from: