Commit Graph

34 Commits

Author SHA1 Message Date
Teriuihi 8a65c27bac Add command for managing staff join dates
Implemented `CommandStaffJoinDate` to allow viewing and setting staff join dates. Included methods in `QueriesStaffJoinDate` for database interactions and defined the `JoinDate` record to encapsulate join date information.
2024-08-25 19:39:43 +02:00
Teriuihi 27f1920081 Create event management system, added event notifier for community events
Added functionalities to create and manage events, including the creation of necessary database tables, context menus, modals, and scheduling tasks. Introduced `UserToMessageTracker` utility for tracking user messages within modals.
2024-08-07 00:18:40 +02:00
Teriuihi 964bfc85fa Initial commit for handling forms 2024-03-31 11:02:51 +02: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 32f0935b4a Added balance command and related queries
This commit introduces a new "balance" command, enabling users to check their in-game balance. This feature includes adding two new query files (`QueriesEconomy` and `QueriesUserDiscordId`), which handle SQL operations for fetching user ID and balance data. Also, number formatting utilities were updated to include a function for double's for proper display of balance.
2024-01-13 08:27:15 +01:00
Teriuihi 745fda134f Fix appeal reminders not properly removing themselves from the database 2023-07-20 00:18:40 +02:00
Teriuihi bb60924a63 Added command to update total votes manually
Moved code to update total votes to util class
Removed the channel sub command option from all poll subcommands other than the add subcommand
2023-06-05 03:41:02 +02:00
Teriuihi 706ceb4b55 Finished poll commands (except for removing a button) added a timer to update total votes every 5 minutes 2023-06-04 23:30:09 +02:00
Teriuihi 94f1d566ac Changed to new logging, static implementation for now which is not ideal, but it's not worth spending the time to fix it right now 2023-05-21 21:54:59 +02:00
Teriuihi 0ae96bd6e5 Fixed reminders not running if the reminder was in a thread channel, and fixed reminders (and appeal posts) not pinging 2023-03-20 04:45:55 +01:00
Teriuihi 11d2e2bac8 Added the ability for reminders to mention a user and specified what type of reminder a reminder is 2023-03-12 01:42:50 +01:00
Teriuihi a80d1952da Moved handling appeals from reactbot to here and improved it (more modern) 2023-03-03 00:48:30 +01:00
Teriuihi 9ed3146a73 bad fix to force reconnect? 2022-11-09 03:13:56 +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
Teriuihi 5ed071ab7c Added soft lock command 2022-10-03 16:58:20 +02:00
Teriuihi 8bcadbba27 Added crate item suggestion form (fixed output type table) 2022-10-01 03:39:51 +02:00
Teriuihi 425eaf2b94 Added /seen command 2022-09-30 00:01:10 +02:00
Teriuihi 2d652bc780 Merge branch 'master' into seenCommand
# Conflicts:
#	src/main/java/com/alttd/commandManager/CommandManager.java
2022-09-29 19:06:30 +02:00
Len 5519ea0ad4 Start working on CommandSeen.java 2022-09-29 13:02:53 +02:00
Stijn d8102e4baa Added reminders (in a new table for now) 2022-09-21 21:49:42 +02:00
Teriuihi accd875eaa Added a toggle role command and a command to manage the roles that can be toggled 2022-09-16 22:52:31 +02:00
Teriuihi 2676acc205 Made suggestions work with forums and added support for forum channels to other commands 2022-09-16 18:58:06 +02:00
Teriuihi 30aa2df849 Added history command 2022-09-16 02:42:32 +02:00
Teriuihi 6e1b822405 Added history command 2022-09-16 02:42:16 +02:00
Teriuihi d6dbecfe4e Added flag command 2022-09-16 02:11:49 +02:00
Teriuihi b91f141c08 Update output channel if it was previously defined 2022-09-15 23:08:28 +02:00
Teriuihi a28e70b443 Added evidence command 2022-09-15 22:03:36 +02:00
Teriuihi 3c9b49ab46 Added button manager and some buttons for suggestions
Added a way to reload commands
Added a way to set output channels
2022-09-15 21:34:27 +02:00
Stijn 49a5903da0 More work on suggestion modal 2022-09-14 22:10:20 +02:00
Stijn 4651776758 Create database tables on startup 2022-04-22 20:23:22 +02:00
Stijn 86ef41a117 Started work on permission commands and toggling commands on and off within discord.
Changed SubCommand to inherit from SubOption and added SubCommandGroup
2022-04-15 21:44:26 +02:00
Teriuihi 42601a11c2 Added database tables 2022-04-04 11:28:44 +02:00
Teriuihi 8f45b7039a did a lot of work on poll command 2022-03-31 22:08:50 +02:00