mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 11:03:30 +01:00
fix(Message): flags not being parsed on some edits (#5886)
* fix(Message): flags not being parsed on some edits * refactor(MessageManager): access cache once
This commit is contained in:
5
typings/index.d.ts
vendored
5
typings/index.d.ts
vendored
@@ -205,6 +205,7 @@ declare module 'discord.js' {
|
||||
public readonly isUser: boolean;
|
||||
public readonly isWebhook: boolean;
|
||||
public readonly isMessage: boolean;
|
||||
public readonly isMessageManager: boolean;
|
||||
public readonly isInteraction: boolean;
|
||||
public files: unknown[] | null;
|
||||
public options: MessageOptions | WebhookMessageOptions;
|
||||
@@ -3560,7 +3561,9 @@ declare module 'discord.js' {
|
||||
| User
|
||||
| GuildMember
|
||||
| Webhook
|
||||
| WebhookClient;
|
||||
| WebhookClient
|
||||
| Message
|
||||
| MessageManager;
|
||||
|
||||
type MessageType =
|
||||
| 'DEFAULT'
|
||||
|
||||
Reference in New Issue
Block a user