Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 531 Bytes

File metadata and controls

20 lines (13 loc) · 531 Bytes

SubcommandGroup

Groups every subcommand its class declares under one more level of nesting.

use Tempcord\Attributes\SubcommandGroup;

Applies to: class

Parameters

Name Type Default Description
name BackedEnum|string required
description string required
middleware array [] run after whatever the command declares, before the subcommand's own