Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 1.14 KB

README.md

File metadata and controls

37 lines (32 loc) · 1.14 KB

bot-detector-discord-bot

The bot detector discord bot is the public interface via discord of the bot detector plugin and its functionalities.

How does it work?

The bot detector discord bot is a stand alone component that can interface with other components via its API. image

requirements

  • you must have docker installed.

setup

python -m venv venv
venv\Scripts\activate
python -m pip install --upgrade pip
pip install -r requirements.txt

setup pre-commit

pre-commit --version
pre-commit install

pre-commit runs automatically when you commit, but if it doesn't work.

pre-commit run --all-files

for admin purposes saving & upgrading

venv\Scripts\activate
call pip freeze > requirements.txt
powershell "(Get-Content requirements.txt) | ForEach-Object { $_ -replace '==', '>=' } | Set-Content requirements.txt"
call pip install -r requirements.txt --upgrade
call pip freeze > requirements.txt
powershell "(Get-Content requirements.txt) | ForEach-Object { $_ -replace '>=', '==' } | Set-Content requirements.txt"