syntaxbullet
d0b4cb80de
feat: Add user existence checks to economy commands and refactor trade service to expose sessions for testing.
2026-01-05 12:57:22 +01:00
syntaxbullet
2933eaeafc
refactor: convert TradeService to object export pattern
...
Convert from class-based to object-based export for consistency with
other services (economy, inventory, quest, etc).
Changes:
- Move sessions Map and helper functions to module scope
- Convert static methods to object properties
- Update executeTrade to use withTransaction helper
- Update all imports from TradeService to tradeService
Updated files:
- trade.service.ts (main refactor)
- trade.interaction.ts (update usages)
- trade.ts command (update import and usage)
All tests passing with no breaking changes.
2025-12-24 21:57:30 +01:00
syntaxbullet
f75cc217e9
refactor: extract further UI components into views
2025-12-24 11:44:43 +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
1189483244
refactor: clean up unused imports and dead code across commands, services, and tests.
2025-12-24 11:02:13 +01:00
syntaxbullet
67d6298793
revert(pay): ping in separate message content due to API limitations
2025-12-23 18:50:35 +01:00
syntaxbullet
808fbef11b
fix: allow included mentions on payment
2025-12-23 18:44:17 +01:00
syntaxbullet
b833796fb9
fix: make payments public
2025-12-23 18:42:13 +01:00
syntaxbullet
58ea8b92f1
fix: timestamp rendering issues
2025-12-23 18:36:22 +01:00
syntaxbullet
fbd2bd990f
fix: correct Discord timestamp formatting in daily command
2025-12-22 14:32:33 +01:00
syntaxbullet
f859618367
feat: introduce weekly bonus for daily rewards, updating calculations, configuration, and command UI.
2025-12-22 13:16:44 +01:00
syntaxbullet
f3b6af019d
refactor: remove unused import, markdown fences, and standardize string interpolation formatting.
2025-12-22 13:07:11 +01:00
syntaxbullet
0dea266a6d
feat(commands): improve error feedback for economy and admin commands
2025-12-22 12:59:46 +01:00
syntaxbullet
3c20b23cc1
fix: add missing fields to config schema
2025-12-18 17:39:46 +01:00
syntaxbullet
6d54695325
feat: add new exam economy command with its configuration.
2025-12-18 14:48:40 +01:00
syntaxbullet
1d4263e178
feat: Introduced an admin listing command and shop interaction module, replacing the sell command, and added a type-checking script.
2025-12-15 22:52:26 +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
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
1eace32aa1
feat: Implement dynamic event loading and refactor event handlers into dedicated files.
2025-12-14 22:21:28 +01:00
syntaxbullet
9d1d4aeaea
feat: clarify daily reward streak display by renaming field and adding 'days' unit
2025-12-14 15:32:36 +01:00
syntaxbullet
bd59f01a41
chore: update currency symbol from 🪙 to AU in balance display
2025-12-14 14:28:11 +01:00
syntaxbullet
4639fecf45
feat: Implement gradual daily streak decay and rename currency from 'coins' to 'Astral Units'.
2025-12-14 14:16:16 +01:00
syntaxbullet
b33738aee3
refactor: remove unused imports and types across trade and economy modules
2025-12-13 12:50:00 +01:00
syntaxbullet
86cbe827a2
refactor: Remove interaction deferrals, use direct replies, and make error/warning messages ephemeral in economy commands.
2025-12-13 12:46:38 +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
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
049725c384
fix: Display target user mention in pay success message.
2025-12-08 10:36:25 +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
Vraj Ved
24138988e6
Added Pay and Daily
2025-12-06 00:08:49 +05:30
Vraj Ved
cea52b0c6e
Merge branch 'main' of https://git.ayau.me/HotPlate/discord-rpg-concept
2025-12-05 23:23:22 +05:30
syntaxbullet
fdfb2508ae
feat: Initialize database and restructure application source code.
2025-12-05 18:52:20 +01:00