Overload 1
Overload 2
Overload 3
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
string CommandName extends
This is inferred by the supplied command name
string SubcommandGroupName extends
This is inferred by the supplied subcommand group name
string SubcommandName extends
This is inferred by the supplied subcommand name
Snowflake CommandId extends
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