blackcat.js-discord - v1.0.10
    Preparing search index...

    Interface ISlashSubCommandGroup<TSubs>

    Interface builder cho nhóm subcommand.

    interface ISlashSubCommandGroup<
        TSubs extends Record<string, ISlashSubCommandBuilder<any>>,
    > {
        description: string;
        subcommands: TSubs;
        build(name: string, builder: SlashCommandBuilder): any;
    }

    Type Parameters

    Implemented by

    Index

    Properties

    Methods

    Properties

    description: string

    Mô tả group

    subcommands: TSubs

    Danh sách subcommand trong group

    Methods

    • Build group vào SlashCommandBuilder

      Parameters

      • name: string
      • builder: SlashCommandBuilder

      Returns any