Commit Graph

23 Commits

Author SHA1 Message Date
35b2c8fb42 Implement basic ban command 2022-12-28 05:41:23 +01:00
52fe279f35 Add bot age info 2022-12-28 05:41:23 +01:00
50196bb8f9 Make trivia support slash commands too 2022-12-28 05:41:23 +01:00
26f1c880ea Handle trivia edge cases without hanging 2022-12-28 05:41:23 +01:00
1c19f3c07f Implement trivia welcome screen with category picker 2022-12-28 05:41:23 +01:00
96f298b654 Make trivia have a functional scoreboard 2022-12-28 05:41:23 +01:00
48fdb32e15 Make trivia functional 2022-12-28 05:41:23 +01:00
c9082e84cc Make trivia loop through all questions 2022-12-28 05:41:23 +01:00
3a8a44adf0 Only fetch multiple-answer trivia for now 2022-12-28 05:41:23 +01:00
b0622f36aa Start implementing trivia command 2022-12-28 05:41:23 +01:00
174b78704f Optimize imports 2022-12-28 05:41:23 +01:00
ba64c02049 Increase randomness by updating the random's seed every minute 2022-12-28 05:41:23 +01:00
28d7ff18ba Throw exception in case of serialization issue 2022-12-28 05:41:22 +01:00
1644a4b07d Make serialization util class 2022-12-28 05:41:22 +01:00
c4d81fb0e4 Add javadoc comment 2022-12-28 05:41:22 +01:00
24a55e14fd Merge two classes 2022-12-28 05:41:22 +01:00
cce57b8108 Optimize imports 2022-12-28 05:41:22 +01:00
fc846fa901 Remove duplicated method 2022-12-28 05:41:22 +01:00
11e4a07698 Refactor objects package
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 16:41:08 +01:00
a7ac446b0b Remove the need to register slash commands separately
All checks were successful
continuous-integration/drone/push Build is passing
We modified the slash command interface to allow getting command data, and created a generic implementation of it that automatically retrieves data from the command data. The interface should not be used now. Instead, extending the implementation is preferred as it provides a semi-working command already.
2022-11-22 16:40:02 +01:00
a9790b3525 Complete message command parser and listener
All checks were successful
continuous-integration/drone/push Build is passing
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
244e8ace76 Remove redundant API command fetcher
All checks were successful
continuous-integration/drone/push Build is passing
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
656dff4b26 Refactor packages
All checks were successful
continuous-integration/drone/push Build is passing
2022-11-22 00:31:52 +01:00