/netor-bot

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Netor Bot

This repo contains the API and Bot for Netor. There is another repo for the dashboard.

Tech Stack

Development

  • Install dependencies:
pip install -r requirements.txt
  • Create a .env:
TOKEN="<discord bot token>"
APPLICATION_ID="<discord bot id>"
DATABASE_URL="database url from docker (created with dashboard setup), if in doubt use: 'postgresql://postgres:postgres@localhost:5432/postgres'"
WEB_URL="<dashbord url, if in doubt use 'http://localhost:3000'>"
SPECIAL_AUTH="<can be anything, must be the same for the bot and dashboard>"
PORT="<port for the api>"
  • Start the bot:
py server.py