Skip to content

Mobot - Slash Command Rework

Choose a tag to compare

@sieadev sieadev released this 20 Apr 10:24
· 31 commits to master since this release

Mobot Core 0.4.0 -> 0.4.1
Mobot API 0.3.8 -> 0.3.9

This release introduces a comprehensive rework of the SlashCommand System, improving flexibility and making it more developer friendly.

The new Command System introduces the SlashCommand and SlashCommandArgument annotations, as well as the SlashCommandHandler interface

The rework also includes updates to the RegistryBridge interface, deprecating the older #registerCommand method in favor of the new #registerCommandHandler method. This change simplifies the registration process and ensures compatibility with the updated system.

In further releases the old SlashCommand System will be removed entirely. I strongly recommend against using it if you want your modules to work with future releases.

That's all for now. Good luck.