Shni
852b1d02a2
feat: Add scripts for mob dependency management and server setup
...
- Implemented `findMobDependencies.ts` to identify foreign key constraints referencing the Mob table and log dependent rows.
- Created `fullServerSetup.ts` for idempotent server setup, including economy items, item recipes, game areas, mobs, and optional demo mob attacks.
- Developed `removeInvalidMobsWithDeps.ts` to delete invalid mobs and their dependencies, backing up affected scheduled mob attacks.
- Added unit tests in `testMobUnit.ts` and `mob.test.ts` for mob functionality, including stats computation and instance retrieval.
- Introduced reward modification tests in `testRewardMods.ts` and `rewardMods.unit.ts` to validate drop selection and coin multiplier behavior.
- Enhanced command handling for mob deletion in `mobDelete.ts` and setup examples in `setup.ts`, ensuring proper permissions and feedback.
- Created utility functions in `testHelpers.ts` for deterministic drop selection from mob definitions.
2025-10-14 14:58:38 -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
Shni
cd1db9d6eb
Refactor la validación de enlaces de Discord para priorizar la extracción de códigos de invitación y mejorar la gestión de excepciones.
2025-10-14 12:02:37 -05:00
Shni
eb957df1e6
Refactor el comando de eliminación de bloques para mejorar la legibilidad y la gestión de interacciones, permitiendo la selección múltiple de bloques y simplificando la lógica de confirmación.
2025-10-14 11:40:22 -05:00
Shni
deb08a3413
Implement feature X to enhance user experience and fix bug Y in module Z
2025-10-14 11:29:15 -05:00
Shni
0eb5aa0691
Refactor Amayo client initialization and enhance editor functionality
...
- Updated the Amayo client to use environment variables for configuration defaults.
- Improved cache and sweeper settings for message and user management.
- Added detailed error handling and logging during database connection and Discord login.
- Introduced a new interactive editor for creating and managing display components with modals.
- Implemented various editor actions including adding content, editing titles/descriptions, and managing components.
- Enhanced user feedback with ephemeral messages for actions taken in the editor.
2025-10-14 11:12:52 -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
20839c1d7e
Refactor el módulo logger para eliminar el uso de pino-pretty y simplificar la configuración del transporte
2025-10-11 20:17:15 -05:00
1ca6fc4e89
Refactor el módulo logger para eliminar la carga manual de .env y simplificar la detección de compilación
2025-10-11 20:15:45 -05:00
a748563c13
Refactor la configuración del logger para cargar variables de entorno desde .env y mejorar la detección de compilación
2025-10-11 20:11:24 -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
3447ae64d5
Refactor la carga del módulo ModalSubmitInteraction para mejorar la compatibilidad y la gestión de errores
2025-10-11 19:50:36 -05:00
959ade0c3d
Actualiza la versión en package.json a 2.0.22
2025-10-11 19:41:17 -05:00
Shni
9d92a453b3
Merge pull request #26 from Shnimlz/feature/mi-cambio
...
Elimina la lógica de validación de URLs en la función 'extractValidLi…
2025-10-11 16:35:41 -05:00
5fcfebe55c
Elimina la lógica de validación de URLs en la función 'extractValidLinks' para simplificar el manejo de enlaces y optimizar el rendimiento.
2025-10-11 16:34:18 -05:00
Shni
e5a2fb72a9
Merge pull request #25 from Shnimlz/feature/mi-cambio
...
Refactor y mejora de la función 'alliance' para validar enlaces de Di…
2025-10-11 15:52:33 -05:00
b218dd4501
Refactor y mejora de la función 'alliance' para validar enlaces de Discord y optimizar el manejo de errores
2025-10-11 15:51:15 -05:00
Shni
bca572b4ca
Merge pull request #24 from Shnimlz/feature/mi-cambio
...
Feature/CAMBIANDO OPCIONES
2025-10-10 23:48:40 -05:00
8114ea6fc4
Merge branch 'master' of https://github.com/Shnimlz/amayo
2025-10-10 23:47:01 -05:00
dc8c2e236e
Imao DEV:ULTRA
2025-10-10 23:44:46 -05:00
Shni
1284a9a1f0
Merge pull request #23 from Shnimlz/Shnimlz-patch-11
...
Remove New Relic license key from package.json
2025-10-10 02:13:06 -05:00
Shni
19e3da18f1
Remove New Relic license key from package.json
2025-10-10 02:12:51 -05:00
Shni
284e61ed6f
Merge pull request #22 from Shnimlz/Shnimlz-patch-9
...
Add GitHub Sponsors username to FUNDING.yml
2025-10-10 02:00:34 -05:00
Shni
73778303da
Merge pull request #21 from Shnimlz/Shnimlz-patch-10
...
Update funding model with GitHub and Ko-fi details
2025-10-10 02:00:07 -05:00
Shni
55f314ae06
Update funding model with GitHub and Ko-fi details
...
Added GitHub Sponsors username and updated Ko-fi username.
2025-10-10 01:59:57 -05:00
Shni
4a925e7e89
Add GitHub Sponsors username to FUNDING.yml
...
Updated GitHub funding model to include username.
2025-10-10 01:59:20 -05:00
Shni
41af7c4d26
Merge pull request #20 from Shnimlz/Shnimlz-patch-8
...
Modify funding sources in FUNDING.yml
2025-10-10 01:55:18 -05:00
Shni
c6dbd6453e
Modify funding sources in FUNDING.yml
...
Updated GitHub funding model usernames and added Ko-fi.
2025-10-10 01:55:07 -05:00
Shni
4c086b9b56
Merge pull request #19 from Shnimlz/Shnimlz-patch-7
...
Add GitHub Sponsors usernames to FUNDING.yml
2025-10-10 01:54:22 -05:00
Shni
af01b33282
Add GitHub Sponsors usernames to FUNDING.yml
2025-10-10 01:54:06 -05:00
Shni
595a073754
Merge pull request #18 from Shnimlz/alert-autofix-1
...
Potential fix for code scanning alert no. 1: Clear-text logging of sensitive information
2025-10-10 01:29:04 -05:00
Shni
91f37122e5
Potential fix for code scanning alert no. 1: Clear-text logging of sensitive information
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-10 01:28:54 -05:00
Shni
40218b0697
Merge pull request #17 from Shnimlz/alert-autofix-2
...
Potential fix for code scanning alert no. 2: Clear-text logging of sensitive information
2025-10-10 01:27:41 -05:00
Shni
2eb59529ec
Potential fix for code scanning alert no. 2: Clear-text logging of sensitive information
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-10-10 01:27:29 -05:00
Shni
26ba19fc55
Merge pull request #16 from Shnimlz/Shnimlz-patch-6
...
Translate SECURITY.md to Spanish
2025-10-10 01:05:10 -05:00
Shni
b744e80476
Translate SECURITY.md to Spanish
...
Updated the security policy document to Spanish.
2025-10-10 01:05:00 -05:00
Shni
2f64ee519c
Merge pull request #14 from Shnimlz/economy
...
Updating
2025-10-10 00:54:05 -05:00
0a67c80f64
feat: Actualizar la licencia a MIT y añadir guía de contribución
2025-10-10 00:53:04 -05:00
3538d76fa1
chore: ignore IDE/.github folders and untrack them
2025-10-10 00:53:04 -05:00
Shni
7c4c0038f1
Merge pull request #13 from Shnimlz/economy
...
Economy
2025-10-10 00:34:18 -05:00
Shni
10a84c60ac
Merge branch 'master' into economy
2025-10-10 00:34:07 -05:00
96fe80de5f
Implement code structure updates and remove redundant code blocks
2025-10-10 00:33:28 -05:00
a7597cff75
feat: Añadir altura mínima a los badges y mejorar la inclusión de secciones avanzadas
2025-10-10 00:20:59 -05:00
65d845a80a
feat: Mejorar el diseño del footer ajustando la estructura de los elementos y optimizando el espacio
2025-10-10 00:17:34 -05:00
9787310e50
feat: Mejorar la sección de badges con un diseño más compacto y accesible
2025-10-10 00:13:21 -05:00
a10ffed4c8
feat: Cambiar las inclusiones de plantillas a formato await para mejorar la carga de contenido
2025-10-10 00:05:12 -05:00
769acfde61
feat: Actualizar el diseño del pie de página con elementos más pequeños y estilos mejorados
2025-10-09 23:57:12 -05:00
cf4905de8a
feat: Mejorar el diseño del pie de página y la barra de navegación con nuevos estilos y elementos gráficos
2025-10-09 23:51:46 -05:00
94dcfdc1d9
Refactor code structure for improved readability and maintainability
2025-10-09 23:47:24 -05:00
adb1e5ab4b
Refactor code structure for improved readability and maintainability
2025-10-09 23:35:13 -05:00