Commit Graph

21 Commits

Author SHA1 Message Date
Bea 3bb006e0c6 Update badges
continuous-integration/drone/push Build is passing Details
2023-01-15 05:32:11 +01:00
Bea 0cc30ddf29 Implement MessageRespone base functions
continuous-integration/drone/push Build is passing Details
2023-01-15 05:29:57 +01:00
Bea 47bd16fd13 Fix missing JSON dependency 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 96f298b654 Make trivia have a functional scoreboard 2022-12-28 05:41:23 +01:00
Bea 0e256e4cb5 Remove unneeded methods from MessageResponse 2022-12-28 05:41:23 +01:00
Bea b0622f36aa Start implementing trivia command 2022-12-28 05:41:23 +01:00
Bea 8f5c29aa95 Convert message response to immutable record 2022-12-28 05:41:23 +01:00
Bea bc0463dd38 Add a MessageResponse class for mixed-type content 2022-12-28 05:41:23 +01:00
Bea 496304c2c3 Make help command use descriptions and usages 2022-12-28 05:41:22 +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 1a8409994c Implement basic functional diceroll command 2022-12-28 05:40:56 +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 655840dc82 Implement basic permission check for message commands
continuous-integration/drone/push Build is passing Details
2022-11-22 17:08:31 +01:00
Bea 11e4a07698 Refactor objects package
continuous-integration/drone/push Build is passing Details
2022-11-22 16:41:08 +01:00
Bea a7ac446b0b Remove the need to register slash commands separately
continuous-integration/drone/push Build is passing Details
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
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 526880e1f1 Start implementing message-base commands
continuous-integration/drone/push Build is passing Details
Slash commands can't be used for everything, so we need something to fall back on.
2022-11-22 14:40:44 +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