@@ -18,6 +18,7 @@ const {
 | 
			
		||||
  TimestampStyles,
 | 
			
		||||
  underscore,
 | 
			
		||||
  userMention,
 | 
			
		||||
  chatInputApplicationCommandMention,
 | 
			
		||||
} = require('@discordjs/builders');
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
@@ -52,6 +53,21 @@ Formatters.bold = bold;
 | 
			
		||||
 */
 | 
			
		||||
Formatters.channelMention = channelMention;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Formats an application command name, subcommand group name, subcommand name, and ID
 | 
			
		||||
 * into an application command mention
 | 
			
		||||
 * @method chatInputApplicationCommandMention
 | 
			
		||||
 * @memberof Formatters
 | 
			
		||||
 * @param {string} commandName The name of the application command
 | 
			
		||||
 * @param {string|Snowflake} subcommandGroupOrSubOrId
 | 
			
		||||
 * The subcommand group name, subcommand name, or application command id
 | 
			
		||||
 * @param {?(string|Snowflake)} [subcommandNameOrId] The subcommand name or application command id
 | 
			
		||||
 * @param {?Snowflake} [commandId] The id of the application command
 | 
			
		||||
 * @returns {string}
 | 
			
		||||
 * @static
 | 
			
		||||
 */
 | 
			
		||||
Formatters.chatInputApplicationCommandMention = chatInputApplicationCommandMention;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Wraps the content inside a code block with an optional language.
 | 
			
		||||
 * @method codeBlock
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										2
									
								
								typings/index.d.ts
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								typings/index.d.ts
									
									
									
									
										vendored
									
									
								
							@@ -2,6 +2,7 @@ import {
 | 
			
		||||
  blockQuote,
 | 
			
		||||
  bold,
 | 
			
		||||
  channelMention,
 | 
			
		||||
  chatInputApplicationCommandMention,
 | 
			
		||||
  codeBlock,
 | 
			
		||||
  ContextMenuCommandBuilder,
 | 
			
		||||
  formatEmoji,
 | 
			
		||||
@@ -3331,6 +3332,7 @@ export class Formatters extends null {
 | 
			
		||||
  public static blockQuote: typeof blockQuote;
 | 
			
		||||
  public static bold: typeof bold;
 | 
			
		||||
  public static channelMention: typeof channelMention;
 | 
			
		||||
  public static chatInputApplicationCommandMention: typeof chatInputApplicationCommandMention;
 | 
			
		||||
  public static codeBlock: typeof codeBlock;
 | 
			
		||||
  public static formatEmoji: typeof formatEmoji;
 | 
			
		||||
  public static hideLinkEmbed: typeof hideLinkEmbed;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user