feat(economy): implements "Artikel bearbeiten"#179
Open
jateute wants to merge 2 commits intoScootKit:beta-discordjs14from
Open
feat(economy): implements "Artikel bearbeiten"#179jateute wants to merge 2 commits intoScootKit:beta-discordjs14from
jateute wants to merge 2 commits intoScootKit:beta-discordjs14from
Conversation
d352986 to
dd04984
Compare
There was a problem hiding this comment.
Pull request overview
Adds support for editing existing shop items in the economy system (“Artikel bearbeiten”), aligning with the feature request.
Changes:
- Introduces
updateShopItem()to update an item’s name, price, and/or role. - Adds a new
/shop editsubcommand with corresponding options. - Extends localization/config strings for edit confirmations and logging.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 5 comments.
| File | Description |
|---|---|
| modules/economy-system/economy-system.js | Adds updateShopItem() implementation and exports it. |
| modules/economy-system/configs/strings.json | Adds a new configurable itemEdit response string. |
| modules/economy-system/commands/shop.js | Adds /shop edit subcommand wiring and renames the permission helper. |
| locales/en.json | Adds new English localization keys used by the edit feature. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…them in createShopItem
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.
Implements https://featureboard.net/suggestions/95f5a741-6d35-4b86-9c67-abd900dca76e