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}>`;
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.
NameConstraintsOptionalDefaultDescription
CommandNamestringNoThis is inferred by the supplied command name
SubcommandGroupNamestringNoThis is inferred by the supplied subcommand group name
SubcommandNamestringNoThis is inferred by the supplied subcommand name
CommandIdSnowflakeNoThis is inferred by the supplied command id
NameTypeOptionalDescription
commandNameCommandNameNoThe application command name to format
subcommandGroupNameSubcommandGroupNameNoThe subcommand group name to format
subcommandNameSubcommandNameNoThe subcommand name to format
commandIdCommandIdNoThe application command id to format