Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 516 Bytes

File metadata and controls

20 lines (13 loc) · 516 Bytes

Subcommand

Declares a public method as a subcommand of the command its class declares.

use Tempcord\Attributes\Subcommand;

Applies to: method

Parameters

Name Type Default Description
name BackedEnum|string required
description string required
middleware array [] run after whatever the command and the group around it declare