Search...

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}>`;
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
NameConstraintsOptionalDefaultDescription
NstringNoNone
GstringNoNone
SstringNoNone
ISnowflakeNoNone
NameTypeOptionalDescription
commandNameNNoThe application command name to format
subcommandGroupNameGNoThe subcommand group name to format
subcommandNameSNoThe subcommand name to format
commandIdINoThe application command ID to format