function chatInputApplicationCommandMention

export declare function chatInputApplicationCommandMention<N extends string, G extends string, S extends string, I extends Snowflake>(commandName: N, subcommandGroupName: G, subcommandName: S, commandId: I): `</${N} ${G} ${S}:${I}>`;

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

Type Parameters

N extends string

This is inferred by the supplied command name

G extends string

This is inferred by the supplied subcommand group name

S extends string

This is inferred by the supplied subcommand name

I extends Snowflake

This is inferred by the supplied command id

Parameters

commandName: N
The application command name to format
subcommandGroupName: G
The subcommand group name to format
subcommandName: S
The subcommand name to format
commandId: I
The application command id to format