Commit Graph

6 Commits

Author SHA1 Message Date
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
eaf97572a4 refactor: replace direct EmbedBuilder usage with a new createBaseEmbed helper for consistent embed creation 2025-12-24 11:17:59 +01:00
syntaxbullet
9333d6ac6c feat: Prevent inventory, profile, balance, and pay commands from targeting bot users. 2025-12-15 22:21:29 +01:00
syntaxbullet
421bb26ceb feat: add trading system with dedicated modules and centralize embed creation for commands 2025-12-13 12:43:27 +01:00
syntaxbullet
866cfab03e feat: Implement userService.getOrCreateUser and integrate it across commands, remove old utility scripts, and fix daily bonus calculation. 2025-12-08 10:29:40 +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