egguy / LouisDeLaTech

LouisDeLaTech is a discord bot manager for Lyon e-Sport

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LouisDeLaTech is a discord bot manager for Lyon e-Sport

Python test Code style: black

Requirements

  • Python (check version in setup.py)

Setup

Discord

Create a discord bot and get the token

Google

You must create user custom attribute

custom: {
 pseudo: ""
 discordId: ""
}

Install

Install dependencies

Production

pip install -e .

Dev

pip install -e .[dev]
pre-commit install

Configure

Generate a secret_key to encrypt database secrets

>>> from cryptography.fernet import Fernet
>>> Fernet.generate_key()

Fill config.toml with config.example

Run

python main.py -c config.toml -g google.json

Licence

The code is under CeCILL license.

You can find all details here: https://cecill.info/licences/Licence_CeCILL_V2.1-en.html

Credits

Copyright © Lyon e-Sport, 2021

Contributor(s):

About

LouisDeLaTech is a discord bot manager for Lyon e-Sport

License:Other


Languages

Language:Python 90.1%Language:Jinja 9.9%