Commit Graph

21 Commits

Author SHA1 Message Date
Shni
89d475ba66 feat: Implement feature flag system with helpers, service, and loader
- Added feature flag helpers and decorators for easy usage in commands.
- Created a feature flag service for managing flags, including initialization, caching, and evaluation strategies.
- Implemented a loader to initialize the feature flag service on bot startup.
- Defined types for feature flags, including configurations, contexts, evaluations, and statistics.
- Provided examples of feature flag usage in commands, demonstrating various patterns such as A/B testing, gradual rollouts, and access control.
2025-10-31 21:12:27 -05:00
Shni
f36fa24e46 Refactor item property parsing and centralize utility functions
- Moved `parseItemProps` function to `core/utils.ts` for reuse across modules.
- Updated various services to import and utilize the centralized `parseItemProps`.
- Introduced new utility functions for handling consumable cooldowns and healing calculations.
- Enhanced mob management with a new repository system, allowing for dynamic loading and validation of mob definitions from the database.
- Added admin functions for creating, updating, listing, and deleting mobs, with validation using Zod.
- Implemented tests for mob management functionalities.
- Improved error handling and logging throughout the mob and consumable services.
2025-10-14 12:57:53 -05:00
6482fbc8ea Refactor la carga de variables de entorno para utilizar dotenv en lugar de loadEnvFile 2025-10-11 20:21:10 -05:00
8394f1dae2 Actualiza la versión en package-lock.json a 2.0.22 y carga el archivo de entorno en main.ts 2025-10-11 20:01:01 -05:00
a9087261ca feat: introduce Appwrite guild cache support and refactor guild config caching 2025-10-07 10:52:47 -05:00
0f06168399 feat: update Procfile for optimized production start and remove New Relic import from main.ts 2025-10-06 11:30:43 -05:00
62a3e7d1f5 feat: integrate New Relic for performance monitoring 2025-10-06 10:59:30 -05:00
40625a9f74 feat: implement basic HTTP server with static file serving and error handling 2025-10-05 22:58:56 -05:00
862f0ad993 chore(main): remove deprecated local .env loading check for Node.js 20.6+ 2025-10-04 18:21:23 -05:00
2d8a48d607 feat(env): conditionally load .env file for Node.js 20.6+; remove dotenv dependency 2025-10-04 18:17:38 -05:00
e005702480 feat(env): load dotenv in entrypoint; add .env.example; stop tracking .env files 2025-10-04 18:05:41 -05:00
2d28e63a4f feat: add runtime patch for ModalSubmitInteraction to prevent crashes during member resolution 2025-10-03 23:52:15 -05:00
630d58e8be feat: integrate pino logger for improved error handling and logging consistency 2025-10-02 20:11:33 -05:00
1cd11e8f9a feat: add reminders schema management for Appwrite integration 2025-09-28 01:09:26 -05:00
916b85acb4 feat: implement reminder command with Appwrite integration and polling mechanism 2025-09-28 01:00:43 -05:00
db44e148d3 refactor: reorganize imports and update file paths for consistency 2025-09-27 16:00:12 -05:00
f56c98535b implement advanced memory optimization system with configurable settings 2025-09-25 22:57:24 -05:00
494617c4f6 feat: implement Prisma singleton for memory efficiency and add memory monitoring options 2025-09-23 22:38:06 -05:00
a33f033a64 feat: improve Discord bot reconnection logic and enhance multiple resolve handling 2025-09-22 22:09:06 -05:00
de7bcccb88 feat: enhance error handling and retry logic for Discord bot connections 2025-09-22 22:00:11 -05:00
bf6a7e3024 Version Estable 2025-09-17 13:33:10 -05:00