Commit Graph

28 Commits

Author SHA1 Message Date
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 ead56c4585 Merge branch 'master' into forms
# Conflicts:
#	src/main/java/com/alttd/AltitudeBot.java
2024-04-28 17:06:27 +02:00
Teriuihi 314dcd6771 Refactor code to improve message forwarding to Kanboard
This commit extracts the method "forwardMessageToKanboard" from the "TagAdded" class to the new utility class "Kanboard", making the code base cleaner and more maintainable. It also introduces "ContextMenuForwardToKanboard" for better message management. Further modifications include alterations in "AltitudeBot", such as changes in permissions and implementing @Getter.
2024-03-31 14:51:13 +02:00
Teriuihi 32e4a669ed Add message forwarding functionality to Kanboard
This update includes the creation of a new "ContextMenuForwardToKanboard" and a utility class "Kanboard", which manage the forwarding of messages to Kanboard. The "forwardMessageToKanboard" method has been extracted from "TagAdded" into "Kanboard" for better code organization. These changes also include some minor adjustments like changing the permission called in "AltitudeBot" and implementing the use of @Getter in the same class.
2024-03-31 11:39:21 +02:00
Teriuihi 964bfc85fa Initial commit for handling forms 2024-03-31 11:02:51 +02: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 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 df6d060863 Added a command to get suggestion data into excel 2023-03-12 05:32:07 +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 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
Len e8a92c9995 Merge branch 'dev/update' into forums
# Conflicts:
#	build.gradle.kts
#	src/main/java/com/alttd/AltitudeBot.java
#	src/main/java/com/alttd/commandManager/commands/AddCommand/CommandManage.java
#	src/main/java/com/alttd/commandManager/commands/AddCommand/SubCommandGroupSet.java
#	src/main/java/com/alttd/commandManager/commands/AddCommand/SubCommandGroupUnset.java
#	src/main/java/com/alttd/commandManager/commands/CommandHelp.java
#	src/main/java/com/alttd/commandManager/commands/PollCommand/CommandPoll.java
#	src/main/java/com/alttd/listeners/JDAListener.java
2022-09-16 09:15:41 +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 d6b631e232 Updated JDA 2022-09-14 21:36:43 +02:00
Teriuihi 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
Len 9ab689c0b8 Work on RequestManager, a new way to create and manage requests. 2022-09-10 00:19:38 +02:00
Len d371b44a66 Update JDA 2022-09-09 15:31:14 +02:00
Teriuihi 83af33dcc4 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/java/com/alttd/AltitudeBot.java
2022-04-23 16:30:17 +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
Stijn aa42ba000c Added console commands 2022-04-13 21:46:09 +02:00
Teriuihi 32102cac3b Switched to using CommandData in registerCommand and allow USER commands to work in guilds 2022-04-11 03:29:59 +02:00
Stijn 27122538e4 Added embed templates and basic validation for channels 2022-04-08 21:56:58 +02:00
Stijn ef7649d920 Made sure the bot starts properly and generates the configs 2022-04-08 19:51:12 +02:00
Teriuihi c6bd15f141 Added sub commands for polls and did help command 2022-04-01 02:54:33 +02:00
Teriuihi 8f45b7039a did a lot of work on poll command 2022-03-31 22:08:50 +02:00
Stijn ba55956bbf Hopefully finished help command 2022-03-09 22:37:44 +01:00
Stijn 9f1f62d593 Initial commit 2022-03-09 22:11:11 +01:00