Search...

chatInputApplicationCommandMention

Formats an application command name, subcommand group name, subcommand name, and ID into an application command mention
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}>`;
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}>`;
NameTypeOptionalDescription
commandNameNNoThe application command name to format
subcommandGroupNameGNoThe subcommand group name to format
subcommandNameSNoThe subcommand name to format
commandIdINoThe application command ID to format