syntaxbullet
947bbc10d6
refactor: add inventory view layer
...
Create inventory.view.ts with UI logic extracted from commands:
- getInventoryEmbed() for inventory display
- getItemUseResultEmbed() for item use results
Updated commands with proper type safety:
- inventory.ts: add null check, convert user.id to string
- use.ts: add null check, convert user.id to string
Improves separation of concerns and type safety.
2025-12-24 22:08:51 +01:00
syntaxbullet
fcc82292f2
feat: Introduce modular inventory item effect handling and centralize Discord interaction routing.
2025-12-24 12:20:42 +01:00
syntaxbullet
1189483244
refactor: clean up unused imports and dead code across commands, services, and tests.
2025-12-24 11:02:13 +01:00
syntaxbullet
a3099b80c5
feat: Add color role item effect with role swapping and implement item consumption toggle.
2025-12-23 21:12:36 +01:00
syntaxbullet
4a0a2a5878
refactor(inventory): propagate UserError for predictable failures
2025-12-22 12:55:46 +01:00
syntaxbullet
1f7679e5a1
test: refactor mocks to use spyOn for better isolation
2025-12-19 13:31:14 +01:00
syntaxbullet
c881b305f0
test: add tests for inventory service
2025-12-19 11:08:43 +01:00
syntaxbullet
3a96b67e89
feat: Allow item effects to specify durations in hours, minutes, or seconds.
2025-12-15 23:26:51 +01:00
syntaxbullet
d3ade218ec
feat: add /use command for inventory items with effects, implement XP boosts, and enhance scheduler for temporary role removal.
2025-12-15 23:22:51 +01:00
syntaxbullet
7e986fae5a
feat: Implement custom error classes, a Drizzle transaction utility, and update Discord.js ephemeral message flags.
2025-12-15 22:14:17 +01:00
syntaxbullet
ac6283e60c
feat: Introduce dynamic JSON-based configuration for game settings and command toggling via a new admin command.
2025-12-15 21:59:28 +01:00
syntaxbullet
7e9aa06556
feat: Introduce success and info embeds, add related user tracking to economy transactions, and refine trade interaction feedback and thread cleanup.
2025-12-13 16:02:07 +01:00
syntaxbullet
f96d81f8a3
chore: Remove unnecessary comments from profile command, trade interaction handler, inventory service, and scheduler.
2025-12-13 14:28:36 +01:00
syntaxbullet
5f4efd372f
feat: Introduce GameConfig to centralize constants for leveling, economy, and inventory, adding new transfer and inventory limits.
2025-12-13 12:20:30 +01:00
syntaxbullet
8262eb8f02
feat: Add /sell command, enhance inventory service, and refactor student ID card generation with new constellation graphics and dynamic backgrounds.
2025-12-12 13:41:13 +01:00
syntaxbullet
29c0a4752d
feat: Introduce new modules for class, inventory, leveling, and quests with expanded schema, refactor user service, and add verification scripts.
2025-12-07 23:03:33 +01:00