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
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
N | string | No | None | |
G | string | No | None | |
S | string | No | None | |
I | Snowflake | No | None |
Name | Type | Optional | Description |
---|---|---|---|
commandName | N | No | The application command name to format |
subcommandGroupName | G | No | The subcommand group name to format |
subcommandName | S | No | The subcommand name to format |
commandId | I | No | The application command ID to format |