Custom discord robot for the Charlie's Angels guild https://angels.gtarp.nl

root bd8fc5f22f more reporting and more ways to earn XP 3 years ago
bot bd8fc5f22f more reporting and more ways to earn XP 3 years ago
webgui 85f7b3d85b Reporting to guild or home. Ignoring users. 3 years ago
.gitignore 98ade06aa3 libpq-dev hint @ README, .gitinore PyCharm, copy instead of move example file with missing settings, bugfixes for \!8ball & \!dice 3 years ago
README.md 6d7c9ea707 webgui readme improvement 3 years ago
requirements.txt 6d7c9ea707 webgui readme improvement 3 years ago

README.md

Iris Pseudácorus Mallard

A Discord robot for the Angels Discord written in Python.

Requirements

  • Python3
  • PostgreSQL (libpq-dev)
  • Web server gateway interface like uWSGI or Gunicorn
  • A discord token

Installation

  1. Clone the git repository: git clone ...
  2. Change into the repo directory: cd ...
  3. Create virtual environment: python3 -m venv .
  4. Activate virtual environment: source bin/activate
  5. Install required packages: pip3 install -r requirements.txt

Web interface

  1. Copy the local settings example file: cp webgui/webgui/local_settings_example.py webgui/webgui/local_settings.py
  2. Edit the new local settings file: nano webgui/webgui/local_settings.py
  3. Test: python webgui/manage.py runserver Expose django to the web. (TODO: more details)

Run bot

  1. Activate virutal environment: source bin/activate
  2. Run python bot/main.py

Edeting the look of the webgui

Build Fomatic-ui

Theming