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

root 049eb0bbba Checking to ccheckout somn else hai 1 ano
bot 049eb0bbba Checking to ccheckout somn else hai 1 ano
.gitignore 98ade06aa3 libpq-dev hint @ README, .gitinore PyCharm, copy instead of move example file with missing settings, bugfixes for \!8ball & \!dice %!s(int64=3) %!d(string=hai) anos
README.md 6d7c9ea707 webgui readme improvement %!s(int64=3) %!d(string=hai) anos
requirements.txt 18f88d7a37 Quick & dirty refactor after discord.py upgrade (v2 required for buttons) %!s(int64=2) %!d(string=hai) anos

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