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 | This is inferred by the supplied command name | |
G | string | No | This is inferred by the supplied subcommand group name | |
S | string | No | This is inferred by the supplied subcommand name | |
I | Snowflake | No | This is inferred by the supplied command id |
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 |