Commit Graph

6 Commits

Author SHA1 Message Date
akastijn 2c1088ef2e Update from v5 -> v6 for JDA 2025-11-08 19:35:28 +01:00
Teriuihi e9db832901 Refactor code to replace GenericSelectMenuInteraction with StringSelectInteraction
The commit replaces instances of `GenericSelectMenuInteractionEvent` with `StringSelectInteractionEvent` to enhance type safety. This renaming results in a more specific interaction event and eliminates the need to check for type instantiation. In addition, a modification has been made to ensure a bid finishes properly in the `SelectMenuAuction` class with `deferEdit`.
2024-01-14 13:26:43 +01:00
Teriuihi 57b86d1933 Update JDA interactions and adjust package imports
This commit updates the handling of JDA interactions to use the latest available methods and classes. Classes such as Modal and SelectMenu have been refactored and updated with new package locations. This change also includes adjustments for event handling where methods dealing with SelectMenuInteractionEvent are updated to GenericSelectMenuInteractionEvent and StringSelectInteractionEvent. Finally, minor changes were made to replace the use of some javax annotations with their JetBrains equivalents.
2024-01-13 08:27:42 +01:00
Teriuihi 265ddd82c3 We have multiple bots using slash commands so if this instance can't find a button/modal/selectmenu it shouldn't respond to it 2023-01-08 03:48:45 +01:00
Teriuihi 723847a3be Improved auctions
- Added Starting Bid (only for first bid)
- Fixed missing $'s in messages
- Improved the way numbers are displayed in auctions for readability
- Added AuctionActions to store bids by users
- Removed as much code that was relying on text being in embeds as possible
- Improved structure of code related to auctions
2022-10-30 02:05:16 +01:00
Teriuihi d6eb332d83 Added auction command 2022-10-21 02:59:00 +02:00