mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 20:13:30 +01:00
feat: move internal regular expressions to static properties (#5384)
This commit is contained in:
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -906,6 +906,7 @@ declare module 'discord.js' {
|
||||
public delete(): Promise<GuildTemplate>;
|
||||
public edit(options?: { name?: string; description?: string }): Promise<GuildTemplate>;
|
||||
public sync(): Promise<GuildTemplate>;
|
||||
public static GUILD_TEMPLATES_PATTERN: RegExp;
|
||||
}
|
||||
|
||||
export class GuildPreviewEmoji extends BaseGuildEmoji {
|
||||
@@ -978,6 +979,7 @@ declare module 'discord.js' {
|
||||
public delete(reason?: string): Promise<Invite>;
|
||||
public toJSON(): object;
|
||||
public toString(): string;
|
||||
public static INVITES_PATTERN: RegExp;
|
||||
}
|
||||
|
||||
export class Message extends Base {
|
||||
|
||||
Reference in New Issue
Block a user