feat: backport chatInputApplicationCommandMention (#9245)

feat: chatInputApplicationCommandMention formatter
This commit is contained in:
Jaw0r3k
2023-03-26 00:05:00 +01:00
committed by GitHub
parent b9b037b886
commit 51c3bf1f54
2 changed files with 34 additions and 0 deletions

4
typings/index.d.ts vendored
View File

@@ -2775,6 +2775,10 @@ export class Formatters extends null {
public static blockQuote: typeof blockQuote;
public static bold: typeof bold;
public static channelMention: typeof channelMention;
public static 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}>`;
public static chatInputApplicationCommandMention<N extends string, S extends string, I extends Snowflake>(commandName: N, subcommandName: S, commandId: I): `</${N} ${S}:${I}>`;
public static chatInputApplicationCommandMention<N extends string, I extends Snowflake>(commandName: N, commandId: I): `</${N}:${I}>`;
public static codeBlock: typeof codeBlock;
public static formatEmoji: typeof formatEmoji;
public static hideLinkEmbed: typeof hideLinkEmbed;