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

root fbbbc0d6b3 News agreggation 2 år sedan
bot fbbbc0d6b3 News agreggation 2 år sedan
webgui 85f7b3d85b Reporting to guild or home. Ignoring users. 3 år sedan
.gitignore 98ade06aa3 libpq-dev hint @ README, .gitinore PyCharm, copy instead of move example file with missing settings, bugfixes for \!8ball & \!dice 3 år sedan
README.md 6d7c9ea707 webgui readme improvement 3 år sedan
requirements.txt 18f88d7a37 Quick & dirty refactor after discord.py upgrade (v2 required for buttons) 2 år sedan

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