Commit Graph

89 Commits

Author SHA1 Message Date
Bea 9f52e8747c Fix first arg not getting recognized in some cases (fixes #18)
continuous-integration/drone/push Build is failing Details
2023-01-24 14:41:32 +01:00
Bea 7f73d4fb23 Fix shutdown method no longer shutting down when invocated directly
continuous-integration/drone/push Build is passing Details
2023-01-16 02:11:16 +01:00
Bea 383b09a53e Register shutdown hook without relying on Sun proprietary method
continuous-integration/drone/push Build is passing Details
2023-01-16 02:07:27 +01:00
Bea ee4c5155fa Improve exception handling
continuous-integration/drone/push Build is passing Details
2023-01-15 05:00:44 +01:00
Bea 4df2429b09 Move random methods to random util class, fix footer
continuous-integration/drone/push Build is passing Details
2023-01-15 04:34:39 +01:00
Bea d7aa5d75eb Implement random.org API integration with random seed updater
continuous-integration/drone/push Build is passing Details
2023-01-15 04:26:06 +01:00
Bea b81a7e65d2 Disable random seed update because SecureRandom is self-seeding with a better algorithm
continuous-integration/drone/push Build is passing Details
2023-01-15 03:34:34 +01:00
Bea 4c653fc93c Complete moving to SFL4J
continuous-integration/drone/push Build is passing Details
2023-01-15 02:05:23 +01:00
Bea d6ef0da167 Make multiple small improvements
continuous-integration/drone/push Build is passing Details
2023-01-15 01:00:44 +01:00
Bea c843d2cd61 Update instructions order when registering listeners
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
2022-12-28 05:41:24 +01:00
Bea e1c22ac059 Implement ban, kick, timeout slash commands 2022-12-28 05:41:24 +01:00
Bea d2f00c781e Implement basic timeout command 2022-12-28 05:41:24 +01:00
Bea 35b2c8fb42 Implement basic ban command 2022-12-28 05:41:23 +01:00
Bea 420666eab1 Implement basic kick command 2022-12-28 05:41:23 +01:00
Bea 00c46c1396 Implement profile banner grabber command 2022-12-28 05:41:23 +01:00
Bea 50196bb8f9 Make trivia support slash commands too 2022-12-28 05:41:23 +01:00
Bea 1c19f3c07f Implement trivia welcome screen with category picker 2022-12-28 05:41:23 +01:00
Bea b0622f36aa Start implementing trivia command 2022-12-28 05:41:23 +01:00
Bea 91261f04e5 Make dice roll support slash commands too 2022-12-28 05:41:23 +01:00
Bea 161c91b45d Rename method 2022-12-28 05:41:23 +01:00
Bea d09c59996b Cache love calculator results in RAM 2022-12-28 05:41:23 +01:00
Bea 1c82d2b53b Make love calculator also support slash commands 2022-12-28 05:41:23 +01:00
Bea 174b78704f Optimize imports 2022-12-28 05:41:23 +01:00
Bea ba64c02049 Increase randomness by updating the random's seed every minute 2022-12-28 05:41:23 +01:00
Bea 9e1888611a Make random statuses update automatically 2022-12-28 05:41:23 +01:00
Bea e2c84f62c3 Make command category not null 2022-12-28 05:41:22 +01:00
Bea 480b8b5eda Add help command and command categories 2022-12-28 05:41:22 +01:00
Bea 24a55e14fd Merge two classes 2022-12-28 05:41:22 +01:00
Bea b4c80fe56a Make urban command support slash too 2022-12-28 05:41:22 +01:00
Bea 28c0f1d750 Implement urban dictionary lookup command 2022-12-28 05:41:22 +01:00
Bea fb3c08fc41 Add basic love calculator message command 2022-12-28 05:41:22 +01:00
Bea c9ff329cbb Make magicball support slash commands too 2022-12-28 05:41:22 +01:00
Bea a030821197 Implement magic ball message command 2022-12-28 05:41:22 +01:00
Bea 1a8409994c Implement basic functional diceroll command 2022-12-28 05:40:56 +01:00
Bea 2d1f6699ba Re-register accidentally removed invite command 2022-12-28 05:40:34 +01:00
Bea 1410e4e8af Make say support both slash and message commands 2022-12-28 05:40:11 +01:00
Bea c486630adb Make avatar support both slash and message commands 2022-12-28 05:37:26 +01:00
Bea 50ccda214f Finish command completion listener implementation
continuous-integration/drone/push Build is passing Details
Very similarly to how the slash command interface works, now a slash command auto-completion interface also exists, with its respective listener.
2022-11-23 00:01:05 +01:00
Bea ff084cf8e8 Rename datasource package
continuous-integration/drone/push Build is passing Details
2022-11-22 23:44:34 +01:00
Bea 40aac28e34 Make bot version consistent with Maven
continuous-integration/drone/push Build is passing Details
A new internal properties file has been added. Maven will scan this file and replace any value it finds.
2022-11-22 23:28:59 +01:00
Bea b2a62d754e Make invite support both slash and message commands
continuous-integration/drone/push Build is passing Details
2022-11-22 21:42:35 +01:00
Bea c7208eef84 Make botinfo support both slash and message commands
continuous-integration/drone/push Build is passing Details
2022-11-22 21:02:48 +01:00
Bea 4015aecc99 Make coinflip support both slash and message commands
continuous-integration/drone/push Build is passing Details
2022-11-22 20:50:37 +01:00
Bea 3f1835e059 Move clearchat command to base class
continuous-integration/drone/push Build is passing Details
The "clear" command now supports both slash commands and message commands, having identical behavior in both situations.
2022-11-22 20:39:55 +01:00
Bea a9790b3525 Complete message command parser and listener
continuous-integration/drone/push Build is passing Details
The message command listener is now completed and the bot now also supports message-based commands with multiple aliases.
2022-11-22 16:19:08 +01:00
Bea 244e8ace76 Remove redundant API command fetcher
continuous-integration/drone/push Build is passing Details
We have our own command listener now, so we don't need to rely on Discord's slow API.
2022-11-22 14:53:46 +01:00
Bea 882c695484 Make slash commands interface and load them dynamically
continuous-integration/drone/push Build is passing Details
Slash commands are now loaded dynamically by implementing a SlashCommand interface and storing them in a loaded commands map.
2022-11-22 14:32:22 +01:00
Bea d3db53a451 Cleanup imports 2022-11-22 00:34:37 +01:00
Bea 656dff4b26 Refactor packages
continuous-integration/drone/push Build is passing Details
2022-11-22 00:31:52 +01:00
Bea 8faa9c4677 Refactor datasource classes
continuous-integration/drone/push Build is passing Details
2022-11-22 00:28:33 +01:00