Moderation bot for r/ChromeOS
- Python
poetry
pyenv
- MongoDB server
pyenv install 3.9.1
pyenv shell
poetry install
(use flag--no-dev
for prod)poetry shell
- Create a file called
.env
. in the root of the project and define the following:
CHROMEY_TOKEN = "DISCORD TOKEN"
CHROMEY_OWNER = OWNER ID (int)
CHROMEY_MAINGUILD = MAIN GUILD ID (int)
- Set up mongodb on your system (and see First time use to populate the database with initial data)
python main.py
- if everything was set up properly you're good to go!
If you don't have any baseline data for the bot to work, I wrote a short script setup.py
which you should fill in with data from your own server, then run python setup.py