How can I remove a subcommand check?

I've got a switch that handle different subcommands, but I need to include a check for the subcommand in the helper function itself. Is there a way I can avoid needing to do this check?
No description
Solution:
@sapphire/plugin-subcommands
Plugin for @sapphire/framework that adds support for subcommands. ❯ Author: sapphiredev ❯ Maintainers: favna, kyranet, and vladfrangu ❯ Latest version: 4.2.2 ❯ License: MIT ❯ Date Created: <t:1613142082:d> ❯ Date Modified: <t:1697502715:d> Dependencies: @sapphire/utilities and tslib
Jump to solution
1 Reply
Solution
Spinel
Spinel14mo ago
@sapphire/plugin-subcommands
Plugin for @sapphire/framework that adds support for subcommands. ❯ Author: sapphiredev ❯ Maintainers: favna, kyranet, and vladfrangu ❯ Latest version: 4.2.2 ❯ License: MIT ❯ Date Created: <t:1613142082:d> ❯ Date Modified: <t:1697502715:d> Dependencies: @sapphire/utilities and tslib
Want results from more Discord servers?
Add your server