Commit Graph
124 Commits
Author SHA1 Message Date
auto 964bfc85fa Initial commit for handling forms 2024-03-31 11:02:51 +02:00
auto c7120cc26c Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.gitignore
#	gradlew
2024-01-14 13:28:43 +01:00
auto c7ce20fbd4 Add gradle files 2024-01-14 13:28:26 +01:00
auto 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
auto b917a8c18f Optimize message retrieval in CommandDataSuggestions
The logic in CommandDataSuggestions has been simplified to improve fetching of parent messages in thread channels. This change replaces the previous method that got the entire history and checked conditionally for size. Now, instead, the parent message is directly retrieved, leading to cleaner and more efficient code.
2024-01-13 14:03:24 +01:00
Len e6818a4651 Include gradle wrapper in project 2024-01-13 09:19:52 +01:00
auto 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
auto 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
auto a3d78c6059 Leave a message in the appeal thread notifying us of who completed it and when 2023-10-27 02:05:26 +02:00
auto 9f23812b16 Attempt to add text to embeds for appeal reminders so users can be tagged in them 2023-08-02 22:12:51 +02:00
auto f6331fdbe5 Fixed valid server list 2023-07-24 22:47:38 +02:00
auto 745fda134f Fix appeal reminders not properly removing themselves from the database 2023-07-20 00:18:40 +02:00
auto 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
auto 977ae78e39 Added a way to add new lines in the description of a poll (it's done in a weird way though /n instead of \n) 2023-06-05 02:48:39 +02:00
auto 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
auto 4af7628203 Moved AltitudeLogs to repository 2023-05-23 04:18:45 +02:00
auto 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
auto 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
auto df6d060863 Added a command to get suggestion data into excel 2023-03-12 05:32:07 +01:00
auto 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
auto a80d1952da Moved handling appeals from reactbot to here and improved it (more modern) 2023-03-03 00:48:30 +01:00
auto 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
auto f93ad8b4fb We have multiple bots using slash commands so if this instance can't find a command it shouldn't respond to it 2023-01-04 02:28:49 +01:00
auto 9ed3146a73 bad fix to force reconnect? 2022-11-09 03:13:56 +01:00
auto 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
auto 5d8368d0e5 Fixed bidding on your own auction
Fixed screenshots not working
2022-10-21 21:41:33 +02:00
auto d6eb332d83 Added auction command 2022-10-21 02:59:00 +02:00
auto df47c7a709 Improved channel type check 2022-10-19 03:13:02 +02:00
auto 5c66a0fe79 Don't delete bot messages 2022-10-19 03:12:23 +02:00
auto 4db1c8906d Added error check to adding emote to suggestion 2022-10-06 17:19:58 +02:00
auto 1efdf2a400 Fixed error when message wasn't sent from guild 2022-10-06 17:13:52 +02:00
auto 5ed071ab7c Added soft lock command 2022-10-03 16:58:20 +02:00
auto 8bcadbba27 Added crate item suggestion form (fixed output type table) 2022-10-01 03:39:51 +02:00
auto e20f81e764 Automatically add tag if it has the 🔧 emote in it (indicating the suggestion is not replied to) 2022-09-30 00:27:19 +02:00
auto 425eaf2b94 Added /seen command 2022-09-30 00:01:10 +02:00
auto 2d652bc780 Merge branch 'master' into seenCommand
# Conflicts:
#	src/main/java/com/alttd/commandManager/CommandManager.java
2022-09-29 19:06:30 +02:00
auto 5c0f93197c Merge remote-tracking branch 'origin/master' into forums 2022-09-29 19:02:25 +02:00
auto 7a76ff9d14 Update to jda alpha 20 (has forums support) 2022-09-29 19:01:30 +02:00
Len 5519ea0ad4 Start working on CommandSeen.java 2022-09-29 13:02:53 +02:00
auto f7a936e9a8 Fixed auto complete suggesting 1w instead of 1m 2022-09-22 00:11:02 +02:00
auto be890af51f Fixed buttons not removing after clicking them
Added hour option
Fixed reminder not working without description
Fixed using snowflake instead of timestamp for relative time
2022-09-21 23:43:24 +02:00
auto 3c4213f188 Fixed spelling 2022-09-21 23:24:18 +02:00
Stijn d8102e4baa Added reminders (in a new table for now) 2022-09-21 21:49:42 +02:00
Stijn 83bb43f696 Added guildOnly to commands that need it 2022-09-21 18:52:59 +02:00
Stijn 70f4bf13d6 Added guildOnly to commands that need it 2022-09-21 18:37:03 +02:00
auto a49bbb987b Fixed when console manager gets called 2022-09-17 03:10:43 +02:00
auto 7dd9bbcdd2 Add reactions to suggestions when posted 2022-09-17 02:20:47 +02:00
auto 6b8ec12d48 Added the player's name in the suggestion they made 2022-09-16 23:45:31 +02:00
auto 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
auto 40b126bbe8 Made response italic 2022-09-16 22:05:48 +02:00