Multi Language Economy Bot - #34
Closed
LoiFragola wants to merge 175 commits into
Closed
Conversation
Corrected a typo in the README file.
Re-engineer EconomyBot with configurable items, persistent market stock, member marketplace listings, item drops, optional shared inventory foundation, bilingual localization and comprehensive documentation.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
INS Development Enhanced Economy Bot
Why this version is different
This release introduces a configuration-first domain model instead of burying economy definitions inside command files. The system now validates the configured item registry and market during startup, separates canonical items from purchasable market entries, persists market stock, and maintains player listings as independent transactional records.
The economy engine was also rebuilt around explicit service boundaries. SQLite is used as a durable state layer, money operations and marketplace settlements execute atomically, inventory operations are centralized, cooldown state is persistent, and slash/prefix commands execute against a shared command context rather than relying on compatibility hacks.
The command system was rebuilt for native discord.js v14 interactions, with centralized validation, bilingual translation, role/user/permission-based administration, alias resolution and defensive error handling. The project also includes CI coverage for multiple supported Node.js versions and CodeQL analysis.
Marketplace
Members can participate in the marketplace using items from their own inventory. Items can be listed with /sell, purchased with /buy, and managed through the persistent marketplace system.
Inventory
The new inventory layer tracks item ownership per member and guild. Items can be obtained through configured rewards, purchased from the market or transferred through marketplace transactions, while only registered items are allowed into the economy.
Read More