Declares a public method as a subcommand of the command its class declares.
use Tempcord\Attributes\Subcommand;Applies to: method
| Name | Type | Default | Description |
|---|---|---|---|
name |
BackedEnum|string |
required | |
description |
string |
required | |
middleware |
array |
[] |
run after whatever the command and the group around it declare |