mirror of
https://github.com/arthur-pbty/LazyBot.git
synced 2026-06-03 15:07:29 +02:00
fac4b0c9e5e85f6296223a823151a3f51f9fb55c
- Added support for different message types (text, embed, both) in goodbye and welcome forms. - Implemented embed options including title, description, color, thumbnail, and footer for both forms. - Introduced image options with gradient selection, title, subtitle, and member count display for goodbye and welcome messages. - Updated API routes to handle new configuration parameters for saving and retrieving goodbye and welcome settings. - Created a new function to generate welcome images with customizable gradients and text.
LazyBot - Discord Bot
Bot Discord configurable via un dashboard web pour gérer :
- Rôles automatiques (
autorole-newuseretautorole-vocal) - Messages de bienvenue et d’au revoir
- Sélection de salons vocaux à exclure
- Multi-serveurs avec contrôle admin
Installation
- Cloner le projet :
git clone https://github.com/arthur-pbty/LazyBot.git
cd mon-bot-discord
- Créer un fichier
.env:
CLIENT_ID=VOTRE_BOT_CLIENT_ID
CLIENT_SECRET=VOTRE_BOT_CLIENT_SECRET
REDIRECT_URI=https://your_domaine.com/auth/discord/callback
PORT=3000
BOT_TOKEN=VOTRE_TOKEN_BOT
SESSION_SECRET=un_secret_aleatoire_pour_les_sessions
DB_PATH=database.sqlite
OWNER=VOTRE_ID_UTILISATEUR
URL=https://ton-domaine.com
- Lancer le serveur :
docker compose up -d --build
- Serveur web :
http://localhost:3000 - Le bot se connecte automatiquement aux serveurs où il est invité.
Fonctionnalités clés
- Autoroles pour nouveaux membres et salons vocaux
- Messages de bienvenue et d’au revoir personnalisables
- Dashboard web pour configurer facilement chaque serveur
- Pré-sélection automatique options anciennement remplit
Languages
JavaScript
74.6%
HTML
18.6%
CSS
6.8%