Commit Graph
13 Commits
Author SHA1 Message Date
Puechberty Arthur 0d55fe5978 nettoyage du code 2026-04-23 23:39:18 +02:00
Puechberty Arthur 3063796eb0 feat: introduce web dashboard with multi-bot management
- add Discord OAuth2 authentication
- allow users to register their bots via token
- implement dynamic bot start/stop system
- store bots in database (multi-tenant)
- replace single-bot env setup with scalable architecture
2026-04-18 01:39:12 +02:00
Puechberty Arthur 8f9aa4d1bb feat: améliorer la gestion des bots multiples avec des identifiants uniques et des limites de taux 2026-04-15 23:51:18 +02:00
Puechberty Arthur e5effd62fa refonte 2026-04-14 22:32:27 +02:00
Puechberty Arthur aa3cec7127 finalisation de la mise au propre du projet 2026-04-14 00:09:12 +02:00
Puechberty Arthur e47cb68bc7 feat: implement command definition, registration, and execution framework
- Add `defineCommand` function to validate and normalize command inputs.
- Introduce `deployApplicationCommands` for deploying slash commands to Discord.
- Create `CommandRegistry` class for managing command registration and retrieval.
- Implement `buildSlashPayload` to construct slash command payloads with localization support.
- Add usage utilities for prefix and slash commands.
- Develop `CommandExecutor` to handle command execution with permission checks and cooldown management.
- Create member message rendering service for welcome and leave messages with customizable templates.
- Introduce presence template variables for dynamic bot status updates.
- Implement template variable utilities for rendering and extracting variables from strings.
2026-04-13 21:10:51 +02:00
Puechberty Arthur 1de2a76b05 refactor: réorganiser la structure des fichiers et déplacer les types et les magasins de données vers le dossier approprié 2026-04-13 20:47:34 +02:00
Puechberty Arthur 3eb23eb27a reorganizage du projet et mise en place d'un vrai build 2026-04-13 19:42:38 +02:00
Puechberty Arthur f6a2e2b970 feat: update environment configuration and enhance presence management
- Updated .env.example to use more secure database credentials.
- Modified Dockerfile to remove unnecessary data copy.
- Enhanced README with additional setup instructions and security notes.
- Updated docker-compose files to improve database connection handling and security.
- Added error messages for invalid channel and role resolutions in locales.
- Introduced new scripts for code quality checks in package.json.
- Refactored presence management logic to improve state handling and timer management.
- Added tests for argument tokenizer, command definition, presence types, and template variables.
2026-04-12 16:07:27 +02:00
Puechberty Arthur bd5ef564bb feat: ajouter la gestion du cooldown par commande et mise à jour des traductions 2026-04-12 15:17:43 +02:00
Puechberty Arthur e5781cbb51 feat: ajouter la commande de présence avec panneau interactif et mises à jour des réponses 2026-04-12 15:08:19 +02:00
Puechberty Arthur 58aac55620 feat: add interactive presence command for bot status management
- Implemented a new `/presence` command allowing users to configure the bot's presence with an interactive panel.
- Added localization support for Spanish and French languages.
- Integrated PostgreSQL for storing and retrieving bot presence states.
- Created a Dockerfile and docker-compose configuration for easy deployment.
- Updated environment configuration to include database connection settings.
- Refactored command handling to include the new presence command.
- Enhanced error handling and user feedback for the presence command interactions.
2026-04-12 10:46:51 +02:00
Puechberty Arthur be8288ab5e feat: implement utility commands and command framework
- Add advanced command for complex argument handling.
- Introduce ping command for latency checking.
- Create argument parser for prefix and slash commands.
- Define command structure and registry for command management.
- Implement command deployment for Discord application commands.
- Add internationalization support for commands.
- Create handlers for prefix and slash command execution.
- Establish command execution context and permissions handling.
- Set up environment configuration with dotenv and zod.
- Add TypeScript configuration for strict type checking.
2026-04-12 02:34:53 +02:00