function chatInputApplicationCommandMention

export declare function chatInputApplicationCommandMention<CommandName extends string, SubcommandGroupName extends string, SubcommandName extends string, CommandId extends Snowflake>(commandName: CommandName, subcommandGroupName: SubcommandGroupName, subcommandName: SubcommandName, commandId: CommandId): `</${CommandName} ${SubcommandGroupName} ${SubcommandName}:${CommandId}>`;

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 Snowflake

This is inferred by the supplied command id

Parameters

commandName: CommandName
The application command name to format
subcommandGroupName: SubcommandGroupName
The subcommand group name to format
subcommandName: SubcommandName
The subcommand name to format
commandId: CommandId
The application command id to format