chore: release v2.8.11

This commit is contained in:
March 7th
2022-11-04 19:46:05 +07:00
parent 83e764aad5
commit 04296bd6d1
6 changed files with 98 additions and 22 deletions

12
typings/index.d.ts vendored
View File

@@ -3075,6 +3075,11 @@ export class Util extends null {
public static escapeUnderline(text: string): string;
public static escapeStrikethrough(text: string): string;
public static escapeSpoiler(text: string): string;
public static escapeEscape(text: string): string;
public static escapeHeading(text: string): string;
public static escapeBulletedList(text: string): string;
public static escapeNumberedList(text: string): string;
public static escapeMaskedLink(text: string): string;
public static cleanCodeBlockContent(text: string): string;
public static fetchRecommendedShards(token: string, options?: FetchRecommendedShardsOptions): Promise<number>;
public static flatten(obj: unknown, ...props: Record<string, boolean | string>[]): unknown;
@@ -5361,8 +5366,13 @@ export interface EscapeMarkdownOptions {
underline?: boolean;
strikethrough?: boolean;
spoiler?: boolean;
inlineCodeContent?: boolean;
codeBlockContent?: boolean;
inlineCodeContent?: boolean;
escape?: boolean;
heading?: boolean;
bulletedList?: boolean;
numberedList?: boolean;
maskedLink?: boolean;
}
export type ExplicitContentFilterLevel = keyof typeof ExplicitContentFilterLevels;