Commit Graph

118 Commits

Author SHA1 Message Date
Teriuihi 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
Teriuihi 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
Teriuihi a49bbb987b Fixed when console manager gets called 2022-09-17 03:10:43 +02:00
Teriuihi 7dd9bbcdd2 Add reactions to suggestions when posted 2022-09-17 02:20:47 +02:00
Teriuihi 6b8ec12d48 Added the player's name in the suggestion they made 2022-09-16 23:45:31 +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 40b126bbe8 Made response italic 2022-09-16 22:05:48 +02:00
Teriuihi d4411af654 Filter out zero width spaces to prevent ppl messing with the bot 2022-09-16 21:57:33 +02:00
Teriuihi fa3ee5e6bc Fixed editing event instead of message 2022-09-16 21:57:15 +02:00
Teriuihi 2083f8ff35 Added a way to reply to suggestions 2022-09-16 21:34:57 +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 b31a5ba0df Moved RequestManager.init to the onReady listener 2022-09-16 18:57:45 +02:00
Len f7c531d6ba Update broken JDA stuff 2022-09-16 09:20:05 +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 ce9b57efe9 Added a way to specify the type of history to show 2022-09-16 05:16:37 +02:00
Teriuihi c59746d81f Fixed history being called flag list 2022-09-16 03:16:45 +02:00
Teriuihi 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
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 851614ed36 Changed formatting for evidence output
Changed limits on form
2022-09-15 23:21:39 +02:00
Teriuihi d5391d819f Fixed button colors 2022-09-15 23:13:48 +02:00
Teriuihi 1d9afbc283 Implemented onButtonInteraction 2022-09-15 23:08:43 +02:00
Teriuihi b91f141c08 Update output channel if it was previously defined 2022-09-15 23:08:28 +02:00
Teriuihi f8470ee186 Register all listeners 2022-09-15 23:08:13 +02:00
Teriuihi a28e70b443 Added evidence command 2022-09-15 22:03:36 +02:00
Teriuihi 4961b70f28 Added error handling 2022-09-15 21:46:01 +02:00
Teriuihi ee23b56818 Properly register every command on startup 2022-09-15 21:40:44 +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 6a05dec5b9 Added a way to make modals and added a suggestion modal 2022-09-14 21:36:59 +02:00
Stijn d6b631e232 Updated JDA 2022-09-14 21:36:43 +02:00
Len ddcd1643c2 Update Request.java 2022-09-10 10:59:21 +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 8d883b1e88 Changes to AbstractConfig.java 2022-09-09 18:47:13 +02:00
Len d371b44a66 Update JDA 2022-09-09 15:31:14 +02:00
Teriuihi 45e7d9994b Added untested Disable and Enable sub command 2022-04-24 02:33:24 +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
destro174 e56a5c6f8d Register commands when JDA is ready 2022-04-22 22:22:32 +02:00
destro174 b0ad269131 revert 0f042b0 2022-04-22 21:27:54 +02:00
Stijn e4dfecb7a3 Fixed order in which commands are loaded 2022-04-22 21:20:24 +02:00
destro174 6c6c291ff2 gracefully shutdown if using intellij 2022-04-22 21:18:36 +02:00
Stijn 4651776758 Create database tables on startup 2022-04-22 20:23:22 +02:00
Stijn d351a424e7 Renamed add command 2022-04-15 22:00:33 +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
Teriuihi de8f2a9356 Added intents 2022-04-11 03:29:16 +02:00
Teriuihi 68400777ab Fixed auto complete options where they aren't possible 2022-04-11 02:36:49 +02:00
Stijn 9642a80f08 Start for editing descriptions for polls 2022-04-08 21:57:55 +02:00
Stijn b081a9ef88 Started work for adding buttons 2022-04-08 21:57:38 +02:00
Stijn f664f3624e Added what's needed to execute the add subcommand except storing the data 2022-04-08 21:57:23 +02:00
Stijn 27122538e4 Added embed templates and basic validation for channels 2022-04-08 21:56:58 +02:00
Stijn c44264b78c Deleted unused imports 2022-04-08 21:56:18 +02:00
Stijn c33302e221 Deleted old embed command 2022-04-08 21:55:54 +02:00
Stijn e31678a275 Added data objects needed for polls 2022-04-08 21:55:43 +02:00
Stijn ef7649d920 Made sure the bot starts properly and generates the configs 2022-04-08 19:51:12 +02:00
Teriuihi 42601a11c2 Added database tables 2022-04-04 11:28:44 +02:00
Teriuihi c6bd15f141 Added sub commands for polls and did help command 2022-04-01 02:54:33 +02:00
Teriuihi 311348dcf6 Merge remote-tracking branch 'origin/master' 2022-03-31 22:09:06 +02:00
Teriuihi 8f45b7039a did a lot of work on poll command 2022-03-31 22:08:50 +02:00
Stijn 0e3907645c Tried doing some work on embed command 2022-03-23 22:09:30 +01: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