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
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
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
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
auto
ce8cabdbc9
Updated to the latest commit for the forum branch
2022-09-16 21:57:46 +02:00
auto
d4411af654
Filter out zero width spaces to prevent ppl messing with the bot
2022-09-16 21:57:33 +02:00
auto
fa3ee5e6bc
Fixed editing event instead of message
2022-09-16 21:57:15 +02:00
auto
2083f8ff35
Added a way to reply to suggestions
2022-09-16 21:34:57 +02:00
auto
2676acc205
Made suggestions work with forums and added support for forum channels to other commands
2022-09-16 18:58:06 +02:00
auto
b31a5ba0df
Moved RequestManager.init to the onReady listener
2022-09-16 18:57:45 +02:00
auto
ce9b57efe9
Added a way to specify the type of history to show
2022-09-16 05:16:37 +02:00
auto
c59746d81f
Fixed history being called flag list
2022-09-16 03:16:45 +02:00
auto
931781e30a
Moved priority for console commands up
...
Disabled setting presence since the other bot still does that
2022-09-16 03:16:34 +02:00
auto
30aa2df849
Added history command
2022-09-16 02:42:32 +02:00
auto
6e1b822405
Added history command
2022-09-16 02:42:16 +02:00
auto
d6dbecfe4e
Added flag command
2022-09-16 02:11:49 +02:00
auto
851614ed36
Changed formatting for evidence output
...
Changed limits on form
2022-09-15 23:21:39 +02:00
auto
d5391d819f
Fixed button colors
2022-09-15 23:13:48 +02:00
auto
1d9afbc283
Implemented onButtonInteraction
2022-09-15 23:08:43 +02:00
auto
b91f141c08
Update output channel if it was previously defined
2022-09-15 23:08:28 +02:00
auto
f8470ee186
Register all listeners
2022-09-15 23:08:13 +02:00
auto
a28e70b443
Added evidence command
2022-09-15 22:03:36 +02:00
auto
4961b70f28
Added error handling
2022-09-15 21:46:01 +02:00
auto
ee23b56818
Properly register every command on startup
2022-09-15 21:40:44 +02:00
auto
d2d87df0fd
Updated .gitignore
2022-09-15 21:36:16 +02:00
auto
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
auto
e465c38994
Fixed command manager and removed permission manager stuff
...
Fixed commands that were added, not done with polls
2022-09-10 05:20:24 +02:00
auto
45e7d9994b
Added untested Disable and Enable sub command
2022-04-24 02:33:24 +02:00
auto
83af33dcc4
Merge remote-tracking branch 'origin/master'
...
# Conflicts:
# src/main/java/com/alttd/AltitudeBot.java
2022-04-23 16:30:17 +02:00
auto
32102cac3b
Switched to using CommandData in registerCommand and allow USER commands to work in guilds
2022-04-11 03:29:59 +02:00
auto
de8f2a9356
Added intents
2022-04-11 03:29:16 +02:00
auto
c3d2b215d5
Attempted to add mysql
2022-04-11 02:42:11 +02:00
auto
beae61728c
Attempted to add mysql
2022-04-11 02:41:12 +02:00
auto
68400777ab
Fixed auto complete options where they aren't possible
2022-04-11 02:36:49 +02:00
auto
42601a11c2
Added database tables
2022-04-04 11:28:44 +02:00
auto
c6bd15f141
Added sub commands for polls and did help command
2022-04-01 02:54:33 +02:00
auto
311348dcf6
Merge remote-tracking branch 'origin/master'
2022-03-31 22:09:06 +02:00
auto
8f45b7039a
did a lot of work on poll command
2022-03-31 22:08:50 +02:00