Commit graph

24 commits

Author SHA1 Message Date
22fcd8420a Refactor ExtendedAudio and Shop classes to improve attribute access and enhance user interaction handling. Update duration calculation in ExtendedAudio to handle track length in milliseconds, and modify PendingView in Shop to pass context for user selection, ensuring accurate user identification.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-28 01:52:41 -04:00
6eedb65625 Update item creation completion message in ItemManager to simplify user feedback and enhance clarity.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:27:22 -04:00
1b77d537be Remove command prefix check during item creation in ItemManager to streamline the user experience and prevent premature termination of the item creation process.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:23:37 -04:00
224a01ad89 Enhance shop item creation process to support new shop creation. Update user prompts to inform about existing shops and allow for the creation of new shops if none exist. Streamline message handling and improve user experience during item addition.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:21:26 -04:00
f80c66e1c1 Update positive method in Checks class to allow zero as a valid input, enhancing validation logic for user input.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 20:18:27 -04:00
56123bffe8 Refactor Shop cog to replace ctx.send with ctx.message.reply for improved user interaction and feedback consistency. Simplify command descriptions and enhance error handling for various shop commands, ensuring clearer communication in DMs.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 02:20:55 -04:00
928a21d810 Refactor Shop cog to improve role refund functionality by separating user and settings instances. Enhance inventory management for role items by ensuring user-specific checks and maintaining item data integrity during refunds.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 01:57:22 -04:00
12bd541b64 Update Shop cog to add refund functionality for role items, allowing users to return roles for inventory credits. Implement interactive confirmation process for refunds and enhance item gifting logic to restrict multiple role item ownership. Improve error handling and user feedback during transactions.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 01:54:58 -04:00
2f0baffab2 Refactor inventory management in Shop cog to streamline item removal process. Implement user-specific checks for item quantity adjustments and ensure proper deletion of items when quantity reaches zero, enhancing inventory handling and user experience.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 01:44:49 -04:00
3482abef74 Add role management feature in Shop cog to allow users to remove roles and receive refunds. Implement interactive confirmation with reaction handling for role removal, enhancing user experience and feedback during transactions.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 01:41:28 -04:00
9fe35dc336 Enhance role assignment in Shop cog by adding support for role mentions and improving error handling with interactive embeds. Update feedback messages for role assignment success and failure to provide clearer user communication.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 01:37:23 -04:00
e8dfad8f3d Update InventoryView to modify close button's custom ID for better clarity and organization. Remove redundant close button instantiation and streamline button handling in the UI.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 00:55:36 -04:00
dab195c57f Implement user-specific interaction checks in ShopView, PurchaseView, and InventoryView to prevent unauthorized access. Update timeout handling to provide clearer feedback messages upon inactivity. Refactor button layout for better organization and improve embed field formatting for item details.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 00:46:18 -04:00
35e0ac182d Enhance role validation in ItemManager by adding support for role mentions. Update hierarchy_check method to correctly handle role mentions and streamline role name checks, improving user interaction and validation logic.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-26 00:08:08 -04:00
85de2c70c1 Refactor Shop and UI components to improve timeout handling for interactive views. Update timeout duration to 3 minutes and implement message replies for user feedback upon timeout in ShopView, PurchaseView, and InventoryView.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-25 23:58:22 -04:00
3ee6707cc5 Refactor button layout in ShopView, PurchaseView, and InventoryView to explicitly assign rows for better organization. Update cancel and close buttons to new rows for improved UI structure.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-25 23:52:14 -04:00
68d8c85c23 Update UI imports in shop module to include Item component for enhanced functionality in user interactions.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-25 23:48:04 -04:00
cc86a2f697 Enhance ShopManager and PurchaseView to improve user feedback with interactive embeds for error messages and purchase confirmations. Implement validation for item quantities and stock availability, ensuring clearer communication of issues and successful transactions.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-25 23:42:19 -04:00
5cc572ca7a Refactor Shop cog to enhance user experience by implementing interactive embeds for inventory and shop commands. Improve error handling with descriptive embeds for various scenarios, including empty inventories and invalid parameters. Add cancel buttons to shop and purchase views for better navigation and user control.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-25 23:40:22 -04:00
9b7be4987f Refactor Shop cog to improve exception handling during shop loading and enhance user experience by implementing a state flag in the Parser class. Update role validation logic to ensure it only runs outside of initialization, streamlining item parsing and shop interactions.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-25 23:26:44 -04:00
421946e316 Enhance Shop cog by adding logging for exceptions during default shop loading and introducing a flag in the Parser class to differentiate initialization state. Update role validation logic to only execute outside of initialization, improving error handling and user experience during item parsing and shop interactions.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-25 23:18:04 -04:00
c9f172c451 Refactor Shop cog to utilize modern UI components for inventory and purchase interactions. Replace menu-based displays with interactive views for better user experience. Update item redemption process to handle pending items with improved confirmation dialogs. Enhance purchase logic to support quantity selection and stock validation.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-25 23:11:37 -04:00
a63232fb2a Refactor Shop cog initialization and enhance item purchase logic. Introduce an initialize method to load default shops from CSV if none exist, and improve stock management during purchases by adding checks for item availability and updating inventory accordingly.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-25 23:01:50 -04:00
7fc2053951 Add Shop Cog with inventory and trading features. Implement shop management commands for creating, editing, and deleting shops and items. Introduce inventory display and item redemption functionalities. Include example CSV for bulk item addition and enhance user experience with structured menus and checks.
Some checks are pending
Run pre-commit / Run pre-commit (push) Waiting to run
2025-05-24 04:09:52 -04:00