function chatInputApplicationCommandMention

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

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

Type Parameters

CommandId extends Snowflake

This is inferred by the supplied command id

CommandName extends string

This is inferred by the supplied command name

Parameters

commandId: CommandId
The application command id to format
commandName: CommandName
The application command name to format