Skip to content

LouisDeLaTech is a discord bot manager for Lyon e-Sport

License

Unknown, CECILL-2.1 licenses found

Licenses found

Unknown
LICENSE
CECILL-2.1
LICENSE.fr
Notifications You must be signed in to change notification settings

lyon-esport/LouisDeLaTech

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Oct 18, 2024
Oct 18, 2024
Jul 1, 2022
Oct 18, 2024
Oct 24, 2021
Oct 24, 2021
Oct 18, 2024
Aug 20, 2023
Nov 21, 2024
Oct 18, 2024

Repository files navigation

LouisDeLaTech is a discord bot manager for Lyon e-Sport

PyPI PyPI versions Python test Code Style

Setup

Discord

Create a discord bot and get the token

Google

You must create user custom attribute

"custom": {
 "pseudo": "",
 "discordId": "",
 "teeShirt": "",
 "birthdate": ""
}

Hello asso

Documentation

Custom fields

{
    "name": "Pseudonyme",
    "type": "TextInput",
},
{
    "name": "Date de naissance",
    "type": "Date",
},
{
    "name": "Adresse postale",
    "type": "TextInput",
},
{
    "name": "Numéro de téléphone",
    "type": "TextInput",
},
{
    "name": "Nom d'utilisateur Discord",
    "type": "TextInput",
},
{
    "name": "Taille du tee-shirt",
    "type": "ChoiceList",
},
{
    "name": "Je m'engage à signer l'engagement de confidentialité : https://example.fr",
    "type": "YesNo",
}

Install

pip install les_louisdelatech

Configure

Generate a secret_key to encrypt database secrets

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

Fill config.toml with config.example

Run

python3 -m les_louisdelatech.main -c config.toml -g google.json

Dev

Install uv

Install and setup dependencies with uv sync

Run ruff

uv run ruff format . 
uv run ruff check .

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

Resources

License

Unknown, CECILL-2.1 licenses found

Licenses found

Unknown
LICENSE
CECILL-2.1
LICENSE.fr

Stars

Watchers

Forks

Packages

No packages published