Additional Features - ShindouMihou/Nexus GitHub Wiki

In addition to many other features, Nexus offers some tools that can be used for your Discord bot. You can choose to use these additional features, or opt to create your own design, whichever suits your application the most.

Basic Subcommand Routing

Nexus provides a basic subcommand router that's designed to be straightforward, minimal, and devoid of unnecessary complexity. This router is ideal for basic requirements and can be extended to suit your preferences. It serves as a foundational example for constructing subcommand routers in Nexus.

For detailed usage instructions, you can refer to our examples:

To gain insights into how the subcommand router is constructed, you can explore the source code at:

Option Validation

Nexus offers a simplified approach to option validation, minimizing code duplication. While not the most flexible method, it satisfies the needs of most developers and prevents excessive code repetition.

To learn more about utilizing option validation, you can review our example:

You can also read the original discussion about this: