Free discord bot https://lstu.fr/botanique
Find a file
Anri 23c6b6eb48 Meta: Use of Prettier (#58)
Usage of Prettier alongs with ESlint

Co-authored-by: Mylloon <kennel.anri@tutanota.com>
Reviewed-on: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique/pulls/58
2023-01-17 23:11:22 +01:00
.gitea Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
.vscode Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
config Split into multiple files (#18) 2022-07-03 18:43:31 +02:00
src Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
.dockerignore refactor: typescript migration (#24) 2022-07-20 23:01:47 +02:00
.eslintignore Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
.eslintrc.json Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
.gitignore feat: Reminders (#44) 2023-01-17 12:15:14 +01:00
.prettierignore Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
.prettierrc.json Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
CONTRIBUTING.md Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
Dockerfile Fix: Permissions Docker (#54) 2023-01-17 13:21:54 +01:00
LICENCE Ajout Licence GPL-3.0-only 2022-04-18 14:53:28 +02:00
package-lock.json Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
package.json Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
README.md Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00
tsconfig.json Meta: Use of Prettier (#58) 2023-01-17 23:11:22 +01:00

🌱 Botanique

Ajoute le bot à ton serveur

Lancer le bot

En local

Cloner le repo.

Spécifier un fichier .env en suivant l'exemple.

Installer les dépendences du bot.

npm install

Lancer le bot.

npm run main

Avec Docker (Recommandé)

Facile avec docker-compose

version: "3.9"
services:
  botanique:
    build: https://git.kennel.ml/ConfrerieDuKassoulait/Botanique.git#main
    container_name: Botanique
    environment:
      - TOKEN_DISCORD=ton-token-va-ici
    volumes:
      - /here/your/path:/config
    restart: unless-stopped

Variables d'environnements

Nom Description Par défaut Commentaire
TOKEN_DISCORD Token Discord Aucune
DEFAULT_LANG Langue par défaut fr Expérimental, si la langue par défaut n'est pas complète (càd 100%), le bot pourrait ne pas fonctionner correctement.
Liste des traductions disponibles ici.

Volumes

Chemin Description
/config Dossier de configuration, par exemple, c'est ici que la base de donnée est.

Contribuer

Toute contribution est la bienvenue !

Pour commencer, lis le fichier de contribution.

Licence

Voir le fichier LICENCE.

Références

Photo de profil