mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
feat: add new MessageFlags.FLAGS & User#system (#3603)
* feat: add new FLAGS * feat: add system property * typings: add User#system & new MessageFlagsStrings
This commit is contained in:
5
typings/index.d.ts
vendored
5
typings/index.d.ts
vendored
@@ -1403,6 +1403,7 @@ declare module 'discord.js' {
|
||||
public locale: string;
|
||||
public readonly partial: false;
|
||||
public readonly presence: Presence;
|
||||
public system?: boolean;
|
||||
public readonly tag: string;
|
||||
public username: string;
|
||||
public avatarURL(options?: AvatarOptions): string | null;
|
||||
@@ -1922,7 +1923,9 @@ declare module 'discord.js' {
|
||||
|
||||
type MessageFlagsString = 'CROSSPOSTED'
|
||||
| 'IS_CROSSPOST'
|
||||
| 'SUPPRESS_EMBEDS';
|
||||
| 'SUPPRESS_EMBEDS'
|
||||
| 'SOURCE_MESSAGE_DELETED'
|
||||
| 'URGENT';
|
||||
|
||||
interface APIErrror {
|
||||
UNKNOWN_ACCOUNT: number;
|
||||
|
||||
Reference in New Issue
Block a user