Discord.https - v3.0.16
    Preparing search index...

    Function chatInputApplicationCommandMention

    • Formats an application command name, subcommand group name, subcommand name, and id into an application command mention.

      Type Parameters

      • CommandName extends string

        This is inferred by the supplied command name

      • SubcommandGroupName extends string

        This is inferred by the supplied subcommand group name

      • SubcommandName extends string

        This is inferred by the supplied subcommand name

      • CommandId extends string

        This is inferred by the supplied command id

      Parameters

      Returns `</${CommandName} ${SubcommandGroupName} ${SubcommandName}:${CommandId}>`

    • Formats an application command name, subcommand name, and id into an application command mention.

      Type Parameters

      • CommandName extends string

        This is inferred by the supplied command name

      • SubcommandName extends string

        This is inferred by the supplied subcommand name

      • CommandId extends string

        This is inferred by the supplied command id

      Parameters

      • commandName: CommandName

        The application command name to format

      • subcommandName: SubcommandName

        The subcommand name to format

      • commandId: CommandId

        The application command id to format

      Returns `</${CommandName} ${SubcommandName}:${CommandId}>`

    • Formats an application command name and id into an application command mention.

      Type Parameters

      • CommandName extends string

        This is inferred by the supplied command name

      • CommandId extends string

        This is inferred by the supplied command id

      Parameters

      • commandName: CommandName

        The application command name to format

      • commandId: CommandId

        The application command id to format

      Returns `</${CommandName}:${CommandId}>`