You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 25, 2024. It is now read-only.
While creating slash commands is mostly similar to creating message commands, there are a few key differences.
For general information on how to structure commands, consult the ACF core wiki.
Key differences
Slash commands do not support the usage of the @CatchUnknown annotation. Each root command class, as well as any inner classes should at least have a single method annotated with @Default, or one or more methods annotated with @Subcommand.
While slash commands do support inner classes, they do not support nested inner classes. This is because Discord (currently) does not support nested subcommand groups.