From 8f6db8e26c896240eff443cc3bd573abb09ab963 Mon Sep 17 00:00:00 2001 From: Starman3787 Date: Sat, 28 Dec 2024 10:17:17 +0000 Subject: [PATCH] Commit from GitHub Actions (Export and compile structures) --- dist/src/structures/AuditLog.d.ts | 4 +- dist/src/structures/AuditLog.d.ts.map | 2 +- dist/src/structures/CategoryChannel.d.ts | 4 +- dist/src/structures/CategoryChannel.d.ts.map | 2 +- dist/src/structures/Emoji.d.ts | 4 +- dist/src/structures/Emoji.d.ts.map | 2 +- dist/src/structures/Guild.d.ts | 2 +- dist/src/structures/Invite.d.ts | 4 +- dist/src/structures/Invite.d.ts.map | 2 +- dist/src/structures/Member.d.ts | 8 +- dist/src/structures/Member.d.ts.map | 2 +- dist/src/structures/Message.d.ts | 8 +- dist/src/structures/Message.d.ts.map | 2 +- dist/src/structures/Role.d.ts | 4 +- dist/src/structures/Role.d.ts.map | 2 +- dist/src/structures/ScheduledEvent.d.ts | 4 +- dist/src/structures/ScheduledEvent.d.ts.map | 2 +- dist/src/structures/TextChannel.d.ts | 4 +- dist/src/structures/TextChannel.d.ts.map | 2 +- dist/src/structures/Thread.d.ts | 4 +- dist/src/structures/Thread.d.ts.map | 2 +- dist/src/structures/User.d.ts | 2 +- dist/src/structures/VoiceChannel.d.ts | 4 +- dist/src/structures/VoiceChannel.d.ts.map | 2 +- dist/src/structures/VoiceState.d.ts | 4 +- dist/src/structures/VoiceState.d.ts.map | 2 +- src/structures/compiled/AuditLog.js.json | 244 ++-- .../compiled/CategoryChannel.js.json | 146 +-- src/structures/compiled/Emoji.js.json | 180 +-- src/structures/compiled/Guild.js.json | 1064 +++++++++-------- src/structures/compiled/Invite.js.json | 192 +-- src/structures/compiled/Member.js.json | 494 ++++---- src/structures/compiled/Message.js.json | 1030 ++++++++-------- src/structures/compiled/Role.js.json | 244 ++-- .../compiled/ScheduledEvent.js.json | 256 ++-- src/structures/compiled/TextChannel.js.json | 84 +- src/structures/compiled/Thread.js.json | 88 +- src/structures/compiled/User.js.json | 224 ++-- src/structures/compiled/VoiceChannel.js.json | 116 +- src/structures/compiled/VoiceState.js.json | 280 ++--- 40 files changed, 2379 insertions(+), 2347 deletions(-) diff --git a/dist/src/structures/AuditLog.d.ts b/dist/src/structures/AuditLog.d.ts index b720f7a6..33645b1e 100644 --- a/dist/src/structures/AuditLog.d.ts +++ b/dist/src/structures/AuditLog.d.ts @@ -10,11 +10,11 @@ declare class AuditLog { * @param {Client} client The client instance. * @param {Object} data Audit log data from Discord. * @param {Object} options Additional options for this structure. - * @param {Array?} options.users Resolved users who are involved with the audit log entries. + * @param {Array?} [options.users] Resolved users who are involved with the audit log entries. * @param {String} options.guildId The ID of the guild that this audit log belongs to. */ constructor(client: Client, data: any, { users, guildId }?: { - users: Array | null; + users?: Array | null; guildId: string; }); /** diff --git a/dist/src/structures/AuditLog.d.ts.map b/dist/src/structures/AuditLog.d.ts.map index 2b58a443..4c00205d 100644 --- a/dist/src/structures/AuditLog.d.ts.map +++ b/dist/src/structures/AuditLog.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"AuditLog.d.ts","sourceRoot":"","sources":["../../../src/structures/AuditLog.js"],"names":[],"mappings":";AAKA;;;GAGG;AACH;;IAmBE;;;;;;;OAOG;IACH,oBANW,MAAM,kCAGd;QAAgC,KAAK,EAA7B,KAAK,KAAQ,OAAC;QACE,OAAO;KACjC,EAuJA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,gCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,iCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,+BAJU,CAAC,WAAW,GAAG,YAAY,CAAC,OAAC,CAMtC;IAED;;;;;OAKG;IACH,8BAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,kCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,gCAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,8BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,6BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,wCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,sCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,iCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,mCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,8BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,+BAJU,UAAO,CAMhB;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAgCC;;CACF;iBAtagB,WAAW;mBAFT,cAAc"} \ No newline at end of file +{"version":3,"file":"AuditLog.d.ts","sourceRoot":"","sources":["../../../src/structures/AuditLog.js"],"names":[],"mappings":";AAKA;;;GAGG;AACH;;IAmBE;;;;;;;OAOG;IACH,oBANW,MAAM,kCAGd;QAAiC,KAAK,GAA9B,KAAK,KAAQ,OAAC;QACE,OAAO;KACjC,EAuJA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,gCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,iCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,+BAJU,CAAC,WAAW,GAAG,YAAY,CAAC,OAAC,CAMtC;IAED;;;;;OAKG;IACH,8BAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,kCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,gCAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,8BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,6BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,wCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,sCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,iCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,mCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,8BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,+BAJU,UAAO,CAMhB;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAgCC;;CACF;iBAtagB,WAAW;mBAFT,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/CategoryChannel.d.ts b/dist/src/structures/CategoryChannel.d.ts index 461ebf71..6f7bafcb 100644 --- a/dist/src/structures/CategoryChannel.d.ts +++ b/dist/src/structures/CategoryChannel.d.ts @@ -7,11 +7,11 @@ declare class CategoryChannel { * @param {Object} data The raw channel data. * @param {Object} options The additional options for this structure. * @param {String} options.guildId The ID of the guild that this channel belongs to. - * @param {Boolean} options.nocache Whether this channel should be cached or not. + * @param {Boolean?} [options.nocache] Whether this channel should be cached or not. */ constructor(client: Client, data: any, { guildId, nocache }?: { guildId: string; - nocache: boolean; + nocache?: boolean | null; }); /** * The ID of the channel. diff --git a/dist/src/structures/CategoryChannel.d.ts.map b/dist/src/structures/CategoryChannel.d.ts.map index 6c3e7511..f592421c 100644 --- a/dist/src/structures/CategoryChannel.d.ts.map +++ b/dist/src/structures/CategoryChannel.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"CategoryChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/CategoryChannel.js"],"names":[],"mappings":";AAMA;;IAQE;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACN,OAAO;KAClC,EAoGA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,4CAJU,KAAK,CAAC,mBAAmB,CAAC,CAMnC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAkBC;;CACF;gCAlP+B,0BAA0B;mBAHvC,cAAc"} \ No newline at end of file +{"version":3,"file":"CategoryChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/CategoryChannel.js"],"names":[],"mappings":";AAMA;;IAQE;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACJ,OAAO,GAA1B,cAAQ;KAClB,EAoGA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,4CAJU,KAAK,CAAC,mBAAmB,CAAC,CAMnC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAkBC;;CACF;gCAlP+B,0BAA0B;mBAHvC,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Emoji.d.ts b/dist/src/structures/Emoji.d.ts index 9ff1db61..a486e9d5 100644 --- a/dist/src/structures/Emoji.d.ts +++ b/dist/src/structures/Emoji.d.ts @@ -48,11 +48,11 @@ declare class Emoji { * @param {Object} data The raw emoji data from Discord. * @param {Object} options The options for this emoji. * @param {String} options.guildId The id of the guild that the emoji belongs to. - * @param {Boolean?} options.nocache Whether this emoji should be cached or not. + * @param {Boolean?} [options.nocache] Whether this emoji should be cached or not. */ constructor(client: Client, data: any, { guildId, nocache }?: { guildId: string; - nocache: boolean | null; + nocache?: boolean | null; }); /** * Whether the emoji requires colons. diff --git a/dist/src/structures/Emoji.d.ts.map b/dist/src/structures/Emoji.d.ts.map index 0b1139bc..c95b6956 100644 --- a/dist/src/structures/Emoji.d.ts.map +++ b/dist/src/structures/Emoji.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Emoji.d.ts","sourceRoot":"","sources":["../../../src/structures/Emoji.js"],"names":[],"mappings":";AAUA;;;GAGG;AACH;;IA0HE;;;;OAIG;IACH,+CAEC;IAwED;;;;;;;;;OASG;IACH,2CAPW,aAAO,YACP,cAAQ,UAelB;IAED;;;;;;;;OAQG;IACH,6DAMC;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IA9PD;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACL,OAAO,EAAzB,cAAQ;KAClB,EA6EA;IAED;;;;;OAKG;IACH,6CAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAWD;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,kCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,0BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,mCAEC;IA+DD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAsBC;;CACF;8BA5T6B,kCAAkC;8BAClC,kCAAkC;mBAP7C,cAAc"} \ No newline at end of file +{"version":3,"file":"Emoji.d.ts","sourceRoot":"","sources":["../../../src/structures/Emoji.js"],"names":[],"mappings":";AAUA;;;GAGG;AACH;;IA0HE;;;;OAIG;IACH,+CAEC;IAwED;;;;;;;;;OASG;IACH,2CAPW,aAAO,YACP,cAAQ,UAelB;IAED;;;;;;;;OAQG;IACH,6DAMC;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IA9PD;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACJ,OAAO,GAA1B,cAAQ;KAClB,EA6EA;IAED;;;;;OAKG;IACH,6CAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAWD;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,kCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,0BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,mCAEC;IA+DD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAsBC;;CACF;8BA5T6B,kCAAkC;8BAClC,kCAAkC;mBAP7C,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Guild.d.ts b/dist/src/structures/Guild.d.ts index f705d85c..d49eb58d 100644 --- a/dist/src/structures/Guild.d.ts +++ b/dist/src/structures/Guild.d.ts @@ -107,7 +107,7 @@ declare class Guild { * @param {Client} client The client instance. * @param {Object} data Raw guild data. * @param {Object?} options The additional options for this structure. - * @param {Boolean?} options.nocache Whether this guild should be cached or not. + * @param {Boolean?} [options.nocache] Whether this guild should be cached or not. * @see {@link https://discord.com/developers/docs/resources/guild#guild-object} */ constructor(client: Client, data: any, { nocache }?: any | null); diff --git a/dist/src/structures/Invite.d.ts b/dist/src/structures/Invite.d.ts index 5ffe6545..be59a1e4 100644 --- a/dist/src/structures/Invite.d.ts +++ b/dist/src/structures/Invite.d.ts @@ -29,12 +29,12 @@ declare class Invite { * @param {Object} data The raw invite data from Discord. * @param {Object} options Additional options for this structure. * @param {String} options.guildId The id of the guild that the invite belongs to. - * @param {Boolean?} options.nocache Whether this invite should be cached or not. + * @param {Boolean?} [options.nocache] Whether this invite should be cached or not. * @see {@link https://discord.com/developers/docs/resources/invite#invite-object-invite-structure} */ constructor(client: Client, data: any, { guildId, nocache }?: { guildId: string; - nocache: boolean | null; + nocache?: boolean | null; }); /** * The id of the channel the invite is directed to. diff --git a/dist/src/structures/Invite.d.ts.map b/dist/src/structures/Invite.d.ts.map index 3cc1a181..bb135976 100644 --- a/dist/src/structures/Invite.d.ts.map +++ b/dist/src/structures/Invite.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Invite.d.ts","sourceRoot":"","sources":["../../../src/structures/Invite.js"],"names":[],"mappings":";AAWA;;GAEG;AACH;;IAqOE;;;;;;;OAOG;IACH,2CAIC;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IA/PD;;;;;;;;OAQG;IACH,oBAPW,MAAM,oCAGd;QAAwB,OAAO;QACL,OAAO,EAAzB,cAAQ;KAChB,EAqGF;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,+BAJU,CAAC,WAAW,GAAG,YAAY,CAAC,OAAC,CAMtC;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,4BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,+BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,+BAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,kCAEC;IAED;;;;;OAKG;IACH,+BAJU,aAAO,CAMhB;IAuCD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA2BC;;CACF;iBAnUgB,WAAW;8BAFE,kCAAkC;8BAClC,kCAAkC;mBAP7C,cAAc"} \ No newline at end of file +{"version":3,"file":"Invite.d.ts","sourceRoot":"","sources":["../../../src/structures/Invite.js"],"names":[],"mappings":";AAWA;;GAEG;AACH;;IAqOE;;;;;;;OAOG;IACH,2CAIC;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IA/PD;;;;;;;;OAQG;IACH,oBAPW,MAAM,oCAGd;QAAwB,OAAO;QACJ,OAAO,GAA1B,cAAQ;KAChB,EAqGF;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,+BAJU,CAAC,WAAW,GAAG,YAAY,CAAC,OAAC,CAMtC;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,4BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,+BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,+BAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,kCAEC;IAED;;;;;OAKG;IACH,+BAJU,aAAO,CAMhB;IAuCD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA2BC;;CACF;iBAnUgB,WAAW;8BAFE,kCAAkC;8BAClC,kCAAkC;mBAP7C,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Member.d.ts b/dist/src/structures/Member.d.ts index 422f7ff4..c4c6e48f 100644 --- a/dist/src/structures/Member.d.ts +++ b/dist/src/structures/Member.d.ts @@ -92,14 +92,14 @@ declare class Member { * @param {Object} options Additional options for the member. * @param {String} options.userId The id of the member. * @param {String} options.guildId The id of the guild that the member belongs to. - * @param {User?} options.user A user object for this member. - * @param {Boolean?} options.nocache Whether this member should be cached. + * @param {User?} [options.user] A user object for this member. + * @param {Boolean?} [options.nocache] Whether this member should be cached. */ constructor(client: Client, data: any, { userId, guildId, user, nocache }?: { userId: string; guildId: string; - user: User | null; - nocache: boolean | null; + user?: User | null; + nocache?: boolean | null; }); /** * The id of the member. diff --git a/dist/src/structures/Member.d.ts.map b/dist/src/structures/Member.d.ts.map index 59fba3a2..43b49ecb 100644 --- a/dist/src/structures/Member.d.ts.map +++ b/dist/src/structures/Member.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Member.d.ts","sourceRoot":"","sources":["../../../src/structures/Member.js"],"names":[],"mappings":";AAoBA;;;GAGG;AACH;;IAuaE;;;;;;;OAOG;IACH,iDAIC;IAED;;;;;;;;;OASG;IACH,4DANW,aAAO,UAkBjB;IA0JD;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAED;;;;;OAKG;IACH,8DAMC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,kDAIJ,MAAM,CAelB;IAED;;;;;;;;;;;;;OAaG;IACH,8BAZW,MAAM,gEAKd;QAA0B,MAAM,GAAxB,aAAO;KACf,GAAU,OAAO,CAAC,IAAI,CAAC,CAiCzB;IAED;;;;;;;;;;;;;OAaG;IACH,iCAZW,MAAM,gEAKd;QAA0B,MAAM,GAAxB,aAAO;KACf,GAAU,OAAO,CAAC,IAAI,CAAC,CAiCzB;IAzuBD;;;;;;;;;OASG;IACH,oBARW,MAAM,kDAGd;QAAwB,MAAM;QACN,OAAO;QACR,IAAI,EAAnB,IAAI,OAAC;QACa,OAAO,EAAzB,cAAQ;KAClB,EA4JA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,4BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,gCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,oCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,6BAHU,KAAK,CAAC,IAAI,CAAC,CAyBpB;IAED;;;;;OAKG;IACH,kDAUC;IAED;;;;;OAKG;IACH,mCAHU,MAAM,CAOf;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,4BAJU,IAAI,CAMb;IAED;;;;;OAKG;IACH,2CAHU,aAAO,CAQhB;IAoBD;;;;;OAKG;IACH,+CAKC;IAED;;;;;OAKG;IACH,yDAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,gDAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAwCD;;;;;;;;;;OAUG;IACH,6CARW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAUzB;IAED;;;;;;;;;;OAUG;IACH,gDARW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAUzB;IAED;;;;;;;;;;OAUG;IACH,sDARW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAkCzB;IAED;;;;;;;;;OASG;IACH,kCARW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CA6BzB;IAED;;;;;;;;;;OAUG;IACH,8BATW,KAAK,QAAQ,eACb,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAmCzB;IAoJD;;;;;OAKG;IACH,yBAEC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA6CC;;CACF;iBAl1BgB,WAAW;iBALX,WAAW;8BAGE,kCAAkC;8BAClC,kCAAkC;mBAM7C,cAAc"} \ No newline at end of file +{"version":3,"file":"Member.d.ts","sourceRoot":"","sources":["../../../src/structures/Member.js"],"names":[],"mappings":";AAoBA;;;GAGG;AACH;;IAuaE;;;;;;;OAOG;IACH,iDAIC;IAED;;;;;;;;;OASG;IACH,4DANW,aAAO,UAkBjB;IA0JD;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAED;;;;;OAKG;IACH,8DAMC;IAED;;;;;;;OAOG;IACH,uBANW,MAAM,kDAIJ,MAAM,CAelB;IAED;;;;;;;;;;;;;OAaG;IACH,8BAZW,MAAM,gEAKd;QAA0B,MAAM,GAAxB,aAAO;KACf,GAAU,OAAO,CAAC,IAAI,CAAC,CAiCzB;IAED;;;;;;;;;;;;;OAaG;IACH,iCAZW,MAAM,gEAKd;QAA0B,MAAM,GAAxB,aAAO;KACf,GAAU,OAAO,CAAC,IAAI,CAAC,CAiCzB;IAzuBD;;;;;;;;;OASG;IACH,oBARW,MAAM,kDAGd;QAAwB,MAAM;QACN,OAAO;QACP,IAAI,GAApB,IAAI,OAAC;QACc,OAAO,GAA1B,cAAQ;KAClB,EA4JA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,4BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,gCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,oCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,6BAHU,KAAK,CAAC,IAAI,CAAC,CAyBpB;IAED;;;;;OAKG;IACH,kDAUC;IAED;;;;;OAKG;IACH,mCAHU,MAAM,CAOf;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,4BAJU,IAAI,CAMb;IAED;;;;;OAKG;IACH,2CAHU,aAAO,CAQhB;IAoBD;;;;;OAKG;IACH,+CAKC;IAED;;;;;OAKG;IACH,yDAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,gDAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAwCD;;;;;;;;;;OAUG;IACH,6CARW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAUzB;IAED;;;;;;;;;;OAUG;IACH,gDARW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAUzB;IAED;;;;;;;;;;OAUG;IACH,sDARW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAkCzB;IAED;;;;;;;;;OASG;IACH,kCARW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CA6BzB;IAED;;;;;;;;;;OAUG;IACH,8BATW,KAAK,QAAQ,eACb,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAmCzB;IAoJD;;;;;OAKG;IACH,yBAEC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA6CC;;CACF;iBAl1BgB,WAAW;iBALX,WAAW;8BAGE,kCAAkC;8BAClC,kCAAkC;mBAM7C,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Message.d.ts b/dist/src/structures/Message.d.ts index 867f54a1..aacc3c32 100644 --- a/dist/src/structures/Message.d.ts +++ b/dist/src/structures/Message.d.ts @@ -138,15 +138,15 @@ declare class Message { * @param {Object} options Additional options for this structure. * @param {String} options.channelId The id of the channel that the message belongs to. * @param {String} options.guildId The id of the guild that the channel belongs to. - * @param {Boolean?} options.nocache Whether this message should be cached or not. - * @param {Boolean?} options.ignoreExisting Whether to ignore existing messages in the cache. + * @param {Boolean?} [options.nocache] Whether this message should be cached or not. + * @param {Boolean?} [options.ignoreExisting] Whether to ignore existing messages in the cache. * @see {@link https://discord.com/developers/docs/resources/channel#message-object} */ constructor(client: Client, data: any, { channelId, guildId, nocache, ignoreExisting }?: { channelId: string; guildId: string; - nocache: boolean | null; - ignoreExisting: boolean | null; + nocache?: boolean | null; + ignoreExisting?: boolean | null; }); /** * The timestamp for when this message was last edited. diff --git a/dist/src/structures/Message.d.ts.map b/dist/src/structures/Message.d.ts.map index 3e126a0f..992f9117 100644 --- a/dist/src/structures/Message.d.ts.map +++ b/dist/src/structures/Message.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/structures/Message.js"],"names":[],"mappings":";AA8BA;;GAEG;AACH;;IAqtBE;;;;;;;;;OASG;IACH,oFAQC;IAwGD;;;;;;;;;OASG;IACH,6CARW,iBAAiB,qBACjB,iBAAiB,uBACjB,mBAAmB,WA2B7B;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,2BAfW,MAAM,6GAGN,UAAO,GAML,OAAO,CAAC,OAAO,CAAC,CAoE5B;IAED;;;;;;;;;;;;;OAaG;IACH,oBAZW,MAAM,+GAIN,UAAO,GAML,OAAO,CAAC,OAAO,CAAC,CAkD5B;IAED;;;;;;;;;;OAUG;IACH,yFAQC;IAED;;;;;;;;;;;;OAYG;IACH,8BAXW,MAAM,wEAKJ,OAAO,CAsBnB;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,sGAhBG;QAAyB,OAAO;QACN,MAAM,GAAxB,KAAK,EAAE;QACqB,UAAU,GAAtC,iBAAiB;QACW,KAAK,GAAjC,KAAK,CAAC,UAAU,CAAC;QACW,WAAW,GAAvC,KAAK,CAAC,UAAU,CAAC;QACA,KAAK;QACL,SAAS,GAClC;YAAmC,UAAU;YACV,UAAU;YACV,QAAQ;SAC3C;KAAA,GAAU,IAAI,CA+EhB;IAED;;;;;;;;;;;;OAYG;IACH,6BAXW,MAAM,mEAIN,aAAO,GACL,OAAO,CAAC,IAAI,CAAC,CAuCzB;IA7qCD;;;;;;;;;;OAUG;IACH,oBATW,MAAM,+DAGd;QAAwB,SAAS;QACT,OAAO;QACL,OAAO,EAAzB,cAAQ;QACU,cAAc,EAAhC,cAAQ;KAChB,EA4VF;IAED;;;;;OAKG;IACH,uCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,8BAJU,IAAI,CAMb;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,8BAJU,MAAM,OAAC,CAMhB;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,4CAEC;IAED;;;;;OAKG;IACH,+CAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,+BAJU,OAAO,OAAC,CAMjB;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAJU,UAAU,EAAE,CAMrB;IAED;;;;;OAKG;IACH,+BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,4BAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,iCAJU,sBAAsB,CAM/B;IAED;;;;;OAKG;IACH,8BAJU,KAAK,CAAC,KAAK,CAAC,CAMrB;IAED;;;;;OAKG;IACH,qCAMC;IAED;;;;;;OAMG;IACH,6BALU,QAAQ,CAgDjB;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,iCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,oCAJU,OAAO,EAAE,CAMlB;IAED;;;;;OAKG;IACH,wCAJU,KAAK,CAAC,OAAO,CAAC,OAAC,CAgBxB;IAED;;;;;OAKG;IACH,kCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAsBD;;;;;;;;;;;;;OAaG;IACH,wEAZW,UAAO,GAKL,OAAO,CAAC,OAAO,CAAC,CAoB5B;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,qFAlBW,UAAO,GAWL,OAAO,CAAC,OAAO,CAAC,CAuC5B;IAED;;;;;;;;OAQG;IACH,2BAPW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAazB;IAsXD;;;;;OAKG;IACH,yBAEC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAiEC;;CACF;iBAv0CgB,WAAW;mBACT,aAAa;uBACT,iBAAiB;iBAavB,WAAW;mCADO,uCAAuC;kBAExD,iCAAiC;oBAJ/B,cAAc;8BAKJ,kCAAkC;8BAClC,kCAAkC;gCAChC,oCAAoC;mBAMjD,cAAc;8BAJH,sCAAsC;uBAK7C,+BAA+B"} \ No newline at end of file +{"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/structures/Message.js"],"names":[],"mappings":";AA8BA;;GAEG;AACH;;IAqtBE;;;;;;;;;OASG;IACH,oFAQC;IAwGD;;;;;;;;;OASG;IACH,6CARW,iBAAiB,qBACjB,iBAAiB,uBACjB,mBAAmB,WA2B7B;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,2BAfW,MAAM,6GAGN,UAAO,GAML,OAAO,CAAC,OAAO,CAAC,CAoE5B;IAED;;;;;;;;;;;;;OAaG;IACH,oBAZW,MAAM,+GAIN,UAAO,GAML,OAAO,CAAC,OAAO,CAAC,CAkD5B;IAED;;;;;;;;;;OAUG;IACH,yFAQC;IAED;;;;;;;;;;;;OAYG;IACH,8BAXW,MAAM,wEAKJ,OAAO,CAsBnB;IAED;;;;;;;;;;;;;;;;;;OAkBG;IACH,sGAhBG;QAAyB,OAAO;QACN,MAAM,GAAxB,KAAK,EAAE;QACqB,UAAU,GAAtC,iBAAiB;QACW,KAAK,GAAjC,KAAK,CAAC,UAAU,CAAC;QACW,WAAW,GAAvC,KAAK,CAAC,UAAU,CAAC;QACA,KAAK;QACL,SAAS,GAClC;YAAmC,UAAU;YACV,UAAU;YACV,QAAQ;SAC3C;KAAA,GAAU,IAAI,CA+EhB;IAED;;;;;;;;;;;;OAYG;IACH,6BAXW,MAAM,mEAIN,aAAO,GACL,OAAO,CAAC,IAAI,CAAC,CAuCzB;IA7qCD;;;;;;;;;;OAUG;IACH,oBATW,MAAM,+DAGd;QAAwB,SAAS;QACT,OAAO;QACJ,OAAO,GAA1B,cAAQ;QACW,cAAc,GAAjC,cAAQ;KAChB,EA4VF;IAED;;;;;OAKG;IACH,uCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,8BAJU,IAAI,CAMb;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,8BAJU,MAAM,OAAC,CAMhB;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,4CAEC;IAED;;;;;OAKG;IACH,+CAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,+BAJU,OAAO,OAAC,CAMjB;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAJU,UAAU,EAAE,CAMrB;IAED;;;;;OAKG;IACH,+BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,4BAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,iCAJU,sBAAsB,CAM/B;IAED;;;;;OAKG;IACH,8BAJU,KAAK,CAAC,KAAK,CAAC,CAMrB;IAED;;;;;OAKG;IACH,qCAMC;IAED;;;;;;OAMG;IACH,6BALU,QAAQ,CAgDjB;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,iCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,oCAJU,OAAO,EAAE,CAMlB;IAED;;;;;OAKG;IACH,wCAJU,KAAK,CAAC,OAAO,CAAC,OAAC,CAgBxB;IAED;;;;;OAKG;IACH,kCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAsBD;;;;;;;;;;;;;OAaG;IACH,wEAZW,UAAO,GAKL,OAAO,CAAC,OAAO,CAAC,CAoB5B;IAED;;;;;;;;;;;;;;;;;;;OAmBG;IACH,qFAlBW,UAAO,GAWL,OAAO,CAAC,OAAO,CAAC,CAuC5B;IAED;;;;;;;;OAQG;IACH,2BAPW,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAazB;IAsXD;;;;;OAKG;IACH,yBAEC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAiEC;;CACF;iBAv0CgB,WAAW;mBACT,aAAa;uBACT,iBAAiB;iBAavB,WAAW;mCADO,uCAAuC;kBAExD,iCAAiC;oBAJ/B,cAAc;8BAKJ,kCAAkC;8BAClC,kCAAkC;gCAChC,oCAAoC;mBAMjD,cAAc;8BAJH,sCAAsC;uBAK7C,+BAA+B"} \ No newline at end of file diff --git a/dist/src/structures/Role.d.ts b/dist/src/structures/Role.d.ts index d76ba183..5e076845 100644 --- a/dist/src/structures/Role.d.ts +++ b/dist/src/structures/Role.d.ts @@ -37,12 +37,12 @@ declare class Role { * @param {Object} data The raw role data from Discord. * @param {Object} options Additional options for this structure. * @param {String} options.guildId The id of the guild that the role belongs to. - * @param {Boolean?} options.nocache Whether this role should be cached or not. + * @param {Boolean?} [options.nocache] Whether this role should be cached or not. * @see {@link https://discord.com/developers/docs/topics/permissions#role-object-role-structure} */ constructor(client: Client, data: any, { guildId, nocache }?: { guildId: string; - nocache: boolean | null; + nocache?: boolean | null; }); /** * The ID of the role. diff --git a/dist/src/structures/Role.d.ts.map b/dist/src/structures/Role.d.ts.map index 7fc7be97..a1ebb710 100644 --- a/dist/src/structures/Role.d.ts.map +++ b/dist/src/structures/Role.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Role.d.ts","sourceRoot":"","sources":["../../../src/structures/Role.js"],"names":[],"mappings":";AAUA;;GAEG;AACH;;IAyRE;;;;;;;;OAQG;IACH,kEAMC;IAED;;;;;OAKG;IACH,qCAHW,aAAO,UAajB;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAtUD;;;;;;;;OAQG;IACH,oBAPW,MAAM,oCAGd;QAAwB,OAAO;QACL,OAAO,EAAzB,cAAQ;KAChB,EAoGF;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,2CAEC;IAED;;;;;OAKG;IACH,yCAHU,aAAO,CAQhB;IAoBD;;;;;OAKG;IACH,sCAHU,aAAO,CAKhB;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,gCAEC;IAED;;;;;OAKG;IACH,sCAEC;IA4DD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA+BC;;CACF;8BAjZ6B,kCAAkC;8BAClC,kCAAkC;mBAP7C,cAAc"} \ No newline at end of file +{"version":3,"file":"Role.d.ts","sourceRoot":"","sources":["../../../src/structures/Role.js"],"names":[],"mappings":";AAUA;;GAEG;AACH;;IAyRE;;;;;;;;OAQG;IACH,kEAMC;IAED;;;;;OAKG;IACH,qCAHW,aAAO,UAajB;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAtUD;;;;;;;;OAQG;IACH,oBAPW,MAAM,oCAGd;QAAwB,OAAO;QACJ,OAAO,GAA1B,cAAQ;KAChB,EAoGF;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,2CAEC;IAED;;;;;OAKG;IACH,yCAHU,aAAO,CAQhB;IAoBD;;;;;OAKG;IACH,sCAHU,aAAO,CAKhB;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,gCAEC;IAED;;;;;OAKG;IACH,sCAEC;IA4DD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA+BC;;CACF;8BAjZ6B,kCAAkC;8BAClC,kCAAkC;mBAP7C,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/ScheduledEvent.d.ts b/dist/src/structures/ScheduledEvent.d.ts index 0aadf25c..0a55bdc4 100644 --- a/dist/src/structures/ScheduledEvent.d.ts +++ b/dist/src/structures/ScheduledEvent.d.ts @@ -31,11 +31,11 @@ declare class ScheduledEvent { * @param {Object} data Scheduled event data from Discord. * @param {Object} options Additional options for this structure. * @param {String} options.guildId The ID of the guild that this event belongs to. - * @param {Boolean?} options.nocache Whether this event should be cached or not. + * @param {Boolean?} [options.nocache] Whether this event should be cached or not. */ constructor(client: Client, data: any, { guildId, nocache }?: { guildId: string; - nocache: boolean | null; + nocache?: boolean | null; }); /** * The ID of the event. diff --git a/dist/src/structures/ScheduledEvent.d.ts.map b/dist/src/structures/ScheduledEvent.d.ts.map index 3be4855a..40fc06d7 100644 --- a/dist/src/structures/ScheduledEvent.d.ts.map +++ b/dist/src/structures/ScheduledEvent.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ScheduledEvent.d.ts","sourceRoot":"","sources":["../../../src/structures/ScheduledEvent.js"],"names":[],"mappings":";AAWA;;;GAGG;AACH;;IA2XE;;;;;;;;OAQG;IACH,6CANW,aAAO,UAgBjB;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAvZD;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACL,OAAO,EAAzB,cAAQ;KAClB,EAqKA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,iCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,+BAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,0CAHU,aAAO,CAQhB;IAkBD;;;;;OAKG;IACH,uCAHU,aAAO,CAKhB;IAED;;;;;OAKG;IACH,yCAKC;IASD;;;;;OAKG;IACH,qCAMC;IAUD;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,iDAEC;IAED;;;;;OAKG;IACH,wCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,gCAJU,aAAO,CAMhB;IA8CD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA2BC;;CACF;iBAzegB,WAAW;8BAME,kCAAkC;8BAClC,kCAAkC;mBAE7C,cAAc"} \ No newline at end of file +{"version":3,"file":"ScheduledEvent.d.ts","sourceRoot":"","sources":["../../../src/structures/ScheduledEvent.js"],"names":[],"mappings":";AAWA;;;GAGG;AACH;;IA2XE;;;;;;;;OAQG;IACH,6CANW,aAAO,UAgBjB;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAvZD;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACJ,OAAO,GAA1B,cAAQ;KAClB,EAqKA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,iCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,+BAJU,IAAI,OAAC,CAMd;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,0CAHU,aAAO,CAQhB;IAkBD;;;;;OAKG;IACH,uCAHU,aAAO,CAKhB;IAED;;;;;OAKG;IACH,yCAKC;IASD;;;;;OAKG;IACH,qCAMC;IAUD;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,iDAEC;IAED;;;;;OAKG;IACH,wCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,gCAJU,aAAO,CAMhB;IA8CD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA2BC;;CACF;iBAzegB,WAAW;8BAME,kCAAkC;8BAClC,kCAAkC;mBAE7C,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/TextChannel.d.ts b/dist/src/structures/TextChannel.d.ts index a1d64a5e..e7b7d502 100644 --- a/dist/src/structures/TextChannel.d.ts +++ b/dist/src/structures/TextChannel.d.ts @@ -11,12 +11,12 @@ declare class TextChannel extends Channel { * @param {Object} data Raw channel data. * @param {Object} options Additional options for this structure. * @param {String} options.guildId The ID of the guild that this channel belongs to. - * @param {Boolean?} options.nocache Whether this channel should be cached or not. + * @param {Boolean?} [options.nocache] Whether this channel should be cached or not. * @see {@link https://discord.com/developers/docs/resources/channel#channel-object-example-guild-text-channel} */ constructor(client: Client, data: any, { guildId, nocache }?: { guildId: string; - nocache: boolean | null; + nocache?: boolean | null; }); /** * Bulk deletes all the message IDs provided. diff --git a/dist/src/structures/TextChannel.d.ts.map b/dist/src/structures/TextChannel.d.ts.map index f4526938..37904829 100644 --- a/dist/src/structures/TextChannel.d.ts.map +++ b/dist/src/structures/TextChannel.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"TextChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/TextChannel.js"],"names":[],"mappings":";AAWA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBAPW,MAAM,oCAGd;QAAwB,OAAO;QACL,OAAO,EAAzB,cAAQ;KAChB,EA6CF;IAED;;;;;;;;;;OAUG;IACH,4BATW,QAAQ,eACR,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAmCzB;;CAsCF;oBAjJmB,cAAc;mBAIf,cAAc"} \ No newline at end of file +{"version":3,"file":"TextChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/TextChannel.js"],"names":[],"mappings":";AAWA;;;;GAIG;AACH;IAEE;;;;;;;;OAQG;IACH,oBAPW,MAAM,oCAGd;QAAwB,OAAO;QACJ,OAAO,GAA1B,cAAQ;KAChB,EA6CF;IAED;;;;;;;;;;OAUG;IACH,4BATW,QAAQ,eACR,UAAO,GAEL,OAAO,CAAC,IAAI,CAAC,CAmCzB;;CAsCF;oBAjJmB,cAAc;mBAIf,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Thread.d.ts b/dist/src/structures/Thread.d.ts index b1d7fe07..e9c5b91d 100644 --- a/dist/src/structures/Thread.d.ts +++ b/dist/src/structures/Thread.d.ts @@ -11,12 +11,12 @@ declare class Thread extends Channel { * @param {Object} data Raw channel data. * @param {Object} options Additional options for this structure. * @param {String} options.guildId The ID of the guild that this thread belongs to. - * @param {Boolean?} options.nocache Whether this thread should be cached or not. + * @param {Boolean?} [options.nocache] Whether this thread should be cached or not. * @see {@link https://discord.com/developers/docs/resources/channel#channel-object-example-thread-channel} */ constructor(client: Client, data: any, { guildId, nocache }?: { guildId: string; - nocache: boolean | null; + nocache?: boolean | null; }); /** * The ID of the member who created this thread. diff --git a/dist/src/structures/Thread.d.ts.map b/dist/src/structures/Thread.d.ts.map index 531d8945..e9c893d3 100644 --- a/dist/src/structures/Thread.d.ts.map +++ b/dist/src/structures/Thread.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Thread.d.ts","sourceRoot":"","sources":["../../../src/structures/Thread.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAIE;;;;;;;;OAQG;IACH,oBAPW,MAAM,oCAGd;QAAwB,OAAO;QACL,OAAO,EAAzB,cAAQ;KAChB,EAoDF;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,MAAM,OAAC,CAMhB;IAYD;;;;;OAKG;IACH,8BAJU,WAAW,OAAC,CAMrB;;CAgEF;oBA/KmB,cAAc;mBAJf,cAAc"} \ No newline at end of file +{"version":3,"file":"Thread.d.ts","sourceRoot":"","sources":["../../../src/structures/Thread.js"],"names":[],"mappings":";AAOA;;;;GAIG;AACH;IAIE;;;;;;;;OAQG;IACH,oBAPW,MAAM,oCAGd;QAAwB,OAAO;QACJ,OAAO,GAA1B,cAAQ;KAChB,EAoDF;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,MAAM,OAAC,CAMhB;IAYD;;;;;OAKG;IACH,8BAJU,WAAW,OAAC,CAMrB;;CAgEF;oBA/KmB,cAAc;mBAJf,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/User.d.ts b/dist/src/structures/User.d.ts index 224e5bdf..5b15da0e 100644 --- a/dist/src/structures/User.d.ts +++ b/dist/src/structures/User.d.ts @@ -39,7 +39,7 @@ declare class User { * @param {Client} client The client instance. * @param {Object} data The raw user data. * @param {Object?} options Additional options for this structure. - * @param {Boolean?} options.nocache Whether the user should be cached or not. + * @param {Boolean?} [options.nocache] Whether the user should be cached or not. * @see {@link https://discord.com/developers/docs/resources/user#user-object} */ constructor(client: Client, data: any, { nocache }?: any | null); diff --git a/dist/src/structures/VoiceChannel.d.ts b/dist/src/structures/VoiceChannel.d.ts index fe985155..4e4dd4bb 100644 --- a/dist/src/structures/VoiceChannel.d.ts +++ b/dist/src/structures/VoiceChannel.d.ts @@ -10,11 +10,11 @@ declare class VoiceChannel extends Channel { * @param {Object} data The raw channel data from Discord. * @param {Object} options Additional options for this structure. * @param {String} options.guildId The id of the guild that the voice channel belongs to. - * @param {Boolean?} options.nocache Whether the voice channel should be cached. + * @param {Boolean?} [options.nocache] Whether the voice channel should be cached. */ constructor(client: Client, data: any, { guildId, nocache }?: { guildId: string; - nocache: boolean | null; + nocache?: boolean | null; }); /** * The bitrate of the channel. diff --git a/dist/src/structures/VoiceChannel.d.ts.map b/dist/src/structures/VoiceChannel.d.ts.map index b02acce8..768db63a 100644 --- a/dist/src/structures/VoiceChannel.d.ts.map +++ b/dist/src/structures/VoiceChannel.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VoiceChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/VoiceChannel.js"],"names":[],"mappings":";AAMA;;;GAGG;AACH;IAKE;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACL,OAAO,EAAzB,cAAQ;KAClB,EA4EA;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,wCAEC;;CAyCF;oBAvKmB,cAAc;mBAFf,cAAc"} \ No newline at end of file +{"version":3,"file":"VoiceChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/VoiceChannel.js"],"names":[],"mappings":";AAMA;;;GAGG;AACH;IAKE;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACJ,OAAO,GAA1B,cAAQ;KAClB,EA4EA;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,wCAEC;;CAyCF;oBAvKmB,cAAc;mBAFf,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/VoiceState.d.ts b/dist/src/structures/VoiceState.d.ts index 30ceedfc..ff223437 100644 --- a/dist/src/structures/VoiceState.d.ts +++ b/dist/src/structures/VoiceState.d.ts @@ -20,11 +20,11 @@ declare class VoiceState { * @param {Object} data The raw voice state data from Discord. * @param {Object} options The additional options for this structure. * @param {String} options.guildId The id of the guild that the voice state belongs to. - * @param {Boolean?} options.nocache Whether this voice state should be cached. + * @param {Boolean?} [options.nocache] Whether this voice state should be cached. */ constructor(client: Client, data: any, { guildId, nocache }?: { guildId: string; - nocache: boolean | null; + nocache?: boolean | null; }); /** * Is server deafened? diff --git a/dist/src/structures/VoiceState.d.ts.map b/dist/src/structures/VoiceState.d.ts.map index 71e4b1c3..2b5d1ef4 100644 --- a/dist/src/structures/VoiceState.d.ts.map +++ b/dist/src/structures/VoiceState.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"VoiceState.d.ts","sourceRoot":"","sources":["../../../src/structures/VoiceState.js"],"names":[],"mappings":";AAWA;;GAEG;AACH;;IA4RE;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAxSD;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACL,OAAO,EAAzB,cAAQ;KAClB,EAoHA;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,+BAJU,OAAO,OAAC,CAMjB;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,8BAJU,MAAM,OAAC,CAMhB;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,+CAJU,aAAO,CAMhB;IAyBD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAiCC;;CACF;mBAlXkB,aAAa;8BAFF,kCAAkC;8BAClC,kCAAkC;mBAP7C,cAAc"} \ No newline at end of file +{"version":3,"file":"VoiceState.d.ts","sourceRoot":"","sources":["../../../src/structures/VoiceState.js"],"names":[],"mappings":";AAWA;;GAEG;AACH;;IA4RE;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAxSD;;;;;;;OAOG;IACH,oBANW,MAAM,oCAGd;QAAwB,OAAO;QACJ,OAAO,GAA1B,cAAQ;KAClB,EAoHA;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,+BAJU,OAAO,OAAC,CAMjB;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,8BAJU,MAAM,OAAC,CAMhB;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,+CAJU,aAAO,CAMhB;IAyBD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAiCC;;CACF;mBAlXkB,aAAa;8BAFF,kCAAkC;8BAClC,kCAAkC;mBAP7C,cAAc"} \ No newline at end of file diff --git a/src/structures/compiled/AuditLog.js.json b/src/structures/compiled/AuditLog.js.json index 61cabe1b..d7a42e81 100644 --- a/src/structures/compiled/AuditLog.js.json +++ b/src/structures/compiled/AuditLog.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 282, - 9614 + 9616 ], "filename": "AuditLog.js", "lineno": 10, @@ -457,11 +457,11 @@ "access": "private" }, { - "comment": "/**\n * Creates a structure for an audit log entry.\n * @param {Client} client The client instance.\n * @param {Object} data Audit log data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {Array?} options.users Resolved users who are involved with the audit log entries.\n * @param {String} options.guildId The ID of the guild that this audit log belongs to.\n */", + "comment": "/**\n * Creates a structure for an audit log entry.\n * @param {Client} client The client instance.\n * @param {Object} data Audit log data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {Array?} [options.users] Resolved users who are involved with the audit log entries.\n * @param {String} options.guildId The ID of the guild that this audit log belongs to.\n */", "meta": { "range": [ - 968, - 4908 + 970, + 4910 ], "filename": "AuditLog.js", "lineno": 37, @@ -516,6 +516,7 @@ "Array." ] }, + "optional": true, "nullable": true, "description": "Resolved users who are involved with the audit log entries.", "name": "options.users" @@ -541,7 +542,7 @@ "meta": { "range": [ 282, - 9614 + 9616 ], "filename": "AuditLog.js", "lineno": 10, @@ -601,6 +602,7 @@ "Array." ] }, + "optional": true, "nullable": true, "description": "Resolved users who are involved with the audit log entries.", "name": "options.users" @@ -620,8 +622,8 @@ "comment": "", "meta": { "range": [ - 996, - 1001 + 998, + 1003 ], "filename": "AuditLog.js", "lineno": 37, @@ -644,8 +646,8 @@ "comment": "", "meta": { "range": [ - 1003, - 1010 + 1005, + 1012 ], "filename": "AuditLog.js", "lineno": 37, @@ -668,8 +670,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1588, - 1610 + 1590, + 1612 ], "filename": "AuditLog.js", "lineno": 55, @@ -700,8 +702,8 @@ "comment": "/**\n * The id of the audit log entry.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1709, - 1736 + 1711, + 1738 ], "filename": "AuditLog.js", "lineno": 62, @@ -732,8 +734,8 @@ "comment": "/**\n * The ID of the guild that this audit log belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1856, - 1889 + 1858, + 1891 ], "filename": "AuditLog.js", "lineno": 69, @@ -764,8 +766,8 @@ "comment": "", "meta": { "range": [ - 2014, - 2050 + 2016, + 2052 ], "filename": "AuditLog.js", "lineno": 76, @@ -790,8 +792,8 @@ "comment": "/**\n * The id of the target user.\n * @type {BigInt?}\n * @private\n */", "meta": { "range": [ - 2146, - 2211 + 2148, + 2213 ], "filename": "AuditLog.js", "lineno": 83, @@ -823,8 +825,8 @@ "comment": "", "meta": { "range": [ - 2284, - 2334 + 2286, + 2336 ], "filename": "AuditLog.js", "lineno": 86, @@ -849,8 +851,8 @@ "comment": "/**\n * The resolved target user.\n * @type {User?}\n * @private\n */", "meta": { "range": [ - 2466, - 2510 + 2468, + 2512 ], "filename": "AuditLog.js", "lineno": 93, @@ -882,8 +884,8 @@ "comment": "/**\n * The id of the executor user.\n * @type {BigInt?}\n * @private\n */", "meta": { "range": [ - 2614, - 2677 + 2616, + 2679 ], "filename": "AuditLog.js", "lineno": 101, @@ -915,8 +917,8 @@ "comment": "", "meta": { "range": [ - 2752, - 2804 + 2754, + 2806 ], "filename": "AuditLog.js", "lineno": 104, @@ -941,8 +943,8 @@ "comment": "/**\n * The resolved executor user.\n * @type {User?}\n * @private\n */", "meta": { "range": [ - 2938, - 2984 + 2940, + 2986 ], "filename": "AuditLog.js", "lineno": 111, @@ -974,8 +976,8 @@ "comment": "/**\n * The reason for this audit log entry.\n * @type {String?}\n * @private\n */", "meta": { "range": [ - 3096, - 3130 + 3098, + 3132 ], "filename": "AuditLog.js", "lineno": 119, @@ -1007,8 +1009,8 @@ "comment": "/**\n * The channel id involved with this audit log entry.\n * @type {BigInt?}\n * @private\n */", "meta": { "range": [ - 3335, - 3386 + 3337, + 3388 ], "filename": "AuditLog.js", "lineno": 128, @@ -1040,8 +1042,8 @@ "comment": "/**\n * The count of this type of audit log entry.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 3560, - 3602 + 3562, + 3604 ], "filename": "AuditLog.js", "lineno": 137, @@ -1073,8 +1075,8 @@ "comment": "/**\n * The inactivity period for when members are purged.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 3789, - 3857 + 3791, + 3859 ], "filename": "AuditLog.js", "lineno": 145, @@ -1106,8 +1108,8 @@ "comment": "/**\n * The number of members removed for when members are purged.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 4049, - 4111 + 4051, + 4113 ], "filename": "AuditLog.js", "lineno": 153, @@ -1139,8 +1141,8 @@ "comment": "/**\n * The id of the overwritten entity.\n * @type {BigInt?}\n * @private\n */", "meta": { "range": [ - 4265, - 4307 + 4267, + 4309 ], "filename": "AuditLog.js", "lineno": 161, @@ -1172,8 +1174,8 @@ "comment": "/**\n * The type of the overwritten entity - role (\"0\") or member (\"1\")\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 4493, - 4541 + 4495, + 4543 ], "filename": "AuditLog.js", "lineno": 169, @@ -1205,8 +1207,8 @@ "comment": "/**\n * The new voice channel status.\n * @type {String?}\n * @private\n */", "meta": { "range": [ - 4695, - 4729 + 4697, + 4731 ], "filename": "AuditLog.js", "lineno": 177, @@ -1238,8 +1240,8 @@ "comment": "/**\n * The changes in this audit log entry.\n * @type {Object?}\n * @private\n */", "meta": { "range": [ - 4875, - 4903 + 4877, + 4905 ], "filename": "AuditLog.js", "lineno": 186, @@ -1271,8 +1273,8 @@ "comment": "/**\n * The id of the audit log entry.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5008, - 5052 + 5010, + 5054 ], "filename": "AuditLog.js", "lineno": 195, @@ -1307,8 +1309,8 @@ "comment": "/**\n * The ID of the guild that this audit log belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5173, - 5228 + 5175, + 5230 ], "filename": "AuditLog.js", "lineno": 205, @@ -1343,8 +1345,8 @@ "comment": "/**\n * The type of action that occurred.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5331, - 5383 + 5333, + 5385 ], "filename": "AuditLog.js", "lineno": 215, @@ -1379,8 +1381,8 @@ "comment": "/**\n * The id of the target user.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5480, - 5563 + 5482, + 5565 ], "filename": "AuditLog.js", "lineno": 225, @@ -1416,8 +1418,8 @@ "comment": "/**\n * The channel id involved with this audit log entry.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5684, - 5770 + 5686, + 5772 ], "filename": "AuditLog.js", "lineno": 235, @@ -1453,8 +1455,8 @@ "comment": "/**\n * The guild that this audit log belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5881, - 5957 + 5883, + 5959 ], "filename": "AuditLog.js", "lineno": 245, @@ -1490,8 +1492,8 @@ "comment": "/**\n * The channel involved with this audit log entry.\n * @type {(TextChannel | VoiceChannel)?} The channel involved with this audit log entry.\n * @readonly\n * @public\n */", "meta": { "range": [ - 6145, - 6225 + 6147, + 6227 ], "filename": "AuditLog.js", "lineno": 255, @@ -1528,8 +1530,8 @@ "comment": "/**\n * The target user involved with this audit log entry.\n * @type {User?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6345, - 6388 + 6347, + 6390 ], "filename": "AuditLog.js", "lineno": 265, @@ -1565,8 +1567,8 @@ "comment": "/**\n * The executor user involved with this audit log entry.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6512, - 6601 + 6514, + 6603 ], "filename": "AuditLog.js", "lineno": 275, @@ -1602,8 +1604,8 @@ "comment": "/**\n * The executor user involved with this audit log entry.\n * @type {User?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6723, - 6770 + 6725, + 6772 ], "filename": "AuditLog.js", "lineno": 285, @@ -1639,8 +1641,8 @@ "comment": "/**\n * The reason for this audit log entry.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6877, - 6920 + 6879, + 6922 ], "filename": "AuditLog.js", "lineno": 295, @@ -1676,8 +1678,8 @@ "comment": "/**\n * The count of this type of audit log entry.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7033, - 7074 + 7035, + 7076 ], "filename": "AuditLog.js", "lineno": 305, @@ -1713,8 +1715,8 @@ "comment": "/**\n * The inactivity period for when members are purged.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7195, - 7260 + 7197, + 7262 ], "filename": "AuditLog.js", "lineno": 315, @@ -1750,8 +1752,8 @@ "comment": "/**\n * The number of members removed for when members are purged.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7389, - 7449 + 7391, + 7451 ], "filename": "AuditLog.js", "lineno": 325, @@ -1787,8 +1789,8 @@ "comment": "/**\n * The id of the overwritten entity.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7553, - 7637 + 7555, + 7639 ], "filename": "AuditLog.js", "lineno": 335, @@ -1824,8 +1826,8 @@ "comment": "/**\n * The type of the overwritten entity - role (\"0\") or member (\"1\")\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7771, - 7825 + 7773, + 7827 ], "filename": "AuditLog.js", "lineno": 345, @@ -1861,8 +1863,8 @@ "comment": "/**\n * The new voice channel status.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7925, - 7968 + 7927, + 7970 ], "filename": "AuditLog.js", "lineno": 355, @@ -1898,8 +1900,8 @@ "comment": "/**\n * The changes in this audit log entry.\n * @type {Object?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 8075, - 8120 + 8077, + 8122 ], "filename": "AuditLog.js", "lineno": 365, @@ -1935,8 +1937,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 8162, - 8222 + 8164, + 8224 ], "filename": "AuditLog.js", "lineno": 373, @@ -1964,8 +1966,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 8264, - 8321 + 8266, + 8323 ], "filename": "AuditLog.js", "lineno": 381, @@ -1993,8 +1995,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 8506, - 9612 + 8508, + 9614 ], "filename": "AuditLog.js", "lineno": 392, @@ -2045,8 +2047,8 @@ "comment": "", "meta": { "range": [ - 8725, - 8736 + 8727, + 8738 ], "filename": "AuditLog.js", "lineno": 399, @@ -2069,8 +2071,8 @@ "comment": "", "meta": { "range": [ - 8748, - 8770 + 8750, + 8772 ], "filename": "AuditLog.js", "lineno": 400, @@ -2093,8 +2095,8 @@ "comment": "", "meta": { "range": [ - 8782, - 8810 + 8784, + 8812 ], "filename": "AuditLog.js", "lineno": 401, @@ -2117,8 +2119,8 @@ "comment": "", "meta": { "range": [ - 8822, - 8859 + 8824, + 8861 ], "filename": "AuditLog.js", "lineno": 402, @@ -2141,8 +2143,8 @@ "comment": "", "meta": { "range": [ - 8871, - 8908 + 8873, + 8910 ], "filename": "AuditLog.js", "lineno": 403, @@ -2165,8 +2167,8 @@ "comment": "", "meta": { "range": [ - 8920, - 8939 + 8922, + 8941 ], "filename": "AuditLog.js", "lineno": 404, @@ -2189,8 +2191,8 @@ "comment": "", "meta": { "range": [ - 8951, - 9549 + 8953, + 9551 ], "filename": "AuditLog.js", "lineno": 405, @@ -2213,8 +2215,8 @@ "comment": "", "meta": { "range": [ - 8974, - 9013 + 8976, + 9015 ], "filename": "AuditLog.js", "lineno": 406, @@ -2238,8 +2240,8 @@ "comment": "", "meta": { "range": [ - 9027, - 9089 + 9029, + 9091 ], "filename": "AuditLog.js", "lineno": 407, @@ -2263,8 +2265,8 @@ "comment": "", "meta": { "range": [ - 9103, - 9246 + 9105, + 9248 ], "filename": "AuditLog.js", "lineno": 408, @@ -2288,8 +2290,8 @@ "comment": "", "meta": { "range": [ - 9260, - 9396 + 9262, + 9398 ], "filename": "AuditLog.js", "lineno": 412, @@ -2313,8 +2315,8 @@ "comment": "", "meta": { "range": [ - 9410, - 9441 + 9412, + 9443 ], "filename": "AuditLog.js", "lineno": 416, @@ -2338,8 +2340,8 @@ "comment": "", "meta": { "range": [ - 9455, - 9490 + 9457, + 9492 ], "filename": "AuditLog.js", "lineno": 417, @@ -2363,8 +2365,8 @@ "comment": "", "meta": { "range": [ - 9504, - 9536 + 9506, + 9538 ], "filename": "AuditLog.js", "lineno": 418, @@ -2388,8 +2390,8 @@ "comment": "", "meta": { "range": [ - 9561, - 9582 + 9563, + 9584 ], "filename": "AuditLog.js", "lineno": 420, @@ -2412,8 +2414,8 @@ "comment": "", "meta": { "range": [ - 9616, - 9640 + 9618, + 9642 ], "filename": "AuditLog.js", "lineno": 427, diff --git a/src/structures/compiled/CategoryChannel.js.json b/src/structures/compiled/CategoryChannel.js.json index 882ade6f..af58880e 100644 --- a/src/structures/compiled/CategoryChannel.js.json +++ b/src/structures/compiled/CategoryChannel.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 231, - 5734 + 5737 ], "filename": "CategoryChannel.js", "lineno": 7, @@ -203,11 +203,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a category channel.\n * @param {Client} client The client instance.\n * @param {Object} data The raw channel data.\n * @param {Object} options The additional options for this structure.\n * @param {String} options.guildId The ID of the guild that this channel belongs to.\n * @param {Boolean} options.nocache Whether this channel should be cached or not.\n */", + "comment": "/**\n * Creates the structure for a category channel.\n * @param {Client} client The client instance.\n * @param {Object} data The raw channel data.\n * @param {Object} options The additional options for this structure.\n * @param {String} options.guildId The ID of the guild that this channel belongs to.\n * @param {Boolean?} [options.nocache] Whether this channel should be cached or not.\n */", "meta": { "range": [ - 754, - 3574 + 757, + 3577 ], "filename": "CategoryChannel.js", "lineno": 23, @@ -271,6 +271,8 @@ "Boolean" ] }, + "optional": true, + "nullable": true, "description": "Whether this channel should be cached or not.", "name": "options.nocache" } @@ -284,8 +286,8 @@ "comment": "", "meta": { "range": [ - 782, - 789 + 785, + 792 ], "filename": "CategoryChannel.js", "lineno": 23, @@ -308,8 +310,8 @@ "comment": "", "meta": { "range": [ - 791, - 806 + 794, + 809 ], "filename": "CategoryChannel.js", "lineno": 23, @@ -332,8 +334,8 @@ "comment": "", "meta": { "range": [ - 813, - 827 + 816, + 830 ], "filename": "CategoryChannel.js", "lineno": 23, @@ -356,8 +358,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1327, - 1349 + 1330, + 1352 ], "filename": "CategoryChannel.js", "lineno": 38, @@ -388,8 +390,8 @@ "comment": "/**\n * The id of the channel.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1440, - 1467 + 1443, + 1470 ], "filename": "CategoryChannel.js", "lineno": 45, @@ -420,8 +422,8 @@ "comment": "/**\n * The ID of the guild that this channel belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1585, - 1618 + 1588, + 1621 ], "filename": "CategoryChannel.js", "lineno": 52, @@ -452,8 +454,8 @@ "comment": "/**\n * The type of channel.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 1707, - 1729 + 1710, + 1732 ], "filename": "CategoryChannel.js", "lineno": 59, @@ -484,8 +486,8 @@ "comment": "", "meta": { "range": [ - 1742, - 1794 + 1745, + 1797 ], "filename": "CategoryChannel.js", "lineno": 61, @@ -510,8 +512,8 @@ "comment": "", "meta": { "range": [ - 1921, - 1943 + 1924, + 1946 ], "filename": "CategoryChannel.js", "lineno": 68, @@ -536,8 +538,8 @@ "comment": "", "meta": { "range": [ - 2066, - 2092 + 2069, + 2095 ], "filename": "CategoryChannel.js", "lineno": 74, @@ -562,8 +564,8 @@ "comment": "/**\n * The attributes of the channel.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 2191, - 2232 + 2194, + 2235 ], "filename": "CategoryChannel.js", "lineno": 81, @@ -594,8 +596,8 @@ "comment": "", "meta": { "range": [ - 2295, - 2324 + 2298, + 2327 ], "filename": "CategoryChannel.js", "lineno": 84, @@ -620,8 +622,8 @@ "comment": "", "meta": { "range": [ - 2407, - 2436 + 2410, + 2439 ], "filename": "CategoryChannel.js", "lineno": 86, @@ -646,8 +648,8 @@ "comment": "", "meta": { "range": [ - 2729, - 2856 + 2732, + 2859 ], "filename": "CategoryChannel.js", "lineno": 95, @@ -672,8 +674,8 @@ "comment": "", "meta": { "range": [ - 2990, - 3049 + 2993, + 3052 ], "filename": "CategoryChannel.js", "lineno": 103, @@ -698,8 +700,8 @@ "comment": "", "meta": { "range": [ - 3062, - 3169 + 3065, + 3172 ], "filename": "CategoryChannel.js", "lineno": 105, @@ -724,8 +726,8 @@ "comment": "/**\n * The ID of the channel.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3666, - 3710 + 3669, + 3713 ], "filename": "CategoryChannel.js", "lineno": 130, @@ -760,8 +762,8 @@ "comment": "/**\n * The ID of the guild that this channel belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3829, - 3884 + 3832, + 3887 ], "filename": "CategoryChannel.js", "lineno": 140, @@ -796,8 +798,8 @@ "comment": "/**\n * The guild that this channel belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3993, - 4069 + 3996, + 4072 ], "filename": "CategoryChannel.js", "lineno": 150, @@ -833,8 +835,8 @@ "comment": "/**\n * The name of the channel.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4163, - 4202 + 4166, + 4205 ], "filename": "CategoryChannel.js", "lineno": 160, @@ -869,8 +871,8 @@ "comment": "/**\n * The type of channel.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4292, - 4331 + 4295, + 4334 ], "filename": "CategoryChannel.js", "lineno": 170, @@ -905,8 +907,8 @@ "comment": "/**\n * The permission overwrites for the channel.\n * @type {Array}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4463, - 4535 + 4466, + 4538 ], "filename": "CategoryChannel.js", "lineno": 180, @@ -941,8 +943,8 @@ "comment": "/**\n * Whether the channel is nsfw.\n * @type {Boolean}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4634, - 4707 + 4637, + 4710 ], "filename": "CategoryChannel.js", "lineno": 190, @@ -977,8 +979,8 @@ "comment": "/**\n * The mention string of the channel.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4811, - 4858 + 4814, + 4861 ], "filename": "CategoryChannel.js", "lineno": 200, @@ -1013,8 +1015,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 4900, - 4960 + 4903, + 4963 ], "filename": "CategoryChannel.js", "lineno": 208, @@ -1042,8 +1044,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 5002, - 5059 + 5005, + 5062 ], "filename": "CategoryChannel.js", "lineno": 216, @@ -1071,8 +1073,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 5244, - 5732 + 5247, + 5735 ], "filename": "CategoryChannel.js", "lineno": 227, @@ -1123,8 +1125,8 @@ "comment": "", "meta": { "range": [ - 5463, - 5474 + 5466, + 5477 ], "filename": "CategoryChannel.js", "lineno": 234, @@ -1147,8 +1149,8 @@ "comment": "", "meta": { "range": [ - 5486, - 5508 + 5489, + 5511 ], "filename": "CategoryChannel.js", "lineno": 235, @@ -1171,8 +1173,8 @@ "comment": "", "meta": { "range": [ - 5520, - 5535 + 5523, + 5538 ], "filename": "CategoryChannel.js", "lineno": 236, @@ -1195,8 +1197,8 @@ "comment": "", "meta": { "range": [ - 5547, - 5562 + 5550, + 5565 ], "filename": "CategoryChannel.js", "lineno": 237, @@ -1219,8 +1221,8 @@ "comment": "", "meta": { "range": [ - 5574, - 5589 + 5577, + 5592 ], "filename": "CategoryChannel.js", "lineno": 238, @@ -1243,8 +1245,8 @@ "comment": "", "meta": { "range": [ - 5601, - 5702 + 5604, + 5705 ], "filename": "CategoryChannel.js", "lineno": 239, @@ -1267,8 +1269,8 @@ "comment": "", "meta": { "range": [ - 5736, - 5767 + 5739, + 5770 ], "filename": "CategoryChannel.js", "lineno": 248, diff --git a/src/structures/compiled/Emoji.js.json b/src/structures/compiled/Emoji.js.json index f43e75db..1dd8466d 100644 --- a/src/structures/compiled/Emoji.js.json +++ b/src/structures/compiled/Emoji.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 417, - 8176 + 8178 ], "filename": "Emoji.js", "lineno": 15, @@ -157,11 +157,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for an emoji.\n * @param {Client} client The client instance.\n * @param {Object} data The raw emoji data from Discord.\n * @param {Object} options The options for this emoji.\n * @param {String} options.guildId The id of the guild that the emoji belongs to.\n * @param {Boolean?} options.nocache Whether this emoji should be cached or not.\n */", + "comment": "/**\n * Creates the structure for an emoji.\n * @param {Client} client The client instance.\n * @param {Object} data The raw emoji data from Discord.\n * @param {Object} options The options for this emoji.\n * @param {String} options.guildId The id of the guild that the emoji belongs to.\n * @param {Boolean?} [options.nocache] Whether this emoji should be cached or not.\n */", "meta": { "range": [ - 877, - 3147 + 879, + 3149 ], "filename": "Emoji.js", "lineno": 29, @@ -225,6 +225,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this emoji should be cached or not.", "name": "options.nocache" @@ -241,7 +242,7 @@ "meta": { "range": [ 417, - 8176 + 8178 ], "filename": "Emoji.js", "lineno": 15, @@ -310,6 +311,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this emoji should be cached or not.", "name": "options.nocache" @@ -320,8 +322,8 @@ "comment": "", "meta": { "range": [ - 905, - 912 + 907, + 914 ], "filename": "Emoji.js", "lineno": 29, @@ -344,8 +346,8 @@ "comment": "", "meta": { "range": [ - 914, - 929 + 916, + 931 ], "filename": "Emoji.js", "lineno": 29, @@ -368,8 +370,8 @@ "comment": "", "meta": { "range": [ - 936, - 950 + 938, + 952 ], "filename": "Emoji.js", "lineno": 29, @@ -392,8 +394,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1450, - 1472 + 1452, + 1474 ], "filename": "Emoji.js", "lineno": 44, @@ -424,8 +426,8 @@ "comment": "/**\n * The id of the emoji (if it is custom).\n * @type {BigInt?}\n * @private\n */", "meta": { "range": [ - 1580, - 1624 + 1582, + 1626 ], "filename": "Emoji.js", "lineno": 51, @@ -457,8 +459,8 @@ "comment": "/**\n * The name of the emoji (if it is custom).\n * @type {String?}\n * @private\n */", "meta": { "range": [ - 1734, - 1756 + 1736, + 1758 ], "filename": "Emoji.js", "lineno": 58, @@ -490,8 +492,8 @@ "comment": "/**\n * The attributes of the emoji.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 1853, - 1894 + 1855, + 1896 ], "filename": "Emoji.js", "lineno": 65, @@ -522,8 +524,8 @@ "comment": "", "meta": { "range": [ - 1978, - 2007 + 1980, + 2009 ], "filename": "Emoji.js", "lineno": 68, @@ -548,8 +550,8 @@ "comment": "", "meta": { "range": [ - 2057, - 2086 + 2059, + 2088 ], "filename": "Emoji.js", "lineno": 69, @@ -574,8 +576,8 @@ "comment": "", "meta": { "range": [ - 2156, - 2185 + 2158, + 2187 ], "filename": "Emoji.js", "lineno": 72, @@ -600,8 +602,8 @@ "comment": "", "meta": { "range": [ - 2257, - 2286 + 2259, + 2288 ], "filename": "Emoji.js", "lineno": 75, @@ -626,8 +628,8 @@ "comment": "", "meta": { "range": [ - 2360, - 2389 + 2362, + 2391 ], "filename": "Emoji.js", "lineno": 78, @@ -652,8 +654,8 @@ "comment": "", "meta": { "range": [ - 2434, - 2463 + 2436, + 2465 ], "filename": "Emoji.js", "lineno": 79, @@ -678,8 +680,8 @@ "comment": "/**\n * The id of the guild that this emoji belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 2579, - 2612 + 2581, + 2614 ], "filename": "Emoji.js", "lineno": 86, @@ -710,8 +712,8 @@ "comment": "", "meta": { "range": [ - 2625, - 2730 + 2627, + 2732 ], "filename": "Emoji.js", "lineno": 88, @@ -736,8 +738,8 @@ "comment": "/**\n * Whether the emoji requires colons.\n * @type {Boolean}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3252, - 3334 + 3254, + 3336 ], "filename": "Emoji.js", "lineno": 113, @@ -772,8 +774,8 @@ "comment": "/**\n * Whether the emoji is managed.\n * @type {Boolean}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3434, - 3510 + 3436, + 3512 ], "filename": "Emoji.js", "lineno": 123, @@ -808,8 +810,8 @@ "comment": "/**\n * Whether the emoji is animated.\n * @type {Boolean}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3611, - 3679 + 3613, + 3681 ], "filename": "Emoji.js", "lineno": 133, @@ -844,8 +846,8 @@ "comment": "/**\n * Checks if the emoji is animated.\n * @param {Number} attributes The attributes of the emoji.\n * @returns {Boolean}\n */", "meta": { "range": [ - 3818, - 3903 + 3820, + 3905 ], "filename": "Emoji.js", "lineno": 142, @@ -894,8 +896,8 @@ "comment": "/**\n * Whether the emoji is available.\n * @type {Boolean}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4005, - 4083 + 4007, + 4085 ], "filename": "Emoji.js", "lineno": 152, @@ -930,8 +932,8 @@ "comment": "/**\n * The mention string for the emoji.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4186, - 4269 + 4188, + 4271 ], "filename": "Emoji.js", "lineno": 162, @@ -966,8 +968,8 @@ "comment": "/**\n * The url for the emoji.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4361, - 4442 + 4363, + 4444 ], "filename": "Emoji.js", "lineno": 172, @@ -1002,8 +1004,8 @@ "comment": "/**\n * The id of the guild that this emoji belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4559, - 4614 + 4561, + 4616 ], "filename": "Emoji.js", "lineno": 182, @@ -1038,8 +1040,8 @@ "comment": "/**\n * The guild that this emoji belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4721, - 4797 + 4723, + 4799 ], "filename": "Emoji.js", "lineno": 192, @@ -1075,8 +1077,8 @@ "comment": "/**\n * The id of the emoji, if it is custom.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4905, - 4968 + 4907, + 4970 ], "filename": "Emoji.js", "lineno": 202, @@ -1112,8 +1114,8 @@ "comment": "/**\n * The name of the emoji.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5060, - 5099 + 5062, + 5101 ], "filename": "Emoji.js", "lineno": 212, @@ -1148,8 +1150,8 @@ "comment": "/**\n * Returns the mention string for an emoji.\n * @param {String} name The name of the emoji.\n * @param {String?} id The id of the emoji.\n * @param {Boolean?} animated Whether the emoji is animated.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 5381, - 5840 + 5383, + 5842 ], "filename": "Emoji.js", "lineno": 226, @@ -1221,8 +1223,8 @@ "comment": "/**\n * Returns the url for an emoji.\n * @param {String} id The id of the emoji.\n * @param {Boolean} [animated] Whether the emoji is animated.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 6062, - 6389 + 6064, + 6391 ], "filename": "Emoji.js", "lineno": 246, @@ -1284,8 +1286,8 @@ "comment": "/**\n * Determines whether the emoji should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @param {GuildCacheOptions} guildCacheOptions The cache options for the guild.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 6687, - 7217 + 6689, + 7219 ], "filename": "Emoji.js", "lineno": 263, @@ -1345,8 +1347,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 7259, - 7322 + 7261, + 7324 ], "filename": "Emoji.js", "lineno": 281, @@ -1374,8 +1376,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 7364, - 7421 + 7366, + 7423 ], "filename": "Emoji.js", "lineno": 289, @@ -1403,8 +1405,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 7606, - 8174 + 7608, + 8176 ], "filename": "Emoji.js", "lineno": 300, @@ -1455,8 +1457,8 @@ "comment": "", "meta": { "range": [ - 7764, - 7775 + 7766, + 7777 ], "filename": "Emoji.js", "lineno": 305, @@ -1479,8 +1481,8 @@ "comment": "", "meta": { "range": [ - 7787, - 7802 + 7789, + 7804 ], "filename": "Emoji.js", "lineno": 306, @@ -1503,8 +1505,8 @@ "comment": "", "meta": { "range": [ - 7814, - 7844 + 7816, + 7846 ], "filename": "Emoji.js", "lineno": 307, @@ -1527,8 +1529,8 @@ "comment": "", "meta": { "range": [ - 7955, - 7966 + 7957, + 7968 ], "filename": "Emoji.js", "lineno": 313, @@ -1551,8 +1553,8 @@ "comment": "", "meta": { "range": [ - 7978, - 7993 + 7980, + 7995 ], "filename": "Emoji.js", "lineno": 314, @@ -1575,8 +1577,8 @@ "comment": "", "meta": { "range": [ - 8005, - 8028 + 8007, + 8030 ], "filename": "Emoji.js", "lineno": 315, @@ -1599,8 +1601,8 @@ "comment": "", "meta": { "range": [ - 8040, - 8061 + 8042, + 8063 ], "filename": "Emoji.js", "lineno": 316, @@ -1623,8 +1625,8 @@ "comment": "", "meta": { "range": [ - 8073, - 8107 + 8075, + 8109 ], "filename": "Emoji.js", "lineno": 317, @@ -1647,8 +1649,8 @@ "comment": "", "meta": { "range": [ - 8119, - 8144 + 8121, + 8146 ], "filename": "Emoji.js", "lineno": 318, @@ -1671,8 +1673,8 @@ "comment": "", "meta": { "range": [ - 8178, - 8199 + 8180, + 8201 ], "filename": "Emoji.js", "lineno": 325, diff --git a/src/structures/compiled/Guild.js.json b/src/structures/compiled/Guild.js.json index 17021d35..3730c46b 100644 --- a/src/structures/compiled/Guild.js.json +++ b/src/structures/compiled/Guild.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 1415, - 47363 + 47365 ], "filename": "Guild.js", "lineno": 37, @@ -582,11 +582,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a guild.\n * @param {Client} client The client instance.\n * @param {Object} data Raw guild data.\n * @param {Object?} options The additional options for this structure.\n * @param {Boolean?} options.nocache Whether this guild should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object}\n */", + "comment": "/**\n * Creates the structure for a guild.\n * @param {Client} client The client instance.\n * @param {Object} data Raw guild data.\n * @param {Object?} options The additional options for this structure.\n * @param {Boolean?} [options.nocache] Whether this guild should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object}\n */", "meta": { "range": [ - 2154, - 15622 + 2156, + 15624 ], "filename": "Guild.js", "lineno": 68, @@ -642,6 +642,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this guild should be cached or not.", "name": "options.nocache" @@ -661,7 +662,7 @@ "meta": { "range": [ 1415, - 47363 + 47365 ], "filename": "Guild.js", "lineno": 37, @@ -722,6 +723,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this guild should be cached or not.", "name": "options.nocache" @@ -732,8 +734,8 @@ "comment": "", "meta": { "range": [ - 2182, - 2197 + 2184, + 2199 ], "filename": "Guild.js", "lineno": 68, @@ -756,8 +758,8 @@ "comment": "", "meta": { "range": [ - 2204, - 2218 + 2206, + 2220 ], "filename": "Guild.js", "lineno": 68, @@ -780,8 +782,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 2618, - 2640 + 2620, + 2642 ], "filename": "Guild.js", "lineno": 81, @@ -812,8 +814,8 @@ "comment": "/**\n * The id of the guild.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 2729, - 2756 + 2731, + 2758 ], "filename": "Guild.js", "lineno": 88, @@ -844,8 +846,8 @@ "comment": "", "meta": { "range": [ - 2801, - 2825 + 2803, + 2827 ], "filename": "Guild.js", "lineno": 91, @@ -870,8 +872,8 @@ "comment": "", "meta": { "range": [ - 2840, - 2900 + 2842, + 2902 ], "filename": "Guild.js", "lineno": 93, @@ -896,8 +898,8 @@ "comment": "", "meta": { "range": [ - 3343, - 3395 + 3345, + 3397 ], "filename": "Guild.js", "lineno": 110, @@ -922,8 +924,8 @@ "comment": "/**\n * The name of the guild.\n * @type {String}\n * @private\n */", "meta": { "range": [ - 3523, - 3545 + 3525, + 3547 ], "filename": "Guild.js", "lineno": 118, @@ -954,8 +956,8 @@ "comment": "", "meta": { "range": [ - 3616, - 3642 + 3618, + 3644 ], "filename": "Guild.js", "lineno": 120, @@ -980,8 +982,8 @@ "comment": "", "meta": { "range": [ - 3670, - 3687 + 3672, + 3689 ], "filename": "Guild.js", "lineno": 121, @@ -1006,8 +1008,8 @@ "comment": "/**\n * The description of the guild.\n * @type {String?}\n * @private\n */", "meta": { "range": [ - 3786, - 3822 + 3788, + 3824 ], "filename": "Guild.js", "lineno": 128, @@ -1039,8 +1041,8 @@ "comment": "", "meta": { "range": [ - 3907, - 3947 + 3909, + 3949 ], "filename": "Guild.js", "lineno": 130, @@ -1065,8 +1067,8 @@ "comment": "", "meta": { "range": [ - 3982, - 4006 + 3984, + 4008 ], "filename": "Guild.js", "lineno": 131, @@ -1091,8 +1093,8 @@ "comment": "", "meta": { "range": [ - 4131, - 4222 + 4133, + 4224 ], "filename": "Guild.js", "lineno": 139, @@ -1117,8 +1119,8 @@ "comment": "", "meta": { "range": [ - 4298, - 4326 + 4300, + 4328 ], "filename": "Guild.js", "lineno": 143, @@ -1143,8 +1145,8 @@ "comment": "/**\n * The id of the guild owner.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 4421, - 4460 + 4423, + 4462 ], "filename": "Guild.js", "lineno": 150, @@ -1175,8 +1177,8 @@ "comment": "/**\n * UNIX (seconds) timestamp for when the bot user was added to this guild.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 4637, - 4702 + 4639, + 4704 ], "filename": "Guild.js", "lineno": 158, @@ -1208,8 +1210,8 @@ "comment": "", "meta": { "range": [ - 4737, - 4772 + 4739, + 4774 ], "filename": "Guild.js", "lineno": 159, @@ -1234,8 +1236,8 @@ "comment": "/**\n * The member count of this guild.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 4911, - 4949 + 4913, + 4951 ], "filename": "Guild.js", "lineno": 167, @@ -1266,8 +1268,8 @@ "comment": "", "meta": { "range": [ - 4987, - 5029 + 4989, + 5031 ], "filename": "Guild.js", "lineno": 168, @@ -1292,8 +1294,8 @@ "comment": "", "meta": { "range": [ - 5040, - 5062 + 5042, + 5064 ], "filename": "Guild.js", "lineno": 169, @@ -1318,8 +1320,8 @@ "comment": "/**\n * The voice state manager of this guild.\n * @type {GuildVoiceStatesManager}\n * @private\n */", "meta": { "range": [ - 5186, - 5314 + 5188, + 5316 ], "filename": "Guild.js", "lineno": 176, @@ -1350,8 +1352,8 @@ "comment": "/**\n * The member manager of this guild.\n * @type {GuildMemberManager}\n * @private\n */", "meta": { "range": [ - 5428, - 5529 + 5430, + 5531 ], "filename": "Guild.js", "lineno": 185, @@ -1382,8 +1384,8 @@ "comment": "/**\n * The channel manager of this guild.\n * @type {GuildChannelsManager}\n * @private\n */", "meta": { "range": [ - 5646, - 5751 + 5648, + 5753 ], "filename": "Guild.js", "lineno": 194, @@ -1414,8 +1416,8 @@ "comment": "/**\n * The role manager of this guild.\n * @type {GuildRoleManager}\n * @private\n */", "meta": { "range": [ - 5861, - 5956 + 5863, + 5958 ], "filename": "Guild.js", "lineno": 203, @@ -1446,8 +1448,8 @@ "comment": "", "meta": { "range": [ - 5963, - 6089 + 5965, + 6091 ], "filename": "Guild.js", "lineno": 207, @@ -1472,8 +1474,8 @@ "comment": "/**\n * The emoji manager of this guild.\n * @type {GuildEmojisManager}\n * @private\n */", "meta": { "range": [ - 6202, - 6301 + 6204, + 6303 ], "filename": "Guild.js", "lineno": 216, @@ -1504,8 +1506,8 @@ "comment": "/**\n * The invite manager of this guild.\n * @type {GuildInviteManager}\n * @private\n */", "meta": { "range": [ - 6415, - 6516 + 6417, + 6518 ], "filename": "Guild.js", "lineno": 225, @@ -1536,8 +1538,8 @@ "comment": "", "meta": { "range": [ - 6668, - 6772 + 6670, + 6774 ], "filename": "Guild.js", "lineno": 235, @@ -1562,8 +1564,8 @@ "comment": "", "meta": { "range": [ - 6895, - 6953 + 6897, + 6955 ], "filename": "Guild.js", "lineno": 243, @@ -1588,8 +1590,8 @@ "comment": "", "meta": { "range": [ - 7103, - 7204 + 7105, + 7206 ], "filename": "Guild.js", "lineno": 251, @@ -1614,8 +1616,8 @@ "comment": "", "meta": { "range": [ - 7325, - 7381 + 7327, + 7383 ], "filename": "Guild.js", "lineno": 259, @@ -1640,8 +1642,8 @@ "comment": "", "meta": { "range": [ - 7556, - 7622 + 7558, + 7624 ], "filename": "Guild.js", "lineno": 267, @@ -1666,8 +1668,8 @@ "comment": "", "meta": { "range": [ - 7768, - 7836 + 7770, + 7838 ], "filename": "Guild.js", "lineno": 273, @@ -1692,8 +1694,8 @@ "comment": "", "meta": { "range": [ - 7847, - 7883 + 7849, + 7885 ], "filename": "Guild.js", "lineno": 274, @@ -1718,8 +1720,8 @@ "comment": "/**\n * The attributes of the guild.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 7980, - 8045 + 7982, + 8047 ], "filename": "Guild.js", "lineno": 281, @@ -1750,8 +1752,8 @@ "comment": "", "meta": { "range": [ - 8177, - 8266 + 8179, + 8268 ], "filename": "Guild.js", "lineno": 287, @@ -1776,8 +1778,8 @@ "comment": "", "meta": { "range": [ - 8338, - 8367 + 8340, + 8369 ], "filename": "Guild.js", "lineno": 292, @@ -1802,8 +1804,8 @@ "comment": "", "meta": { "range": [ - 8434, - 8463 + 8436, + 8465 ], "filename": "Guild.js", "lineno": 296, @@ -1828,8 +1830,8 @@ "comment": "", "meta": { "range": [ - 8678, - 8823 + 8680, + 8825 ], "filename": "Guild.js", "lineno": 307, @@ -1854,8 +1856,8 @@ "comment": "", "meta": { "range": [ - 8904, - 8933 + 8906, + 8935 ], "filename": "Guild.js", "lineno": 314, @@ -1880,8 +1882,8 @@ "comment": "", "meta": { "range": [ - 8995, - 9024 + 8997, + 9026 ], "filename": "Guild.js", "lineno": 318, @@ -1906,8 +1908,8 @@ "comment": "", "meta": { "range": [ - 9089, - 9119 + 9091, + 9121 ], "filename": "Guild.js", "lineno": 322, @@ -1932,8 +1934,8 @@ "comment": "", "meta": { "range": [ - 9182, - 9212 + 9184, + 9214 ], "filename": "Guild.js", "lineno": 326, @@ -1958,8 +1960,8 @@ "comment": "", "meta": { "range": [ - 9280, - 9310 + 9282, + 9312 ], "filename": "Guild.js", "lineno": 330, @@ -1984,8 +1986,8 @@ "comment": "", "meta": { "range": [ - 9546, - 9733 + 9548, + 9735 ], "filename": "Guild.js", "lineno": 341, @@ -2010,8 +2012,8 @@ "comment": "", "meta": { "range": [ - 9832, - 9862 + 9834, + 9864 ], "filename": "Guild.js", "lineno": 348, @@ -2036,8 +2038,8 @@ "comment": "", "meta": { "range": [ - 9934, - 9964 + 9936, + 9966 ], "filename": "Guild.js", "lineno": 352, @@ -2062,8 +2064,8 @@ "comment": "", "meta": { "range": [ - 10188, - 10351 + 10190, + 10353 ], "filename": "Guild.js", "lineno": 363, @@ -2088,8 +2090,8 @@ "comment": "", "meta": { "range": [ - 10440, - 10470 + 10442, + 10472 ], "filename": "Guild.js", "lineno": 370, @@ -2114,8 +2116,8 @@ "comment": "", "meta": { "range": [ - 10550, - 10580 + 10552, + 10582 ], "filename": "Guild.js", "lineno": 374, @@ -2140,8 +2142,8 @@ "comment": "", "meta": { "range": [ - 10650, - 10680 + 10652, + 10682 ], "filename": "Guild.js", "lineno": 378, @@ -2166,8 +2168,8 @@ "comment": "", "meta": { "range": [ - 10879, - 10992 + 10881, + 10994 ], "filename": "Guild.js", "lineno": 389, @@ -2192,8 +2194,8 @@ "comment": "", "meta": { "range": [ - 11068, - 11098 + 11070, + 11100 ], "filename": "Guild.js", "lineno": 396, @@ -2218,8 +2220,8 @@ "comment": "", "meta": { "range": [ - 11165, - 11195 + 11167, + 11197 ], "filename": "Guild.js", "lineno": 400, @@ -2244,8 +2246,8 @@ "comment": "", "meta": { "range": [ - 11258, - 11288 + 11260, + 11290 ], "filename": "Guild.js", "lineno": 404, @@ -2270,8 +2272,8 @@ "comment": "", "meta": { "range": [ - 11361, - 11391 + 11363, + 11393 ], "filename": "Guild.js", "lineno": 408, @@ -2296,8 +2298,8 @@ "comment": "", "meta": { "range": [ - 11604, - 11725 + 11606, + 11727 ], "filename": "Guild.js", "lineno": 419, @@ -2322,8 +2324,8 @@ "comment": "", "meta": { "range": [ - 11800, - 11830 + 11802, + 11832 ], "filename": "Guild.js", "lineno": 426, @@ -2348,8 +2350,8 @@ "comment": "", "meta": { "range": [ - 11895, - 11925 + 11897, + 11927 ], "filename": "Guild.js", "lineno": 430, @@ -2374,8 +2376,8 @@ "comment": "", "meta": { "range": [ - 11990, - 12020 + 11992, + 12022 ], "filename": "Guild.js", "lineno": 434, @@ -2400,8 +2402,8 @@ "comment": "", "meta": { "range": [ - 12085, - 12115 + 12087, + 12117 ], "filename": "Guild.js", "lineno": 438, @@ -2426,8 +2428,8 @@ "comment": "", "meta": { "range": [ - 12315, - 12345 + 12317, + 12347 ], "filename": "Guild.js", "lineno": 449, @@ -2452,8 +2454,8 @@ "comment": "", "meta": { "range": [ - 12504, - 12534 + 12506, + 12536 ], "filename": "Guild.js", "lineno": 455, @@ -2478,8 +2480,8 @@ "comment": "/**\n * The locale of this guild, if set up as a community.\n * @type {String}\n * @private\n */", "meta": { "range": [ - 12654, - 12700 + 12656, + 12702 ], "filename": "Guild.js", "lineno": 462, @@ -2510,8 +2512,8 @@ "comment": "", "meta": { "range": [ - 12781, - 12830 + 12783, + 12832 ], "filename": "Guild.js", "lineno": 464, @@ -2536,8 +2538,8 @@ "comment": "", "meta": { "range": [ - 12870, - 12899 + 12872, + 12901 ], "filename": "Guild.js", "lineno": 465, @@ -2562,8 +2564,8 @@ "comment": "/**\n * The cache options for this guild.\n * @type {GuildCacheOptions}\n * @private\n */", "meta": { "range": [ - 13012, - 13140 + 13014, + 13142 ], "filename": "Guild.js", "lineno": 472, @@ -2594,8 +2596,8 @@ "comment": "", "meta": { "range": [ - 13153, - 13213 + 13155, + 13215 ], "filename": "Guild.js", "lineno": 476, @@ -2620,8 +2622,8 @@ "comment": "", "meta": { "range": [ - 13717, - 13722 + 13719, + 13724 ], "filename": "Guild.js", "lineno": 496, @@ -2646,8 +2648,8 @@ "comment": "", "meta": { "range": [ - 13817, - 13848 + 13819, + 13850 ], "filename": "Guild.js", "lineno": 498, @@ -2670,8 +2672,8 @@ "comment": "", "meta": { "range": [ - 13860, - 13876 + 13862, + 13878 ], "filename": "Guild.js", "lineno": 499, @@ -2694,8 +2696,8 @@ "comment": "", "meta": { "range": [ - 13888, - 13895 + 13890, + 13897 ], "filename": "Guild.js", "lineno": 500, @@ -2718,8 +2720,8 @@ "comment": "", "meta": { "range": [ - 14055, - 14060 + 14057, + 14062 ], "filename": "Guild.js", "lineno": 508, @@ -2744,8 +2746,8 @@ "comment": "", "meta": { "range": [ - 14310, - 14315 + 14312, + 14317 ], "filename": "Guild.js", "lineno": 516, @@ -2770,8 +2772,8 @@ "comment": "", "meta": { "range": [ - 14410, - 14426 + 14412, + 14428 ], "filename": "Guild.js", "lineno": 518, @@ -2794,8 +2796,8 @@ "comment": "", "meta": { "range": [ - 14438, - 14445 + 14440, + 14447 ], "filename": "Guild.js", "lineno": 519, @@ -2818,8 +2820,8 @@ "comment": "", "meta": { "range": [ - 14629, - 14634 + 14631, + 14636 ], "filename": "Guild.js", "lineno": 529, @@ -2844,8 +2846,8 @@ "comment": "", "meta": { "range": [ - 14743, - 14759 + 14745, + 14761 ], "filename": "Guild.js", "lineno": 531, @@ -2868,8 +2870,8 @@ "comment": "", "meta": { "range": [ - 14771, - 14778 + 14773, + 14780 ], "filename": "Guild.js", "lineno": 532, @@ -2892,8 +2894,8 @@ "comment": "", "meta": { "range": [ - 14924, - 14929 + 14926, + 14931 ], "filename": "Guild.js", "lineno": 539, @@ -2918,8 +2920,8 @@ "comment": "", "meta": { "range": [ - 15008, - 15024 + 15010, + 15026 ], "filename": "Guild.js", "lineno": 540, @@ -2942,8 +2944,8 @@ "comment": "", "meta": { "range": [ - 15026, - 15033 + 15028, + 15035 ], "filename": "Guild.js", "lineno": 540, @@ -2966,8 +2968,8 @@ "comment": "", "meta": { "range": [ - 15180, - 15185 + 15182, + 15187 ], "filename": "Guild.js", "lineno": 547, @@ -2992,8 +2994,8 @@ "comment": "", "meta": { "range": [ - 15277, - 15293 + 15279, + 15295 ], "filename": "Guild.js", "lineno": 549, @@ -3016,8 +3018,8 @@ "comment": "", "meta": { "range": [ - 15305, - 15312 + 15307, + 15314 ], "filename": "Guild.js", "lineno": 550, @@ -3040,8 +3042,8 @@ "comment": "", "meta": { "range": [ - 15470, - 15475 + 15472, + 15477 ], "filename": "Guild.js", "lineno": 558, @@ -3066,8 +3068,8 @@ "comment": "", "meta": { "range": [ - 15570, - 15586 + 15572, + 15588 ], "filename": "Guild.js", "lineno": 560, @@ -3090,8 +3092,8 @@ "comment": "", "meta": { "range": [ - 15598, - 15605 + 15600, + 15607 ], "filename": "Guild.js", "lineno": 561, @@ -3114,8 +3116,8 @@ "comment": "/**\n * The id of the guild.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 15712, - 15756 + 15714, + 15758 ], "filename": "Guild.js", "lineno": 571, @@ -3150,8 +3152,8 @@ "comment": "/**\n * The hash of the guild's icon, as it was received from Discord.\n * @readonly\n * @type {String?}\n * @public\n */", "meta": { "range": [ - 15889, - 16036 + 15891, + 16038 ], "filename": "Guild.js", "lineno": 581, @@ -3187,8 +3189,8 @@ "comment": "", "meta": { "range": [ - 16218, - 16258 + 16220, + 16260 ], "filename": "Guild.js", "lineno": 597, @@ -3213,8 +3215,8 @@ "comment": "", "meta": { "range": [ - 16347, - 16382 + 16349, + 16384 ], "filename": "Guild.js", "lineno": 601, @@ -3240,8 +3242,8 @@ "comment": "/**\n * The icon URL of the guild.\n * @readonly\n * @type {String?}\n * @public\n */", "meta": { "range": [ - 16511, - 16596 + 16513, + 16598 ], "filename": "Guild.js", "lineno": 612, @@ -3277,8 +3279,8 @@ "comment": "/**\n * The owner of the guild.\n * @type {Member}\n * @readonly\n * @public\n */", "meta": { "range": [ - 16689, - 16749 + 16691, + 16751 ], "filename": "Guild.js", "lineno": 622, @@ -3313,8 +3315,8 @@ "comment": "/**\n * System channel flags.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags}\n * @readonly\n * @type {String[]}\n * @public\n */", "meta": { "range": [ - 16946, - 17707 + 16948, + 17709 ], "filename": "Guild.js", "lineno": 633, @@ -3352,8 +3354,8 @@ "comment": "", "meta": { "range": [ - 16983, - 16993 + 16985, + 16995 ], "filename": "Guild.js", "lineno": 634, @@ -3378,8 +3380,8 @@ "comment": "/**\n * Raw system channel flags.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-system-channel-flags}\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 17906, - 18440 + 17908, + 18442 ], "filename": "Guild.js", "lineno": 659, @@ -3417,8 +3419,8 @@ "comment": "", "meta": { "range": [ - 17944, - 17956 + 17946, + 17958 ], "filename": "Guild.js", "lineno": 660, @@ -3443,8 +3445,8 @@ "comment": "", "meta": { "range": [ - 18013, - 18033 + 18015, + 18035 ], "filename": "Guild.js", "lineno": 662, @@ -3470,8 +3472,8 @@ "comment": "", "meta": { "range": [ - 18089, - 18109 + 18091, + 18111 ], "filename": "Guild.js", "lineno": 663, @@ -3497,8 +3499,8 @@ "comment": "", "meta": { "range": [ - 18165, - 18185 + 18167, + 18187 ], "filename": "Guild.js", "lineno": 664, @@ -3524,8 +3526,8 @@ "comment": "", "meta": { "range": [ - 18241, - 18261 + 18243, + 18263 ], "filename": "Guild.js", "lineno": 665, @@ -3551,8 +3553,8 @@ "comment": "", "meta": { "range": [ - 18317, - 18337 + 18319, + 18339 ], "filename": "Guild.js", "lineno": 666, @@ -3578,8 +3580,8 @@ "comment": "", "meta": { "range": [ - 18393, - 18413 + 18395, + 18415 ], "filename": "Guild.js", "lineno": 667, @@ -3605,8 +3607,8 @@ "comment": "/**\n * Server MFA level.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-mfa-level}\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 18620, - 18809 + 18622, + 18811 ], "filename": "Guild.js", "lineno": 679, @@ -3644,8 +3646,8 @@ "comment": "/**\n * Server MFA level.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-mfa-level}\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 18989, - 19167 + 18991, + 19169 ], "filename": "Guild.js", "lineno": 692, @@ -3683,8 +3685,8 @@ "comment": "/**\n * Server verification level.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-verification-level}\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 19365, - 19793 + 19367, + 19795 ], "filename": "Guild.js", "lineno": 705, @@ -3722,8 +3724,8 @@ "comment": "/**\n * Server verification level.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-verification-level}\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 19991, - 20391 + 19993, + 20393 ], "filename": "Guild.js", "lineno": 721, @@ -3761,8 +3763,8 @@ "comment": "/**\n * Default notification setting.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level}\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 20608, - 20839 + 20610, + 20841 ], "filename": "Guild.js", "lineno": 737, @@ -3800,8 +3802,8 @@ "comment": "/**\n * Default notification setting.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-default-message-notification-level}\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 21056, - 21257 + 21058, + 21259 ], "filename": "Guild.js", "lineno": 751, @@ -3839,8 +3841,8 @@ "comment": "/**\n * Explicit content filter level.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level}\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 21470, - 21788 + 21472, + 21790 ], "filename": "Guild.js", "lineno": 764, @@ -3878,8 +3880,8 @@ "comment": "/**\n * Explicit content filter level.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-explicit-content-filter-level}\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 22001, - 22267 + 22003, + 22269 ], "filename": "Guild.js", "lineno": 780, @@ -3917,8 +3919,8 @@ "comment": "/**\n * Server NSFW level.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level}\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 22455, - 22820 + 22457, + 22822 ], "filename": "Guild.js", "lineno": 794, @@ -3956,8 +3958,8 @@ "comment": "/**\n * Server NSFW level.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-guild-nsfw-level}\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 23008, - 23333 + 23010, + 23335 ], "filename": "Guild.js", "lineno": 810, @@ -3995,8 +3997,8 @@ "comment": "/**\n * Server boost level.\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-object-premium-tier}\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 23518, - 23842 + 23520, + 23844 ], "filename": "Guild.js", "lineno": 825, @@ -4034,8 +4036,8 @@ "comment": "/**\n * Whether the guild has the boost progress bar enabled.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 23966, - 24062 + 23968, + 24064 ], "filename": "Guild.js", "lineno": 839, @@ -4070,8 +4072,8 @@ "comment": "/**\n * Whether the guild is unavailable.\n * @type {Boolean}\n * @readonly\n * @public\n */", "meta": { "range": [ - 24166, - 24228 + 24168, + 24230 ], "filename": "Guild.js", "lineno": 849, @@ -4106,8 +4108,8 @@ "comment": "/**\n * The name of the guild.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 24320, - 24359 + 24322, + 24361 ], "filename": "Guild.js", "lineno": 859, @@ -4142,8 +4144,8 @@ "comment": "/**\n * The description of the guild.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 24459, - 24512 + 24461, + 24514 ], "filename": "Guild.js", "lineno": 869, @@ -4179,8 +4181,8 @@ "comment": "/**\n * The icon hash of the guild.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 24609, - 24664 + 24611, + 24666 ], "filename": "Guild.js", "lineno": 879, @@ -4215,8 +4217,8 @@ "comment": "/**\n * The id of the guild owner.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 24760, - 24808 + 24762, + 24810 ], "filename": "Guild.js", "lineno": 889, @@ -4251,8 +4253,8 @@ "comment": "/**\n * The member count of the guild.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 24908, - 24962 + 24910, + 24964 ], "filename": "Guild.js", "lineno": 899, @@ -4287,8 +4289,8 @@ "comment": "/**\n * The system channel id of the guild.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 25068, - 25172 + 25070, + 25174 ], "filename": "Guild.js", "lineno": 909, @@ -4324,8 +4326,8 @@ "comment": "/**\n * The system channel of the guild.\n * @type {TextChannel?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 25280, - 25399 + 25282, + 25401 ], "filename": "Guild.js", "lineno": 919, @@ -4361,8 +4363,8 @@ "comment": "/**\n * The rules channel id of the guild.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 25504, - 25605 + 25506, + 25607 ], "filename": "Guild.js", "lineno": 931, @@ -4398,8 +4400,8 @@ "comment": "/**\n * The rules channel of the guild.\n * @type {TextChannel?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 25712, - 25816 + 25714, + 25818 ], "filename": "Guild.js", "lineno": 941, @@ -4435,8 +4437,8 @@ "comment": "/**\n * The preferred locale of the guild.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 25920, - 25982 + 25922, + 25984 ], "filename": "Guild.js", "lineno": 951, @@ -4471,8 +4473,8 @@ "comment": "/**\n * The premium subscription count of the guild.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 26096, - 26177 + 26098, + 26179 ], "filename": "Guild.js", "lineno": 961, @@ -4507,8 +4509,8 @@ "comment": "/**\n * The cache options for this guild.\n * @type {GuildCacheOptions}\n * @readonly\n * @public\n */", "meta": { "range": [ - 26291, - 26348 + 26293, + 26350 ], "filename": "Guild.js", "lineno": 971, @@ -4543,8 +4545,8 @@ "comment": "/**\n * The members in the guild.\n * @type {GuildMemberManager}\n * @readonly\n * @public\n */", "meta": { "range": [ - 26455, - 26500 + 26457, + 26502 ], "filename": "Guild.js", "lineno": 981, @@ -4579,8 +4581,8 @@ "comment": "/**\n * The channels in the guild.\n * @type {GuildChannelsManager}\n * @readonly\n * @public\n */", "meta": { "range": [ - 26610, - 26657 + 26612, + 26659 ], "filename": "Guild.js", "lineno": 991, @@ -4615,8 +4617,8 @@ "comment": "/**\n * The voice states in the guild.\n * @type {GuildVoiceStatesManager}\n * @readonly\n * @public\n */", "meta": { "range": [ - 26774, - 26828 + 26776, + 26830 ], "filename": "Guild.js", "lineno": 1001, @@ -4651,8 +4653,8 @@ "comment": "/**\n * The roles in the guild.\n * @type {GuildRoleManager}\n * @readonly\n * @public\n */", "meta": { "range": [ - 26931, - 26972 + 26933, + 26974 ], "filename": "Guild.js", "lineno": 1011, @@ -4687,8 +4689,8 @@ "comment": "/**\n * The scheduled events in the guild.\n * @type {GuildScheduledEventManager}\n * @readonly\n * @public\n */", "meta": { "range": [ - 27096, - 27158 + 27098, + 27160 ], "filename": "Guild.js", "lineno": 1021, @@ -4723,8 +4725,8 @@ "comment": "/**\n * The emojis in the guild.\n * @type {GuildEmojisManager}\n * @readonly\n * @public\n */", "meta": { "range": [ - 27264, - 27307 + 27266, + 27309 ], "filename": "Guild.js", "lineno": 1031, @@ -4759,8 +4761,8 @@ "comment": "/**\n * The invites in the guild.\n * @type {GuildInviteManager}\n * @readonly\n * @public\n */", "meta": { "range": [ - 27414, - 27459 + 27416, + 27461 ], "filename": "Guild.js", "lineno": 1041, @@ -4795,8 +4797,8 @@ "comment": "/**\n * Increases the member count of the guild.\n * @method\n * @public\n */", "meta": { "range": [ - 27547, - 27602 + 27549, + 27604 ], "filename": "Guild.js", "lineno": 1050, @@ -4825,8 +4827,8 @@ "comment": "/**\n * Decreases the member count of the guild.\n * @method\n * @public\n */", "meta": { "range": [ - 27690, - 27745 + 27692, + 27747 ], "filename": "Guild.js", "lineno": 1059, @@ -4855,8 +4857,8 @@ "comment": "/**\n * Returns the client member for this guild.\n * @returns {Promise}\n * @public\n * @async\n * @method\n * @throws {Error}\n */", "meta": { "range": [ - 27899, - 28056 + 27901, + 28058 ], "filename": "Guild.js", "lineno": 1071, @@ -4904,8 +4906,8 @@ "comment": "", "meta": { "range": [ - 27916, - 27964 + 27918, + 27966 ], "filename": "Guild.js", "lineno": 1072, @@ -4930,8 +4932,8 @@ "comment": "/**\n * Bans a user with the given id from the guild.\n * @param {String} user_id The id of the user to ban.\n * @param {Object?} [options] Ban options.\n * @param {String?} [options.reason] The reason for banning the user.\n * @param {Number?} [options.seconds] The number of seconds to delete messages for.\n * @returns {Promise}\n * @async\n * @public\n * @method\n * @throws {Error | TypeError}\n */", "meta": { "range": [ - 28484, - 29618 + 28486, + 29620 ], "filename": "Guild.js", "lineno": 1091, @@ -5026,8 +5028,8 @@ "comment": "", "meta": { "range": [ - 28505, - 28511 + 28507, + 28513 ], "filename": "Guild.js", "lineno": 1091, @@ -5050,8 +5052,8 @@ "comment": "", "meta": { "range": [ - 28513, - 28520 + 28515, + 28522 ], "filename": "Guild.js", "lineno": 1091, @@ -5074,8 +5076,8 @@ "comment": "", "meta": { "range": [ - 29317, - 29326 + 29319, + 29328 ], "filename": "Guild.js", "lineno": 1112, @@ -5100,8 +5102,8 @@ "comment": "", "meta": { "range": [ - 29345, - 29380 + 29347, + 29382 ], "filename": "Guild.js", "lineno": 1114, @@ -5127,8 +5129,8 @@ "comment": "", "meta": { "range": [ - 29458, - 29495 + 29460, + 29497 ], "filename": "Guild.js", "lineno": 1116, @@ -5154,8 +5156,8 @@ "comment": "/**\n * Unbans a user with the given id from the guild.\n * @param {String} user_id The id of the user to unban.\n * @param {Object?} [options] Unban options.\n * @param {String?} [options.reason] The reason for unbanning the user.\n * @returns {Promise}\n * @async\n * @public\n * @method\n * @throws {Error | TypeError}\n */", "meta": { "range": [ - 29968, - 30711 + 29970, + 30713 ], "filename": "Guild.js", "lineno": 1136, @@ -5239,8 +5241,8 @@ "comment": "", "meta": { "range": [ - 29991, - 29997 + 29993, + 29999 ], "filename": "Guild.js", "lineno": 1136, @@ -5263,8 +5265,8 @@ "comment": "", "meta": { "range": [ - 30522, - 30531 + 30524, + 30533 ], "filename": "Guild.js", "lineno": 1151, @@ -5289,8 +5291,8 @@ "comment": "", "meta": { "range": [ - 30550, - 30585 + 30552, + 30587 ], "filename": "Guild.js", "lineno": 1153, @@ -5316,8 +5318,8 @@ "comment": "/**\n * Kicks a user with the given id from the guild.\n * @param {String} user_id The id of the user to kick.\n * @param {Object?} [options] Kick options.\n * @param {String?} [options.reason] The reason for kicking the user.\n * @returns {Promise}\n * @async\n * @public\n * @method\n * @throws {Error | TypeError}\n */", "meta": { "range": [ - 31056, - 31797 + 31058, + 31799 ], "filename": "Guild.js", "lineno": 1173, @@ -5401,8 +5403,8 @@ "comment": "", "meta": { "range": [ - 31078, - 31084 + 31080, + 31086 ], "filename": "Guild.js", "lineno": 1173, @@ -5425,8 +5427,8 @@ "comment": "", "meta": { "range": [ - 31611, - 31620 + 31613, + 31622 ], "filename": "Guild.js", "lineno": 1188, @@ -5451,8 +5453,8 @@ "comment": "", "meta": { "range": [ - 31639, - 31674 + 31641, + 31676 ], "filename": "Guild.js", "lineno": 1190, @@ -5478,8 +5480,8 @@ "comment": "/**\n * Removes the given role from the given member.\n * @param {String} user_id The id of the user.\n * @param {String} role_id The id of the role.\n * @param {Object?} [options] Remove role options.\n * @param {String?} [options.reason] The reason for removing the role.\n * @returns {Promise}\n * @async\n * @public\n * @method\n * @throws {Error | TypeError}\n */", "meta": { "range": [ - 32190, - 33063 + 32192, + 33065 ], "filename": "Guild.js", "lineno": 1211, @@ -5573,8 +5575,8 @@ "comment": "", "meta": { "range": [ - 32233, - 32239 + 32235, + 32241 ], "filename": "Guild.js", "lineno": 1211, @@ -5597,8 +5599,8 @@ "comment": "", "meta": { "range": [ - 32863, - 32872 + 32865, + 32874 ], "filename": "Guild.js", "lineno": 1229, @@ -5623,8 +5625,8 @@ "comment": "", "meta": { "range": [ - 32891, - 32926 + 32893, + 32928 ], "filename": "Guild.js", "lineno": 1231, @@ -5650,8 +5652,8 @@ "comment": "/**\n * Fetches audit logs.\n * @param {Object?} [options] Audit log fetch options.\n * @param {Number?} [options.limit] The number of entries to fetch.\n * @param {Number?} [options.type] The type of audit log to fetch.\n * @param {String?} [options.user_id] The id of the user to fetch the audit log for.\n * @param {String?} [options.before] The id of the audit log entry to fetch before.\n * @param {String?} [options.after] The id of the audit log entry to fetch after\n * @returns {Promise}\n * @async\n * @public\n * @method\n * @throws {Error | TypeError}\n */", "meta": { "range": [ - 33664, - 35494 + 33666, + 35496 ], "filename": "Guild.js", "lineno": 1254, @@ -5769,8 +5771,8 @@ "comment": "", "meta": { "range": [ - 33687, - 33692 + 33689, + 33694 ], "filename": "Guild.js", "lineno": 1254, @@ -5793,8 +5795,8 @@ "comment": "", "meta": { "range": [ - 33694, - 33698 + 33696, + 33700 ], "filename": "Guild.js", "lineno": 1254, @@ -5817,8 +5819,8 @@ "comment": "", "meta": { "range": [ - 33700, - 33707 + 33702, + 33709 ], "filename": "Guild.js", "lineno": 1254, @@ -5841,8 +5843,8 @@ "comment": "", "meta": { "range": [ - 33709, - 33715 + 33711, + 33717 ], "filename": "Guild.js", "lineno": 1254, @@ -5865,8 +5867,8 @@ "comment": "", "meta": { "range": [ - 33717, - 33722 + 33719, + 33724 ], "filename": "Guild.js", "lineno": 1254, @@ -5889,8 +5891,8 @@ "comment": "", "meta": { "range": [ - 34689, - 34698 + 34691, + 34700 ], "filename": "Guild.js", "lineno": 1281, @@ -5915,8 +5917,8 @@ "comment": "", "meta": { "range": [ - 34716, - 34734 + 34718, + 34736 ], "filename": "Guild.js", "lineno": 1283, @@ -5942,8 +5944,8 @@ "comment": "", "meta": { "range": [ - 34745, - 34759 + 34747, + 34761 ], "filename": "Guild.js", "lineno": 1284, @@ -5969,8 +5971,8 @@ "comment": "", "meta": { "range": [ - 34776, - 34816 + 34778, + 34818 ], "filename": "Guild.js", "lineno": 1286, @@ -5996,8 +5998,8 @@ "comment": "", "meta": { "range": [ - 34836, - 34858 + 34838, + 34860 ], "filename": "Guild.js", "lineno": 1288, @@ -6023,8 +6025,8 @@ "comment": "", "meta": { "range": [ - 34877, - 34897 + 34879, + 34899 ], "filename": "Guild.js", "lineno": 1290, @@ -6050,8 +6052,8 @@ "comment": "", "meta": { "range": [ - 34915, - 34933 + 34917, + 34935 ], "filename": "Guild.js", "lineno": 1292, @@ -6077,8 +6079,8 @@ "comment": "", "meta": { "range": [ - 34946, - 35054 + 34948, + 35056 ], "filename": "Guild.js", "lineno": 1294, @@ -6103,8 +6105,8 @@ "comment": "", "meta": { "range": [ - 35425, - 35442 + 35427, + 35444 ], "filename": "Guild.js", "lineno": 1314, @@ -6127,8 +6129,8 @@ "comment": "", "meta": { "range": [ - 35454, - 35470 + 35456, + 35472 ], "filename": "Guild.js", "lineno": 1315, @@ -6151,8 +6153,8 @@ "comment": "/**\n * Fetches the guild invites.\n * @returns {Promise}\n * @async\n * @public\n * @method\n * @throws {Error}\n */", "meta": { "range": [ - 35636, - 35894 + 35638, + 35896 ], "filename": "Guild.js", "lineno": 1328, @@ -6200,8 +6202,8 @@ "comment": "/**\n * Fetches all the guild channels.\n * @returns {Promise>}\n * @async\n * @public\n * @method\n * @throws {Error}\n */", "meta": { "range": [ - 36063, - 36350 + 36065, + 36352 ], "filename": "Guild.js", "lineno": 1345, @@ -6249,8 +6251,8 @@ "comment": "", "meta": { "range": [ - 36097, - 36187 + 36099, + 36189 ], "filename": "Guild.js", "lineno": 1346, @@ -6275,8 +6277,8 @@ "comment": "", "meta": { "range": [ - 36200, - 36213 + 36202, + 36215 ], "filename": "Guild.js", "lineno": 1350, @@ -6301,8 +6303,8 @@ "comment": "", "meta": { "range": [ - 36228, - 36233 + 36230, + 36235 ], "filename": "Guild.js", "lineno": 1351, @@ -6327,8 +6329,8 @@ "comment": "/**\n * Fetches the ban for the provided user id.\n * @param {String} user_id The id of the user to fetch the ban of.\n * @returns {Promise}\n * @async\n * @public\n * @method\n * @throws {Error | TypeError}\n */", "meta": { "range": [ - 36586, - 36947 + 36588, + 36949 ], "filename": "Guild.js", "lineno": 1366, @@ -6389,8 +6391,8 @@ "comment": "/**\n * Leaves the guild.\n * @returns {Promise}\n * @async\n * @public\n * @method\n * @throws {Error}\n */", "meta": { "range": [ - 37076, - 37171 + 37078, + 37173 ], "filename": "Guild.js", "lineno": 1386, @@ -6438,8 +6440,8 @@ "comment": "/**\n * Calculates the number of messages that should be cached per channel for this guild.\n * @returns {Number}\n * @public\n * @method\n */", "meta": { "range": [ - 37325, - 37852 + 37327, + 37854 ], "filename": "Guild.js", "lineno": 1396, @@ -6477,8 +6479,8 @@ "comment": "", "meta": { "range": [ - 37366, - 37434 + 37368, + 37436 ], "filename": "Guild.js", "lineno": 1397, @@ -6503,8 +6505,8 @@ "comment": "", "meta": { "range": [ - 37731, - 37817 + 37733, + 37819 ], "filename": "Guild.js", "lineno": 1402, @@ -6529,8 +6531,8 @@ "comment": "/**\n * Calculates the number of members that should be cached for this guild.\n * @returns {Number}\n * @public\n * @method\n */", "meta": { "range": [ - 37993, - 38424 + 37995, + 38426 ], "filename": "Guild.js", "lineno": 1414, @@ -6568,8 +6570,8 @@ "comment": "", "meta": { "range": [ - 38033, - 38090 + 38035, + 38092 ], "filename": "Guild.js", "lineno": 1415, @@ -6594,8 +6596,8 @@ "comment": "", "meta": { "range": [ - 38321, - 38389 + 38323, + 38391 ], "filename": "Guild.js", "lineno": 1419, @@ -6620,8 +6622,8 @@ "comment": "/**\n * Deletes a webhook.\n * @param {Client} client The client instance.\n * @param {String} webhookId The id of the webhook to delete.\n * @returns {Promise}\n * @public\n * @method\n * @async\n * @throws {TypeError}\n * @static\n */", "meta": { "range": [ - 38683, - 39014 + 38685, + 39016 ], "filename": "Guild.js", "lineno": 1435, @@ -6691,8 +6693,8 @@ "comment": "/**\n * Creates a webhook in the given channel with the name \"Gluon\".\n * @param {Client} client The client instance.\n * @param {String} channelId The id of the channel to create the webhook in.\n * @param {Object} [options] The options for creating the webhook.\n * @param {String} [options.name] The name of the webhook.\n * @returns {Promise}\n * @public\n * @method\n * @async\n * @throws {TypeError}\n * @static\n */", "meta": { "range": [ - 39463, - 39973 + 39465, + 39975 ], "filename": "Guild.js", "lineno": 1456, @@ -6783,8 +6785,8 @@ "comment": "", "meta": { "range": [ - 39505, - 39516 + 39507, + 39518 ], "filename": "Guild.js", "lineno": 1456, @@ -6807,8 +6809,8 @@ "comment": "", "meta": { "range": [ - 39523, - 39533 + 39525, + 39535 ], "filename": "Guild.js", "lineno": 1456, @@ -6831,8 +6833,8 @@ "comment": "", "meta": { "range": [ - 39856, - 39865 + 39858, + 39867 ], "filename": "Guild.js", "lineno": 1464, @@ -6857,8 +6859,8 @@ "comment": "", "meta": { "range": [ - 39872, - 39888 + 39874, + 39890 ], "filename": "Guild.js", "lineno": 1466, @@ -6884,8 +6886,8 @@ "comment": "/**\n * Modified a webhook with the given webhook id.\n * @param {Client} client The client instance.\n * @param {String} webhookId The id of the webhook to modify.\n * @param {Object} options The options to modify the webhook with.\n * @param {String} options.channelId The id of the channel the webhook belongs to.\n * @returns {Promise}\n * @public\n * @method\n * @async\n * @throws {TypeError}\n * @static\n */", "meta": { "range": [ - 40415, - 40933 + 40417, + 40935 ], "filename": "Guild.js", "lineno": 1484, @@ -6974,8 +6976,8 @@ "comment": "", "meta": { "range": [ - 40457, - 40466 + 40459, + 40468 ], "filename": "Guild.js", "lineno": 1484, @@ -6998,8 +7000,8 @@ "comment": "", "meta": { "range": [ - 40804, - 40813 + 40806, + 40815 ], "filename": "Guild.js", "lineno": 1492, @@ -7024,8 +7026,8 @@ "comment": "", "meta": { "range": [ - 40820, - 40847 + 40822, + 40849 ], "filename": "Guild.js", "lineno": 1494, @@ -7051,8 +7053,8 @@ "comment": "/**\n * Fetches a webhook by the webhook's id.\n * @param {Client} client The client instance.\n * @param {String} webhookId The id of the webhook to fetch.\n * @returns {Promise}\n * @public\n * @method\n * @async\n * @throws {TypeError}\n * @static\n */", "meta": { "range": [ - 41213, - 41535 + 41215, + 41537 ], "filename": "Guild.js", "lineno": 1510, @@ -7122,8 +7124,8 @@ "comment": "/**\n * Posts a webhook with the provided webhook id and token.\n * @param {Client} client The client instance.\n * @param {Object} referenceData An object with the webhook id and token.\n * @param {String} referenceData.id The id of the webhook.\n * @param {String} referenceData.token The token of the webhook.\n * @param {String?} content The message to send with the webhook.\n * @param {Object?} [options] Embeds, components and files to attach to the webhook.\n * @param {Embed[]} [options.embeds] The embeds to attach to the webhook.\n * @param {MessageComponent[]} [options.components] The components to attach to the webhook.\n * @param {File[]} [options.files] The files to attach to the webhook.\n * @returns {Promise}\n * @public\n * @method\n * @async\n * @throws {TypeError}\n * @static\n */", "meta": { "range": [ - 42370, - 43121 + 42372, + 43123 ], "filename": "Guild.js", "lineno": 1536, @@ -7264,8 +7266,8 @@ "comment": "", "meta": { "range": [ - 42414, - 42416 + 42416, + 42418 ], "filename": "Guild.js", "lineno": 1538, @@ -7288,8 +7290,8 @@ "comment": "", "meta": { "range": [ - 42418, - 42423 + 42420, + 42425 ], "filename": "Guild.js", "lineno": 1538, @@ -7312,8 +7314,8 @@ "comment": "", "meta": { "range": [ - 42446, - 42452 + 42448, + 42454 ], "filename": "Guild.js", "lineno": 1540, @@ -7336,8 +7338,8 @@ "comment": "", "meta": { "range": [ - 42454, - 42464 + 42456, + 42466 ], "filename": "Guild.js", "lineno": 1540, @@ -7360,8 +7362,8 @@ "comment": "", "meta": { "range": [ - 42466, - 42471 + 42468, + 42473 ], "filename": "Guild.js", "lineno": 1540, @@ -7384,8 +7386,8 @@ "comment": "", "meta": { "range": [ - 42833, - 42839 + 42835, + 42841 ], "filename": "Guild.js", "lineno": 1549, @@ -7408,8 +7410,8 @@ "comment": "", "meta": { "range": [ - 42841, - 42851 + 42843, + 42853 ], "filename": "Guild.js", "lineno": 1549, @@ -7432,8 +7434,8 @@ "comment": "", "meta": { "range": [ - 42853, - 42858 + 42855, + 42860 ], "filename": "Guild.js", "lineno": 1549, @@ -7456,8 +7458,8 @@ "comment": "", "meta": { "range": [ - 42874, - 42883 + 42876, + 42885 ], "filename": "Guild.js", "lineno": 1551, @@ -7482,8 +7484,8 @@ "comment": "", "meta": { "range": [ - 42903, - 42925 + 42905, + 42927 ], "filename": "Guild.js", "lineno": 1553, @@ -7509,8 +7511,8 @@ "comment": "", "meta": { "range": [ - 42944, - 42964 + 42946, + 42966 ], "filename": "Guild.js", "lineno": 1555, @@ -7536,8 +7538,8 @@ "comment": "", "meta": { "range": [ - 43018, - 43036 + 43020, + 43038 ], "filename": "Guild.js", "lineno": 1557, @@ -7563,8 +7565,8 @@ "comment": "/**\n * Returns the icon URL of the guild.\n * @param {String} id The id of the guild.\n * @param {String?} hash The hash of the guild icon.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 43339, - 43715 + 43341, + 43717 ], "filename": "Guild.js", "lineno": 1571, @@ -7625,8 +7627,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 43757, - 44067 + 43759, + 44069 ], "filename": "Guild.js", "lineno": 1587, @@ -7654,8 +7656,8 @@ "comment": "/**\n * Determines whether the emoji should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 44282, - 44567 + 44284, + 44569 ], "filename": "Guild.js", "lineno": 1605, @@ -7705,8 +7707,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 44609, - 44659 + 44611, + 44661 ], "filename": "Guild.js", "lineno": 1618, @@ -7734,8 +7736,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 44701, - 44758 + 44703, + 44760 ], "filename": "Guild.js", "lineno": 1626, @@ -7763,8 +7765,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 44943, - 47361 + 44945, + 47363 ], "filename": "Guild.js", "lineno": 1637, @@ -7815,8 +7817,8 @@ "comment": "", "meta": { "range": [ - 45101, - 45112 + 45103, + 45114 ], "filename": "Guild.js", "lineno": 1642, @@ -7839,8 +7841,8 @@ "comment": "", "meta": { "range": [ - 45124, - 45139 + 45126, + 45141 ], "filename": "Guild.js", "lineno": 1643, @@ -7863,8 +7865,8 @@ "comment": "", "meta": { "range": [ - 45151, - 45179 + 45153, + 45181 ], "filename": "Guild.js", "lineno": 1644, @@ -7887,8 +7889,8 @@ "comment": "", "meta": { "range": [ - 45191, - 45213 + 45193, + 45215 ], "filename": "Guild.js", "lineno": 1645, @@ -7911,8 +7913,8 @@ "comment": "", "meta": { "range": [ - 45225, - 45256 + 45227, + 45258 ], "filename": "Guild.js", "lineno": 1646, @@ -7935,8 +7937,8 @@ "comment": "", "meta": { "range": [ - 45268, - 45297 + 45270, + 45299 ], "filename": "Guild.js", "lineno": 1647, @@ -7959,8 +7961,8 @@ "comment": "", "meta": { "range": [ - 45309, - 45339 + 45311, + 45341 ], "filename": "Guild.js", "lineno": 1648, @@ -7983,8 +7985,8 @@ "comment": "", "meta": { "range": [ - 45351, - 45389 + 45353, + 45391 ], "filename": "Guild.js", "lineno": 1649, @@ -8007,8 +8009,8 @@ "comment": "", "meta": { "range": [ - 45401, - 45435 + 45403, + 45437 ], "filename": "Guild.js", "lineno": 1650, @@ -8031,8 +8033,8 @@ "comment": "", "meta": { "range": [ - 45447, - 45477 + 45449, + 45479 ], "filename": "Guild.js", "lineno": 1651, @@ -8055,8 +8057,8 @@ "comment": "", "meta": { "range": [ - 45489, - 45541 + 45491, + 45543 ], "filename": "Guild.js", "lineno": 1652, @@ -8079,8 +8081,8 @@ "comment": "", "meta": { "range": [ - 45553, - 45603 + 45555, + 45605 ], "filename": "Guild.js", "lineno": 1653, @@ -8103,8 +8105,8 @@ "comment": "", "meta": { "range": [ - 45615, - 45672 + 45617, + 45674 ], "filename": "Guild.js", "lineno": 1654, @@ -8127,8 +8129,8 @@ "comment": "", "meta": { "range": [ - 45684, - 45720 + 45686, + 45722 ], "filename": "Guild.js", "lineno": 1655, @@ -8151,8 +8153,8 @@ "comment": "", "meta": { "range": [ - 45732, - 45770 + 45734, + 45772 ], "filename": "Guild.js", "lineno": 1656, @@ -8175,8 +8177,8 @@ "comment": "", "meta": { "range": [ - 45782, - 45827 + 45784, + 45829 ], "filename": "Guild.js", "lineno": 1657, @@ -8199,8 +8201,8 @@ "comment": "", "meta": { "range": [ - 45839, - 45871 + 45841, + 45873 ], "filename": "Guild.js", "lineno": 1658, @@ -8223,8 +8225,8 @@ "comment": "", "meta": { "range": [ - 45883, - 45917 + 45885, + 45919 ], "filename": "Guild.js", "lineno": 1659, @@ -8247,8 +8249,8 @@ "comment": "", "meta": { "range": [ - 45929, - 45965 + 45931, + 45967 ], "filename": "Guild.js", "lineno": 1660, @@ -8271,8 +8273,8 @@ "comment": "", "meta": { "range": [ - 46076, - 46087 + 46078, + 46089 ], "filename": "Guild.js", "lineno": 1666, @@ -8295,8 +8297,8 @@ "comment": "", "meta": { "range": [ - 46099, - 46114 + 46101, + 46116 ], "filename": "Guild.js", "lineno": 1667, @@ -8319,8 +8321,8 @@ "comment": "", "meta": { "range": [ - 46126, - 46154 + 46128, + 46156 ], "filename": "Guild.js", "lineno": 1668, @@ -8343,8 +8345,8 @@ "comment": "", "meta": { "range": [ - 46166, - 46188 + 46168, + 46190 ], "filename": "Guild.js", "lineno": 1669, @@ -8367,8 +8369,8 @@ "comment": "", "meta": { "range": [ - 46200, - 46255 + 46202, + 46257 ], "filename": "Guild.js", "lineno": 1670, @@ -8391,8 +8393,8 @@ "comment": "", "meta": { "range": [ - 46267, - 46297 + 46269, + 46299 ], "filename": "Guild.js", "lineno": 1671, @@ -8415,8 +8417,8 @@ "comment": "", "meta": { "range": [ - 46309, - 46338 + 46311, + 46340 ], "filename": "Guild.js", "lineno": 1672, @@ -8439,8 +8441,8 @@ "comment": "", "meta": { "range": [ - 46350, - 46380 + 46352, + 46382 ], "filename": "Guild.js", "lineno": 1673, @@ -8463,8 +8465,8 @@ "comment": "", "meta": { "range": [ - 46392, - 46430 + 46394, + 46432 ], "filename": "Guild.js", "lineno": 1674, @@ -8487,8 +8489,8 @@ "comment": "", "meta": { "range": [ - 46442, - 46490 + 46444, + 46492 ], "filename": "Guild.js", "lineno": 1675, @@ -8511,8 +8513,8 @@ "comment": "", "meta": { "range": [ - 46502, - 46554 + 46504, + 46556 ], "filename": "Guild.js", "lineno": 1676, @@ -8535,8 +8537,8 @@ "comment": "", "meta": { "range": [ - 46566, - 46616 + 46568, + 46618 ], "filename": "Guild.js", "lineno": 1677, @@ -8559,8 +8561,8 @@ "comment": "", "meta": { "range": [ - 46628, - 46685 + 46630, + 46687 ], "filename": "Guild.js", "lineno": 1678, @@ -8583,8 +8585,8 @@ "comment": "", "meta": { "range": [ - 46697, - 46757 + 46699, + 46759 ], "filename": "Guild.js", "lineno": 1679, @@ -8607,8 +8609,8 @@ "comment": "", "meta": { "range": [ - 46769, - 46835 + 46771, + 46837 ], "filename": "Guild.js", "lineno": 1680, @@ -8631,8 +8633,8 @@ "comment": "", "meta": { "range": [ - 46847, - 46901 + 46849, + 46903 ], "filename": "Guild.js", "lineno": 1681, @@ -8655,8 +8657,8 @@ "comment": "", "meta": { "range": [ - 46913, - 46958 + 46915, + 46960 ], "filename": "Guild.js", "lineno": 1682, @@ -8679,8 +8681,8 @@ "comment": "", "meta": { "range": [ - 46970, - 46999 + 46972, + 47001 ], "filename": "Guild.js", "lineno": 1683, @@ -8703,8 +8705,8 @@ "comment": "", "meta": { "range": [ - 47011, - 47038 + 47013, + 47040 ], "filename": "Guild.js", "lineno": 1684, @@ -8727,8 +8729,8 @@ "comment": "", "meta": { "range": [ - 47050, - 47086 + 47052, + 47088 ], "filename": "Guild.js", "lineno": 1685, @@ -8751,8 +8753,8 @@ "comment": "", "meta": { "range": [ - 47098, - 47136 + 47100, + 47138 ], "filename": "Guild.js", "lineno": 1686, @@ -8775,8 +8777,8 @@ "comment": "", "meta": { "range": [ - 47148, - 47193 + 47150, + 47195 ], "filename": "Guild.js", "lineno": 1687, @@ -8799,8 +8801,8 @@ "comment": "", "meta": { "range": [ - 47205, - 47237 + 47207, + 47239 ], "filename": "Guild.js", "lineno": 1688, @@ -8823,8 +8825,8 @@ "comment": "", "meta": { "range": [ - 47249, - 47283 + 47251, + 47285 ], "filename": "Guild.js", "lineno": 1689, @@ -8847,8 +8849,8 @@ "comment": "", "meta": { "range": [ - 47295, - 47331 + 47297, + 47333 ], "filename": "Guild.js", "lineno": 1690, @@ -8871,8 +8873,8 @@ "comment": "", "meta": { "range": [ - 47365, - 47386 + 47367, + 47388 ], "filename": "Guild.js", "lineno": 1697, diff --git a/src/structures/compiled/Invite.js.json b/src/structures/compiled/Invite.js.json index b5260fe1..aa42f9b7 100644 --- a/src/structures/compiled/Invite.js.json +++ b/src/structures/compiled/Invite.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 359, - 7904 + 7906 ], "filename": "Invite.js", "lineno": 15, @@ -229,11 +229,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for an invite.\n * @param {Client} client The client instance.\n * @param {Object} data The raw invite data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The id of the guild that the invite belongs to.\n * @param {Boolean?} options.nocache Whether this invite should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/invite#invite-object-invite-structure}\n */", + "comment": "/**\n * Creates the structure for an invite.\n * @param {Client} client The client instance.\n * @param {Object} data The raw invite data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The id of the guild that the invite belongs to.\n * @param {Boolean?} [options.nocache] Whether this invite should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/invite#invite-object-invite-structure}\n */", "meta": { "range": [ - 976, - 3761 + 978, + 3763 ], "filename": "Invite.js", "lineno": 33, @@ -297,6 +297,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this invite should be cached or not.", "name": "options.nocache" @@ -316,7 +317,7 @@ "meta": { "range": [ 359, - 7904 + 7906 ], "filename": "Invite.js", "lineno": 15, @@ -385,6 +386,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this invite should be cached or not.", "name": "options.nocache" @@ -395,8 +397,8 @@ "comment": "", "meta": { "range": [ - 1004, - 1011 + 1006, + 1013 ], "filename": "Invite.js", "lineno": 33, @@ -419,8 +421,8 @@ "comment": "", "meta": { "range": [ - 1013, - 1028 + 1015, + 1030 ], "filename": "Invite.js", "lineno": 33, @@ -443,8 +445,8 @@ "comment": "", "meta": { "range": [ - 1035, - 1049 + 1037, + 1051 ], "filename": "Invite.js", "lineno": 33, @@ -467,8 +469,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1549, - 1571 + 1551, + 1573 ], "filename": "Invite.js", "lineno": 48, @@ -499,8 +501,8 @@ "comment": "/**\n * The id of the guild that this role belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1686, - 1719 + 1688, + 1721 ], "filename": "Invite.js", "lineno": 55, @@ -531,8 +533,8 @@ "comment": "/**\n * The code for the invite.\n * @type {String}\n * @private\n */", "meta": { "range": [ - 1812, - 1835 + 1814, + 1837 ], "filename": "Invite.js", "lineno": 62, @@ -563,8 +565,8 @@ "comment": "", "meta": { "range": [ - 1974, - 2017 + 1976, + 2019 ], "filename": "Invite.js", "lineno": 69, @@ -589,8 +591,8 @@ "comment": "/**\n * The user who created the invite.\n * @type {User?}\n * @private\n */", "meta": { "range": [ - 2151, - 2217 + 2153, + 2219 ], "filename": "Invite.js", "lineno": 77, @@ -622,8 +624,8 @@ "comment": "", "meta": { "range": [ - 2207, - 2214 + 2209, + 2216 ], "filename": "Invite.js", "lineno": 77, @@ -646,8 +648,8 @@ "comment": "/**\n * The number of times the invite has been used.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 2382, - 2404 + 2384, + 2406 ], "filename": "Invite.js", "lineno": 85, @@ -679,8 +681,8 @@ "comment": "/**\n * The UNIX timestamp of when the invite expires.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 2557, - 2621 + 2559, + 2623 ], "filename": "Invite.js", "lineno": 93, @@ -712,8 +714,8 @@ "comment": "", "meta": { "range": [ - 2675, - 2710 + 2677, + 2712 ], "filename": "Invite.js", "lineno": 95, @@ -738,8 +740,8 @@ "comment": "", "meta": { "range": [ - 2828, - 2917 + 2830, + 2919 ], "filename": "Invite.js", "lineno": 101, @@ -764,8 +766,8 @@ "comment": "/**\n * The maximum number of uses allowed for the invite.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 3091, - 3121 + 3093, + 3123 ], "filename": "Invite.js", "lineno": 110, @@ -797,8 +799,8 @@ "comment": "", "meta": { "range": [ - 3134, - 3240 + 3136, + 3242 ], "filename": "Invite.js", "lineno": 112, @@ -823,8 +825,8 @@ "comment": "", "meta": { "range": [ - 3253, - 3342 + 3255, + 3344 ], "filename": "Invite.js", "lineno": 117, @@ -849,8 +851,8 @@ "comment": "/**\n * The id of the channel the invite is directed to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3879, - 3938 + 3881, + 3940 ], "filename": "Invite.js", "lineno": 140, @@ -885,8 +887,8 @@ "comment": "/**\n * The channel the invite is directed to.\n * @type {(TextChannel | VoiceChannel)?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4069, - 4148 + 4071, + 4150 ], "filename": "Invite.js", "lineno": 150, @@ -923,8 +925,8 @@ "comment": "/**\n * The code of the invite.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4241, - 4277 + 4243, + 4279 ], "filename": "Invite.js", "lineno": 160, @@ -959,8 +961,8 @@ "comment": "/**\n * The code of the invite.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4370, - 4410 + 4372, + 4412 ], "filename": "Invite.js", "lineno": 170, @@ -995,8 +997,8 @@ "comment": "/**\n * The id of the guild that this invite belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4528, - 4583 + 4530, + 4585 ], "filename": "Invite.js", "lineno": 180, @@ -1031,8 +1033,8 @@ "comment": "/**\n * The guild that this role belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4689, - 4765 + 4691, + 4767 ], "filename": "Invite.js", "lineno": 190, @@ -1068,8 +1070,8 @@ "comment": "/**\n * The number of times the invite has been used.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4881, - 4920 + 4883, + 4922 ], "filename": "Invite.js", "lineno": 200, @@ -1105,8 +1107,8 @@ "comment": "/**\n * The UNIX timestamp of when the invite expires.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5037, - 5082 + 5039, + 5084 ], "filename": "Invite.js", "lineno": 210, @@ -1142,8 +1144,8 @@ "comment": "/**\n * The user who created the invite.\n * @type {User?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5183, - 5228 + 5185, + 5230 ], "filename": "Invite.js", "lineno": 220, @@ -1179,8 +1181,8 @@ "comment": "/**\n * The URL of the invite.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5320, - 5372 + 5322, + 5374 ], "filename": "Invite.js", "lineno": 230, @@ -1215,8 +1217,8 @@ "comment": "/**\n * The maximum number of uses allowed for the invite.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5493, - 5539 + 5495, + 5541 ], "filename": "Invite.js", "lineno": 240, @@ -1252,8 +1254,8 @@ "comment": "/**\n * Returns the URL of the invite.\n * @param {String} code The code of the invite.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 5703, - 5860 + 5705, + 5862 ], "filename": "Invite.js", "lineno": 252, @@ -1303,8 +1305,8 @@ "comment": "/**\n * Determines whether the invite should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @param {GuildCacheOptions} guildCacheOptions The cache options for the guild.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 6159, - 6691 + 6161, + 6693 ], "filename": "Invite.js", "lineno": 267, @@ -1364,8 +1366,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 6733, - 6786 + 6735, + 6788 ], "filename": "Invite.js", "lineno": 285, @@ -1393,8 +1395,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 6828, - 6885 + 6830, + 6887 ], "filename": "Invite.js", "lineno": 293, @@ -1422,8 +1424,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 7070, - 7902 + 7072, + 7904 ], "filename": "Invite.js", "lineno": 304, @@ -1474,8 +1476,8 @@ "comment": "", "meta": { "range": [ - 7228, - 7243 + 7230, + 7245 ], "filename": "Invite.js", "lineno": 309, @@ -1498,8 +1500,8 @@ "comment": "", "meta": { "range": [ - 7255, - 7292 + 7257, + 7294 ], "filename": "Invite.js", "lineno": 310, @@ -1522,8 +1524,8 @@ "comment": "", "meta": { "range": [ - 7304, - 7341 + 7306, + 7343 ], "filename": "Invite.js", "lineno": 311, @@ -1546,8 +1548,8 @@ "comment": "", "meta": { "range": [ - 7353, - 7368 + 7355, + 7370 ], "filename": "Invite.js", "lineno": 312, @@ -1570,8 +1572,8 @@ "comment": "", "meta": { "range": [ - 7380, - 7435 + 7382, + 7437 ], "filename": "Invite.js", "lineno": 313, @@ -1594,8 +1596,8 @@ "comment": "", "meta": { "range": [ - 7447, - 7469 + 7449, + 7471 ], "filename": "Invite.js", "lineno": 314, @@ -1618,8 +1620,8 @@ "comment": "", "meta": { "range": [ - 7580, - 7595 + 7582, + 7597 ], "filename": "Invite.js", "lineno": 320, @@ -1642,8 +1644,8 @@ "comment": "", "meta": { "range": [ - 7607, - 7644 + 7609, + 7646 ], "filename": "Invite.js", "lineno": 321, @@ -1666,8 +1668,8 @@ "comment": "", "meta": { "range": [ - 7656, - 7693 + 7658, + 7695 ], "filename": "Invite.js", "lineno": 322, @@ -1690,8 +1692,8 @@ "comment": "", "meta": { "range": [ - 7705, - 7720 + 7707, + 7722 ], "filename": "Invite.js", "lineno": 323, @@ -1714,8 +1716,8 @@ "comment": "", "meta": { "range": [ - 7732, - 7838 + 7734, + 7840 ], "filename": "Invite.js", "lineno": 324, @@ -1738,8 +1740,8 @@ "comment": "", "meta": { "range": [ - 7850, - 7872 + 7852, + 7874 ], "filename": "Invite.js", "lineno": 327, @@ -1762,8 +1764,8 @@ "comment": "", "meta": { "range": [ - 7906, - 7928 + 7908, + 7930 ], "filename": "Invite.js", "lineno": 334, diff --git a/src/structures/compiled/Member.js.json b/src/structures/compiled/Member.js.json index 1e829e06..75dfbc62 100644 --- a/src/structures/compiled/Member.js.json +++ b/src/structures/compiled/Member.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 932, - 23761 + 23765 ], "filename": "Member.js", "lineno": 25, @@ -307,11 +307,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a guild member.\n * @param {Client} client The client instance.\n * @param {Object} data The raw member data from Discord.\n * @param {Object} options Additional options for the member.\n * @param {String} options.userId The id of the member.\n * @param {String} options.guildId The id of the guild that the member belongs to.\n * @param {User?} options.user A user object for this member.\n * @param {Boolean?} options.nocache Whether this member should be cached.\n */", + "comment": "/**\n * Creates the structure for a guild member.\n * @param {Client} client The client instance.\n * @param {Object} data The raw member data from Discord.\n * @param {Object} options Additional options for the member.\n * @param {String} options.userId The id of the member.\n * @param {String} options.guildId The id of the guild that the member belongs to.\n * @param {User?} [options.user] A user object for this member.\n * @param {Boolean?} [options.nocache] Whether this member should be cached.\n */", "meta": { "range": [ - 1613, - 6226 + 1617, + 6230 ], "filename": "Member.js", "lineno": 47, @@ -384,6 +384,7 @@ "User" ] }, + "optional": true, "nullable": true, "description": "A user object for this member.", "name": "options.user" @@ -394,6 +395,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this member should be cached.", "name": "options.nocache" @@ -410,7 +412,7 @@ "meta": { "range": [ 932, - 23761 + 23765 ], "filename": "Member.js", "lineno": 25, @@ -488,6 +490,7 @@ "User" ] }, + "optional": true, "nullable": true, "description": "A user object for this member.", "name": "options.user" @@ -498,6 +501,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this member should be cached.", "name": "options.nocache" @@ -508,8 +512,8 @@ "comment": "", "meta": { "range": [ - 1654, - 1660 + 1658, + 1664 ], "filename": "Member.js", "lineno": 50, @@ -532,8 +536,8 @@ "comment": "", "meta": { "range": [ - 1662, - 1669 + 1666, + 1673 ], "filename": "Member.js", "lineno": 50, @@ -556,8 +560,8 @@ "comment": "", "meta": { "range": [ - 1671, - 1675 + 1675, + 1679 ], "filename": "Member.js", "lineno": 50, @@ -580,8 +584,8 @@ "comment": "", "meta": { "range": [ - 1677, - 1692 + 1681, + 1696 ], "filename": "Member.js", "lineno": 50, @@ -604,8 +608,8 @@ "comment": "", "meta": { "range": [ - 1705, - 1719 + 1709, + 1723 ], "filename": "Member.js", "lineno": 51, @@ -628,8 +632,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 2451, - 2473 + 2455, + 2477 ], "filename": "Member.js", "lineno": 72, @@ -660,8 +664,8 @@ "comment": "/**\n * The id of the guild that this member belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 2590, - 2623 + 2594, + 2627 ], "filename": "Member.js", "lineno": 79, @@ -692,8 +696,8 @@ "comment": "", "meta": { "range": [ - 2636, - 2686 + 2640, + 2690 ], "filename": "Member.js", "lineno": 81, @@ -718,8 +722,8 @@ "comment": "/**\n * The id of the member.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 2776, - 2802 + 2780, + 2806 ], "filename": "Member.js", "lineno": 88, @@ -750,8 +754,8 @@ "comment": "/**\n * The user object for this member.\n * @type {User?}\n * @private\n */", "meta": { "range": [ - 2933, - 2993 + 2937, + 2997 ], "filename": "Member.js", "lineno": 96, @@ -783,8 +787,8 @@ "comment": "", "meta": { "range": [ - 2983, - 2990 + 2987, + 2994 ], "filename": "Member.js", "lineno": 96, @@ -807,8 +811,8 @@ "comment": "", "meta": { "range": [ - 3024, - 3050 + 3028, + 3054 ], "filename": "Member.js", "lineno": 97, @@ -833,8 +837,8 @@ "comment": "", "meta": { "range": [ - 3071, - 3088 + 3075, + 3092 ], "filename": "Member.js", "lineno": 98, @@ -859,8 +863,8 @@ "comment": "", "meta": { "range": [ - 3099, - 3151 + 3103, + 3155 ], "filename": "Member.js", "lineno": 99, @@ -885,8 +889,8 @@ "comment": "/**\n * The nickname of this member.\n * @type {String?}\n * @private\n */", "meta": { "range": [ - 3294, - 3316 + 3298, + 3320 ], "filename": "Member.js", "lineno": 107, @@ -918,8 +922,8 @@ "comment": "", "meta": { "range": [ - 3399, - 3425 + 3403, + 3429 ], "filename": "Member.js", "lineno": 109, @@ -944,8 +948,8 @@ "comment": "/**\n * The UNIX timestamp for when this member joined the guild.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 3588, - 3653 + 3592, + 3657 ], "filename": "Member.js", "lineno": 117, @@ -977,8 +981,8 @@ "comment": "", "meta": { "range": [ - 3688, - 3723 + 3692, + 3727 ], "filename": "Member.js", "lineno": 118, @@ -1003,8 +1007,8 @@ "comment": "/**\n * The UNIX timestamp for when this member's timeout expires, if applicable.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 3866, - 4024 + 3870, + 4028 ], "filename": "Member.js", "lineno": 125, @@ -1036,8 +1040,8 @@ "comment": "/**\n * The flags for this user.\n * @type {Number}\n * @private\n * @see {@link https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-flags}\n */", "meta": { "range": [ - 4281, - 4305 + 4285, + 4309 ], "filename": "Member.js", "lineno": 136, @@ -1071,8 +1075,8 @@ "comment": "", "meta": { "range": [ - 4373, - 4401 + 4377, + 4405 ], "filename": "Member.js", "lineno": 138, @@ -1097,8 +1101,8 @@ "comment": "", "meta": { "range": [ - 4412, - 4427 + 4416, + 4431 ], "filename": "Member.js", "lineno": 139, @@ -1123,8 +1127,8 @@ "comment": "/**\n * The attributes for this member.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 4527, - 4568 + 4531, + 4572 ], "filename": "Member.js", "lineno": 146, @@ -1155,8 +1159,8 @@ "comment": "", "meta": { "range": [ - 4637, - 4666 + 4641, + 4670 ], "filename": "Member.js", "lineno": 149, @@ -1181,8 +1185,8 @@ "comment": "", "meta": { "range": [ - 4755, - 4784 + 4759, + 4788 ], "filename": "Member.js", "lineno": 151, @@ -1207,8 +1211,8 @@ "comment": "", "meta": { "range": [ - 4854, - 4883 + 4858, + 4887 ], "filename": "Member.js", "lineno": 154, @@ -1233,8 +1237,8 @@ "comment": "", "meta": { "range": [ - 5022, - 5119 + 5026, + 5123 ], "filename": "Member.js", "lineno": 162, @@ -1259,8 +1263,8 @@ "comment": "", "meta": { "range": [ - 5199, - 5231 + 5203, + 5235 ], "filename": "Member.js", "lineno": 166, @@ -1285,8 +1289,8 @@ "comment": "", "meta": { "range": [ - 5471, - 5488 + 5475, + 5492 ], "filename": "Member.js", "lineno": 178, @@ -1311,8 +1315,8 @@ "comment": "", "meta": { "range": [ - 5505, - 5510 + 5509, + 5514 ], "filename": "Member.js", "lineno": 179, @@ -1337,8 +1341,8 @@ "comment": "", "meta": { "range": [ - 5637, - 5687 + 5641, + 5691 ], "filename": "Member.js", "lineno": 183, @@ -1363,8 +1367,8 @@ "comment": "", "meta": { "range": [ - 5700, - 5806 + 5704, + 5810 ], "filename": "Member.js", "lineno": 185, @@ -1389,8 +1393,8 @@ "comment": "/**\n * The id of the member.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6317, - 6361 + 6321, + 6365 ], "filename": "Member.js", "lineno": 210, @@ -1425,8 +1429,8 @@ "comment": "/**\n * The id of the guild that this member belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6479, - 6534 + 6483, + 6538 ], "filename": "Member.js", "lineno": 220, @@ -1461,8 +1465,8 @@ "comment": "/**\n * The guild that this member belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6642, - 6718 + 6646, + 6722 ], "filename": "Member.js", "lineno": 230, @@ -1498,8 +1502,8 @@ "comment": "/**\n * The nickname of the member.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6816, - 6855 + 6820, + 6859 ], "filename": "Member.js", "lineno": 240, @@ -1535,8 +1539,8 @@ "comment": "/**\n * The UNIX timestamp for when this member joined the guild.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6983, - 7031 + 6987, + 7035 ], "filename": "Member.js", "lineno": 250, @@ -1572,8 +1576,8 @@ "comment": "/**\n * The UNIX timestamp for when this member's timeout expires, if applicable.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7175, - 7246 + 7179, + 7250 ], "filename": "Member.js", "lineno": 260, @@ -1609,8 +1613,8 @@ "comment": "/**\n * The flags for this user.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7340, - 7381 + 7344, + 7385 ], "filename": "Member.js", "lineno": 270, @@ -1645,8 +1649,8 @@ "comment": "/**\n * The member's roles.\n * @readonly\n * @type {Array}\n * @public\n */", "meta": { "range": [ - 7475, - 7991 + 7479, + 7995 ], "filename": "Member.js", "lineno": 280, @@ -1681,8 +1685,8 @@ "comment": "", "meta": { "range": [ - 7647, - 7657 + 7651, + 7661 ], "filename": "Member.js", "lineno": 289, @@ -1707,8 +1711,8 @@ "comment": "", "meta": { "range": [ - 7670, - 7719 + 7674, + 7723 ], "filename": "Member.js", "lineno": 291, @@ -1733,8 +1737,8 @@ "comment": "", "meta": { "range": [ - 7821, - 7826 + 7825, + 7830 ], "filename": "Member.js", "lineno": 296, @@ -1759,8 +1763,8 @@ "comment": "", "meta": { "range": [ - 7872, - 7927 + 7876, + 7931 ], "filename": "Member.js", "lineno": 297, @@ -1785,8 +1789,8 @@ "comment": "/**\n * The position of the member's highest role.\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 8103, - 8359 + 8107, + 8363 ], "filename": "Member.js", "lineno": 310, @@ -1821,8 +1825,8 @@ "comment": "", "meta": { "range": [ - 8139, - 8158 + 8143, + 8162 ], "filename": "Member.js", "lineno": 311, @@ -1847,8 +1851,8 @@ "comment": "", "meta": { "range": [ - 8171, - 8189 + 8175, + 8193 ], "filename": "Member.js", "lineno": 313, @@ -1873,8 +1877,8 @@ "comment": "", "meta": { "range": [ - 8205, - 8210 + 8209, + 8214 ], "filename": "Member.js", "lineno": 315, @@ -1899,8 +1903,8 @@ "comment": "", "meta": { "range": [ - 8290, - 8325 + 8294, + 8329 ], "filename": "Member.js", "lineno": 317, @@ -1926,8 +1930,8 @@ "comment": "/**\n * The overall calculated permissions for this member.\n * @readonly\n * @type {BigInt}\n * @public\n */", "meta": { "range": [ - 8480, - 8624 + 8484, + 8628 ], "filename": "Member.js", "lineno": 328, @@ -1962,8 +1966,8 @@ "comment": "/**\n * Whether the member has joined the guild before.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 8742, - 8841 + 8746, + 8845 ], "filename": "Member.js", "lineno": 340, @@ -1998,8 +2002,8 @@ "comment": "/**\n * The user object for this member.\n * @type {User}\n * @readonly\n * @public\n */", "meta": { "range": [ - 8941, - 8980 + 8945, + 8984 ], "filename": "Member.js", "lineno": 350, @@ -2034,8 +2038,8 @@ "comment": "/**\n * The hash of the member's avatar, as it was received from Discord.\n * @readonly\n * @type {String?}\n * @public\n */", "meta": { "range": [ - 9116, - 9305 + 9120, + 9309 ], "filename": "Member.js", "lineno": 360, @@ -2071,8 +2075,8 @@ "comment": "", "meta": { "range": [ - 9496, - 9538 + 9500, + 9542 ], "filename": "Member.js", "lineno": 376, @@ -2097,8 +2101,8 @@ "comment": "", "meta": { "range": [ - 9627, - 9662 + 9631, + 9666 ], "filename": "Member.js", "lineno": 380, @@ -2124,8 +2128,8 @@ "comment": "/**\n * The url of the member's avatar.\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 9795, - 9954 + 9799, + 9958 ], "filename": "Member.js", "lineno": 391, @@ -2160,8 +2164,8 @@ "comment": "/**\n * The url of the member's avatar without falling back to the user's avatar.\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 10097, - 10216 + 10101, + 10220 ], "filename": "Member.js", "lineno": 404, @@ -2196,8 +2200,8 @@ "comment": "/**\n * Whether the user has not yet passed the guild's membership screening requirements.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 10369, - 10445 + 10373, + 10449 ], "filename": "Member.js", "lineno": 414, @@ -2232,8 +2236,8 @@ "comment": "/**\n * Whether the user has an animated avatar or not.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 10563, - 10648 + 10567, + 10652 ], "filename": "Member.js", "lineno": 424, @@ -2268,8 +2272,8 @@ "comment": "/**\n * The mention string for the member.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 10752, - 10810 + 10756, + 10814 ], "filename": "Member.js", "lineno": 434, @@ -2304,8 +2308,8 @@ "comment": "/**\n * The hash name for the member.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 10909, - 10983 + 10913, + 10987 ], "filename": "Member.js", "lineno": 444, @@ -2340,8 +2344,8 @@ "comment": "/**\n * Returns the mention string for the member.\n * @param {String} userId The id of the user to mention.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 11168, - 11325 + 11172, + 11329 ], "filename": "Member.js", "lineno": 456, @@ -2391,8 +2395,8 @@ "comment": "/**\n * Returns the avatar url for the member.\n * @param {String} id The id of the user.\n * @param {String} guild_id The id of the guild the user belongs to.\n * @param {String?} [hash] The avatar hash of the user.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 11620, - 12141 + 11624, + 12145 ], "filename": "Member.js", "lineno": 472, @@ -2464,8 +2468,8 @@ "comment": "/**\n * Adds a role to the member.\n * @param {String} role_id The id of the role to add to the member.\n * @param {Object?} [options] The options for adding the role to the member.\n * @param {String?} [options.reason] The reason for adding the role to the member.\n * @returns {Promise}\n * @public\n * @async\n * @method\n * @throws {TypeError | Error}\n */", "meta": { "range": [ - 12524, - 12665 + 12528, + 12669 ], "filename": "Member.js", "lineno": 497, @@ -2549,8 +2553,8 @@ "comment": "", "meta": { "range": [ - 12549, - 12555 + 12553, + 12559 ], "filename": "Member.js", "lineno": 497, @@ -2573,8 +2577,8 @@ "comment": "", "meta": { "range": [ - 12646, - 12652 + 12650, + 12656 ], "filename": "Member.js", "lineno": 499, @@ -2597,8 +2601,8 @@ "comment": "/**\n * Removes a role from the member.\n * @param {String} role_id The id of the role to remove from the member.\n * @param {Object?} [options] The options for removing the role from the member.\n * @param {String?} [options.reason] The reason for removing the role from the member.\n * @returns {Promise}\n * @public\n * @async\n * @method\n * @throws {TypeError | Error}\n */", "meta": { "range": [ - 13066, - 13213 + 13070, + 13217 ], "filename": "Member.js", "lineno": 514, @@ -2682,8 +2686,8 @@ "comment": "", "meta": { "range": [ - 13094, - 13100 + 13098, + 13104 ], "filename": "Member.js", "lineno": 514, @@ -2706,8 +2710,8 @@ "comment": "", "meta": { "range": [ - 13194, - 13200 + 13198, + 13204 ], "filename": "Member.js", "lineno": 516, @@ -2730,8 +2734,8 @@ "comment": "/**\n * Adds a timeout to the member.\n * @param {Number} timeout_until The UNIX timestamp for when the member's timeout should end.\n * @param {Object?} [options] The options for timing out the member.\n * @param {String?} [options.reason] The reason for timing out the member.\n * @returns {Promise}\n * @public\n * @async\n * @method\n * @throws {TypeError | Error}\n */", "meta": { "range": [ - 13609, - 14408 + 13613, + 14412 ], "filename": "Member.js", "lineno": 531, @@ -2815,8 +2819,8 @@ "comment": "", "meta": { "range": [ - 13643, - 13649 + 13647, + 13653 ], "filename": "Member.js", "lineno": 531, @@ -2839,8 +2843,8 @@ "comment": "", "meta": { "range": [ - 14118, - 14127 + 14122, + 14131 ], "filename": "Member.js", "lineno": 546, @@ -2865,8 +2869,8 @@ "comment": "", "meta": { "range": [ - 14146, - 14181 + 14150, + 14185 ], "filename": "Member.js", "lineno": 548, @@ -2892,8 +2896,8 @@ "comment": "", "meta": { "range": [ - 14188, - 14281 + 14192, + 14285 ], "filename": "Member.js", "lineno": 550, @@ -2919,8 +2923,8 @@ "comment": "/**\n * Removes a timeout from the member.\n * @param {Object?} [options] The options for untiming out the member.\n * @param {String?} [options.reason] The reason for removing the time out from the member.\n * @returns {Promise}\n * @public\n * @async\n * @method\n * @throws {TypeError | Error}\n */", "meta": { "range": [ - 14731, - 15344 + 14735, + 15348 ], "filename": "Member.js", "lineno": 571, @@ -2994,8 +2998,8 @@ "comment": "", "meta": { "range": [ - 14753, - 14759 + 14757, + 14763 ], "filename": "Member.js", "lineno": 571, @@ -3018,8 +3022,8 @@ "comment": "", "meta": { "range": [ - 15107, - 15116 + 15111, + 15120 ], "filename": "Member.js", "lineno": 583, @@ -3044,8 +3048,8 @@ "comment": "", "meta": { "range": [ - 15135, - 15170 + 15139, + 15174 ], "filename": "Member.js", "lineno": 585, @@ -3071,8 +3075,8 @@ "comment": "", "meta": { "range": [ - 15177, - 15217 + 15181, + 15221 ], "filename": "Member.js", "lineno": 587, @@ -3098,8 +3102,8 @@ "comment": "/**\n * Updates the member's roles.\n * @param {Array} roles An array of role ids for the roles the member should be updated with.\n * @param {Object?} [options] The options for updating the member's roles.\n * @param {String?} [options.reason] The reason for updating the member's roles.\n * @returns {Promise}\n * @public\n * @async\n * @method\n * @throws {TypeError | Error}\n */", "meta": { "range": [ - 15758, - 16556 + 15762, + 16560 ], "filename": "Member.js", "lineno": 607, @@ -3183,8 +3187,8 @@ "comment": "", "meta": { "range": [ - 15789, - 15795 + 15793, + 15799 ], "filename": "Member.js", "lineno": 607, @@ -3207,8 +3211,8 @@ "comment": "", "meta": { "range": [ - 16310, - 16319 + 16314, + 16323 ], "filename": "Member.js", "lineno": 625, @@ -3233,8 +3237,8 @@ "comment": "", "meta": { "range": [ - 16338, - 16373 + 16342, + 16377 ], "filename": "Member.js", "lineno": 627, @@ -3260,8 +3264,8 @@ "comment": "", "meta": { "range": [ - 16380, - 16429 + 16384, + 16433 ], "filename": "Member.js", "lineno": 629, @@ -3287,8 +3291,8 @@ "comment": "/**\n * Determines whether the member should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @param {GuildCacheOptions} guildCacheOptions The cache options for the guild.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 16855, - 17387 + 16859, + 17391 ], "filename": "Member.js", "lineno": 647, @@ -3348,8 +3352,8 @@ "comment": "/**\n * Returns the hash name for the message.\n * @param {String} guildId The id of the guild that the message belongs to.\n * @param {String} memberId The id of the member.\n * @returns {String}\n */", "meta": { "range": [ - 17600, - 17896 + 17604, + 17900 ], "filename": "Member.js", "lineno": 667, @@ -3408,8 +3412,8 @@ "comment": "/**\n * Decrypts a member.\n * @param {Client} client The client instance.\n * @param {String} data The encrypted message data.\n * @param {String} guildId The id of the guild that the message belongs to.\n * @param {String} userId The id of the member.\n * @returns {Member}\n */", "meta": { "range": [ - 18190, - 18770 + 18194, + 18774 ], "filename": "Member.js", "lineno": 683, @@ -3488,8 +3492,8 @@ "comment": "", "meta": { "range": [ - 18719, - 18733 + 18723, + 18737 ], "filename": "Member.js", "lineno": 693, @@ -3512,8 +3516,8 @@ "comment": "", "meta": { "range": [ - 18741, - 18757 + 18745, + 18761 ], "filename": "Member.js", "lineno": 694, @@ -3536,8 +3540,8 @@ "comment": "/**\n * Adds a role to a member.\n * @param {Client} client The client instance.\n * @param {String} guildId The guild id the member belongs to.\n * @param {String} userId The id of the member who the action is occuring on.\n * @param {String} roleId The id of the role to add.\n * @param {Object} [options] The options for adding the role.\n * @param {String?} [options.reason] The reason for adding the role.\n * @returns {Promise}\n * @public\n * @method\n * @async\n * @throws {TypeError}\n */", "meta": { "range": [ - 19293, - 20208 + 19297, + 20212 ], "filename": "Member.js", "lineno": 712, @@ -3649,8 +3653,8 @@ "comment": "", "meta": { "range": [ - 19349, - 19355 + 19353, + 19359 ], "filename": "Member.js", "lineno": 712, @@ -3673,8 +3677,8 @@ "comment": "", "meta": { "range": [ - 20018, - 20027 + 20022, + 20031 ], "filename": "Member.js", "lineno": 730, @@ -3699,8 +3703,8 @@ "comment": "", "meta": { "range": [ - 20046, - 20081 + 20050, + 20085 ], "filename": "Member.js", "lineno": 732, @@ -3726,8 +3730,8 @@ "comment": "/**\n * Removes a role from a member.\n * @param {Client} client The client instance.\n * @param {String} guildId The guild id the member belongs to.\n * @param {String} userId The id of the member who the action is occuring on.\n * @param {String} roleId The id of the role to remove.\n * @param {Object} [options] The options for removing the role.\n * @param {String?} [options.reason] The reason for removing the role.\n * @returns {Promise}\n * @public\n * @method\n * @async\n * @throws {TypeError}\n */", "meta": { "range": [ - 20743, - 21662 + 20747, + 21666 ], "filename": "Member.js", "lineno": 755, @@ -3839,8 +3843,8 @@ "comment": "", "meta": { "range": [ - 20802, - 20808 + 20806, + 20812 ], "filename": "Member.js", "lineno": 755, @@ -3863,8 +3867,8 @@ "comment": "", "meta": { "range": [ - 21471, - 21480 + 21475, + 21484 ], "filename": "Member.js", "lineno": 773, @@ -3889,8 +3893,8 @@ "comment": "", "meta": { "range": [ - 21499, - 21534 + 21503, + 21538 ], "filename": "Member.js", "lineno": 775, @@ -3916,8 +3920,8 @@ "comment": "/**\n * Encrypts the member.\n * @returns {String}\n * @public\n * @method\n */", "meta": { "range": [ - 21753, - 21826 + 21757, + 21830 ], "filename": "Member.js", "lineno": 790, @@ -3955,8 +3959,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 21868, - 21919 + 21872, + 21923 ], "filename": "Member.js", "lineno": 798, @@ -3984,8 +3988,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 21961, - 22018 + 21965, + 22022 ], "filename": "Member.js", "lineno": 806, @@ -4013,8 +4017,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 22203, - 23759 + 22207, + 23763 ], "filename": "Member.js", "lineno": 817, @@ -4065,8 +4069,8 @@ "comment": "", "meta": { "range": [ - 22361, - 22391 + 22365, + 22395 ], "filename": "Member.js", "lineno": 822, @@ -4089,8 +4093,8 @@ "comment": "", "meta": { "range": [ - 22403, - 22418 + 22407, + 22422 ], "filename": "Member.js", "lineno": 823, @@ -4113,8 +4117,8 @@ "comment": "", "meta": { "range": [ - 22430, - 22489 + 22434, + 22493 ], "filename": "Member.js", "lineno": 824, @@ -4137,8 +4141,8 @@ "comment": "", "meta": { "range": [ - 22501, - 22533 + 22505, + 22537 ], "filename": "Member.js", "lineno": 825, @@ -4161,8 +4165,8 @@ "comment": "", "meta": { "range": [ - 22545, - 22582 + 22549, + 22586 ], "filename": "Member.js", "lineno": 826, @@ -4185,8 +4189,8 @@ "comment": "", "meta": { "range": [ - 22594, - 22777 + 22598, + 22781 ], "filename": "Member.js", "lineno": 827, @@ -4209,8 +4213,8 @@ "comment": "", "meta": { "range": [ - 22789, - 22899 + 22793, + 22903 ], "filename": "Member.js", "lineno": 832, @@ -4233,8 +4237,8 @@ "comment": "", "meta": { "range": [ - 22911, - 22928 + 22915, + 22932 ], "filename": "Member.js", "lineno": 835, @@ -4257,8 +4261,8 @@ "comment": "", "meta": { "range": [ - 22940, - 22970 + 22944, + 22974 ], "filename": "Member.js", "lineno": 836, @@ -4281,8 +4285,8 @@ "comment": "", "meta": { "range": [ - 23081, - 23111 + 23085, + 23115 ], "filename": "Member.js", "lineno": 842, @@ -4305,8 +4309,8 @@ "comment": "", "meta": { "range": [ - 23123, - 23138 + 23127, + 23142 ], "filename": "Member.js", "lineno": 843, @@ -4329,8 +4333,8 @@ "comment": "", "meta": { "range": [ - 23150, - 23257 + 23154, + 23261 ], "filename": "Member.js", "lineno": 844, @@ -4353,8 +4357,8 @@ "comment": "", "meta": { "range": [ - 23269, - 23301 + 23273, + 23305 ], "filename": "Member.js", "lineno": 847, @@ -4377,8 +4381,8 @@ "comment": "", "meta": { "range": [ - 23313, - 23350 + 23317, + 23354 ], "filename": "Member.js", "lineno": 848, @@ -4401,8 +4405,8 @@ "comment": "", "meta": { "range": [ - 23362, - 23545 + 23366, + 23549 ], "filename": "Member.js", "lineno": 849, @@ -4425,8 +4429,8 @@ "comment": "", "meta": { "range": [ - 23557, - 23667 + 23561, + 23671 ], "filename": "Member.js", "lineno": 854, @@ -4449,8 +4453,8 @@ "comment": "", "meta": { "range": [ - 23679, - 23696 + 23683, + 23700 ], "filename": "Member.js", "lineno": 857, @@ -4473,8 +4477,8 @@ "comment": "", "meta": { "range": [ - 23708, - 23729 + 23712, + 23733 ], "filename": "Member.js", "lineno": 858, @@ -4497,8 +4501,8 @@ "comment": "", "meta": { "range": [ - 23763, - 23785 + 23767, + 23789 ], "filename": "Member.js", "lineno": 865, diff --git a/src/structures/compiled/Message.js.json b/src/structures/compiled/Message.js.json index 8854ae9f..6440a588 100644 --- a/src/structures/compiled/Message.js.json +++ b/src/structures/compiled/Message.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 1352, - 40032 + 40036 ], "filename": "Message.js", "lineno": 34, @@ -504,11 +504,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a message.\n * @param {Client} client The client instance.\n * @param {Object} data Message data returned from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.channelId The id of the channel that the message belongs to.\n * @param {String} options.guildId The id of the guild that the channel belongs to.\n * @param {Boolean?} options.nocache Whether this message should be cached or not.\n * @param {Boolean?} options.ignoreExisting Whether to ignore existing messages in the cache.\n * @see {@link https://discord.com/developers/docs/resources/channel#message-object}\n */", + "comment": "/**\n * Creates the structure for a message.\n * @param {Client} client The client instance.\n * @param {Object} data Message data returned from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.channelId The id of the channel that the message belongs to.\n * @param {String} options.guildId The id of the guild that the channel belongs to.\n * @param {Boolean?} [options.nocache] Whether this message should be cached or not.\n * @param {Boolean?} [options.ignoreExisting] Whether to ignore existing messages in the cache.\n * @see {@link https://discord.com/developers/docs/resources/channel#message-object}\n */", "meta": { "range": [ - 2306, - 12914 + 2310, + 12918 ], "filename": "Message.js", "lineno": 65, @@ -581,6 +581,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this message should be cached or not.", "name": "options.nocache" @@ -591,6 +592,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether to ignore existing messages in the cache.", "name": "options.ignoreExisting" @@ -610,7 +612,7 @@ "meta": { "range": [ 1352, - 40032 + 40036 ], "filename": "Message.js", "lineno": 34, @@ -688,6 +690,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this message should be cached or not.", "name": "options.nocache" @@ -698,6 +701,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether to ignore existing messages in the cache.", "name": "options.ignoreExisting" @@ -708,8 +712,8 @@ "comment": "", "meta": { "range": [ - 2347, - 2356 + 2351, + 2360 ], "filename": "Message.js", "lineno": 68, @@ -732,8 +736,8 @@ "comment": "", "meta": { "range": [ - 2358, - 2365 + 2362, + 2369 ], "filename": "Message.js", "lineno": 68, @@ -756,8 +760,8 @@ "comment": "", "meta": { "range": [ - 2367, - 2382 + 2371, + 2386 ], "filename": "Message.js", "lineno": 68, @@ -780,8 +784,8 @@ "comment": "", "meta": { "range": [ - 2384, - 2406 + 2388, + 2410 ], "filename": "Message.js", "lineno": 68, @@ -804,8 +808,8 @@ "comment": "", "meta": { "range": [ - 2419, - 2433 + 2423, + 2437 ], "filename": "Message.js", "lineno": 69, @@ -828,8 +832,8 @@ "comment": "", "meta": { "range": [ - 2441, - 2462 + 2445, + 2466 ], "filename": "Message.js", "lineno": 70, @@ -852,8 +856,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 3191, - 3213 + 3195, + 3217 ], "filename": "Message.js", "lineno": 91, @@ -884,8 +888,8 @@ "comment": "/**\n * The id of the guild that this message belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 3331, - 3364 + 3335, + 3368 ], "filename": "Message.js", "lineno": 98, @@ -916,8 +920,8 @@ "comment": "/**\n * The id of the channel that this message belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 3484, - 3521 + 3488, + 3525 ], "filename": "Message.js", "lineno": 105, @@ -948,8 +952,8 @@ "comment": "", "meta": { "range": [ - 3534, - 3642 + 3538, + 3646 ], "filename": "Message.js", "lineno": 107, @@ -974,8 +978,8 @@ "comment": "/**\n * The id of the message.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 3733, - 3760 + 3737, + 3764 ], "filename": "Message.js", "lineno": 117, @@ -1006,8 +1010,8 @@ "comment": "", "meta": { "range": [ - 3915, - 4002 + 3919, + 4006 ], "filename": "Message.js", "lineno": 125, @@ -1032,8 +1036,8 @@ "comment": "", "meta": { "range": [ - 4050, - 4099 + 4054, + 4103 ], "filename": "Message.js", "lineno": 128, @@ -1058,8 +1062,8 @@ "comment": "/**\n * The message author.\n * @type {User}\n * @private\n */", "meta": { "range": [ - 4369, - 4502 + 4373, + 4506 ], "filename": "Message.js", "lineno": 138, @@ -1090,8 +1094,8 @@ "comment": "", "meta": { "range": [ - 4431, - 4467 + 4435, + 4471 ], "filename": "Message.js", "lineno": 139, @@ -1114,8 +1118,8 @@ "comment": "", "meta": { "range": [ - 4477, - 4492 + 4481, + 4496 ], "filename": "Message.js", "lineno": 140, @@ -1138,8 +1142,8 @@ "comment": "", "meta": { "range": [ - 4535, - 4565 + 4539, + 4569 ], "filename": "Message.js", "lineno": 142, @@ -1164,8 +1168,8 @@ "comment": "/**\n * The member who sent the message.\n * @type {Member?}\n * @private\n */", "meta": { "range": [ - 4700, - 4865 + 4704, + 4869 ], "filename": "Message.js", "lineno": 150, @@ -1197,8 +1201,8 @@ "comment": "", "meta": { "range": [ - 4764, - 4786 + 4768, + 4790 ], "filename": "Message.js", "lineno": 151, @@ -1221,8 +1225,8 @@ "comment": "", "meta": { "range": [ - 4796, - 4803 + 4800, + 4807 ], "filename": "Message.js", "lineno": 152, @@ -1245,8 +1249,8 @@ "comment": "", "meta": { "range": [ - 4813, - 4855 + 4817, + 4859 ], "filename": "Message.js", "lineno": 153, @@ -1269,8 +1273,8 @@ "comment": "", "meta": { "range": [ - 4899, - 4961 + 4903, + 4965 ], "filename": "Message.js", "lineno": 156, @@ -1295,8 +1299,8 @@ "comment": "", "meta": { "range": [ - 4994, - 5024 + 4998, + 5028 ], "filename": "Message.js", "lineno": 157, @@ -1321,8 +1325,8 @@ "comment": "/**\n * The message attachments.\n * @type {Attachment[]?}\n * @private\n */", "meta": { "range": [ - 5180, - 5202 + 5184, + 5206 ], "filename": "Message.js", "lineno": 165, @@ -1354,8 +1358,8 @@ "comment": "", "meta": { "range": [ - 5258, - 5263 + 5262, + 5267 ], "filename": "Message.js", "lineno": 167, @@ -1380,8 +1384,8 @@ "comment": "", "meta": { "range": [ - 5406, - 5431 + 5410, + 5435 ], "filename": "Message.js", "lineno": 170, @@ -1404,8 +1408,8 @@ "comment": "", "meta": { "range": [ - 5494, - 5534 + 5498, + 5538 ], "filename": "Message.js", "lineno": 173, @@ -1430,8 +1434,8 @@ "comment": "", "meta": { "range": [ - 5688, - 5716 + 5692, + 5720 ], "filename": "Message.js", "lineno": 181, @@ -1456,8 +1460,8 @@ "comment": "", "meta": { "range": [ - 5784, - 5816 + 5788, + 5820 ], "filename": "Message.js", "lineno": 183, @@ -1482,8 +1486,8 @@ "comment": "", "meta": { "range": [ - 5849, - 5869 + 5853, + 5873 ], "filename": "Message.js", "lineno": 184, @@ -1508,8 +1512,8 @@ "comment": "", "meta": { "range": [ - 6056, - 6116 + 6060, + 6120 ], "filename": "Message.js", "lineno": 194, @@ -1534,8 +1538,8 @@ "comment": "", "meta": { "range": [ - 6106, - 6113 + 6110, + 6117 ], "filename": "Message.js", "lineno": 194, @@ -1558,8 +1562,8 @@ "comment": "", "meta": { "range": [ - 6240, - 6266 + 6244, + 6270 ], "filename": "Message.js", "lineno": 200, @@ -1584,8 +1588,8 @@ "comment": "", "meta": { "range": [ - 6308, - 6330 + 6312, + 6334 ], "filename": "Message.js", "lineno": 201, @@ -1610,8 +1614,8 @@ "comment": "/**\n * The message reactions.\n * @type {MessageReactionManager}\n * @private\n */", "meta": { "range": [ - 6561, - 6597 + 6565, + 6601 ], "filename": "Message.js", "lineno": 211, @@ -1642,8 +1646,8 @@ "comment": "", "meta": { "range": [ - 6618, - 6753 + 6622, + 6757 ], "filename": "Message.js", "lineno": 213, @@ -1668,8 +1672,8 @@ "comment": "", "meta": { "range": [ - 6937, - 6988 + 6941, + 6992 ], "filename": "Message.js", "lineno": 226, @@ -1694,8 +1698,8 @@ "comment": "", "meta": { "range": [ - 7055, - 7085 + 7059, + 7089 ], "filename": "Message.js", "lineno": 228, @@ -1720,8 +1724,8 @@ "comment": "", "meta": { "range": [ - 7129, - 7146 + 7133, + 7150 ], "filename": "Message.js", "lineno": 229, @@ -1746,8 +1750,8 @@ "comment": "/**\n * The message attributes.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 7320, - 7361 + 7324, + 7365 ], "filename": "Message.js", "lineno": 238, @@ -1778,8 +1782,8 @@ "comment": "", "meta": { "range": [ - 7426, - 7455 + 7430, + 7459 ], "filename": "Message.js", "lineno": 241, @@ -1804,8 +1808,8 @@ "comment": "", "meta": { "range": [ - 7581, - 7610 + 7585, + 7614 ], "filename": "Message.js", "lineno": 247, @@ -1830,8 +1834,8 @@ "comment": "", "meta": { "range": [ - 7685, - 7714 + 7689, + 7718 ], "filename": "Message.js", "lineno": 250, @@ -1856,8 +1860,8 @@ "comment": "", "meta": { "range": [ - 7849, - 7878 + 7853, + 7882 ], "filename": "Message.js", "lineno": 256, @@ -1882,8 +1886,8 @@ "comment": "", "meta": { "range": [ - 7968, - 7997 + 7972, + 8001 ], "filename": "Message.js", "lineno": 259, @@ -1908,8 +1912,8 @@ "comment": "", "meta": { "range": [ - 8138, - 8167 + 8142, + 8171 ], "filename": "Message.js", "lineno": 265, @@ -1934,8 +1938,8 @@ "comment": "", "meta": { "range": [ - 8237, - 8266 + 8241, + 8270 ], "filename": "Message.js", "lineno": 268, @@ -1960,8 +1964,8 @@ "comment": "", "meta": { "range": [ - 8356, - 8385 + 8360, + 8389 ], "filename": "Message.js", "lineno": 270, @@ -1986,8 +1990,8 @@ "comment": "", "meta": { "range": [ - 8459, - 8488 + 8463, + 8492 ], "filename": "Message.js", "lineno": 273, @@ -2012,8 +2016,8 @@ "comment": "", "meta": { "range": [ - 8614, - 8643 + 8618, + 8647 ], "filename": "Message.js", "lineno": 279, @@ -2038,8 +2042,8 @@ "comment": "/**\n * The message that this message references.\n * @type {Object}\n * @private\n */", "meta": { "range": [ - 8835, - 8855 + 8839, + 8859 ], "filename": "Message.js", "lineno": 288, @@ -2070,8 +2074,8 @@ "comment": "", "meta": { "range": [ - 8900, - 8963 + 8904, + 8967 ], "filename": "Message.js", "lineno": 290, @@ -2096,8 +2100,8 @@ "comment": "", "meta": { "range": [ - 9031, - 9088 + 9035, + 9092 ], "filename": "Message.js", "lineno": 292, @@ -2122,8 +2126,8 @@ "comment": "/**\n * The flags of the message.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 9188, - 9212 + 9192, + 9216 ], "filename": "Message.js", "lineno": 300, @@ -2154,8 +2158,8 @@ "comment": "/**\n * The type of message.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 9301, - 9323 + 9305, + 9327 ], "filename": "Message.js", "lineno": 307, @@ -2186,8 +2190,8 @@ "comment": "", "meta": { "range": [ - 9442, - 9468 + 9446, + 9472 ], "filename": "Message.js", "lineno": 313, @@ -2212,8 +2216,8 @@ "comment": "", "meta": { "range": [ - 9676, - 9718 + 9680, + 9722 ], "filename": "Message.js", "lineno": 321, @@ -2238,8 +2242,8 @@ "comment": "", "meta": { "range": [ - 9756, - 9793 + 9760, + 9797 ], "filename": "Message.js", "lineno": 322, @@ -2264,8 +2268,8 @@ "comment": "/**\n * Stickers sent with this message.\n * @type {Sticker[]}\n * @private\n */", "meta": { "range": [ - 9977, - 10001 + 9981, + 10005 ], "filename": "Message.js", "lineno": 331, @@ -2296,8 +2300,8 @@ "comment": "", "meta": { "range": [ - 10063, - 10068 + 10067, + 10072 ], "filename": "Message.js", "lineno": 333, @@ -2322,8 +2326,8 @@ "comment": "", "meta": { "range": [ - 10289, - 10332 + 10293, + 10336 ], "filename": "Message.js", "lineno": 338, @@ -2348,8 +2352,8 @@ "comment": "", "meta": { "range": [ - 10563, - 10611 + 10567, + 10615 ], "filename": "Message.js", "lineno": 348, @@ -2374,8 +2378,8 @@ "comment": "", "meta": { "range": [ - 10688, - 10739 + 10692, + 10743 ], "filename": "Message.js", "lineno": 350, @@ -2400,8 +2404,8 @@ "comment": "", "meta": { "range": [ - 10758, - 10899 + 10762, + 10903 ], "filename": "Message.js", "lineno": 353, @@ -2426,8 +2430,8 @@ "comment": "", "meta": { "range": [ - 10912, - 11026 + 10916, + 11030 ], "filename": "Message.js", "lineno": 359, @@ -2452,8 +2456,8 @@ "comment": "", "meta": { "range": [ - 11038, - 11128 + 11042, + 11132 ], "filename": "Message.js", "lineno": 362, @@ -2478,8 +2482,8 @@ "comment": "", "meta": { "range": [ - 11140, - 11221 + 11144, + 11225 ], "filename": "Message.js", "lineno": 364, @@ -2504,8 +2508,8 @@ "comment": "", "meta": { "range": [ - 11233, - 11328 + 11237, + 11332 ], "filename": "Message.js", "lineno": 366, @@ -2530,8 +2534,8 @@ "comment": "", "meta": { "range": [ - 11340, - 11445 + 11344, + 11449 ], "filename": "Message.js", "lineno": 368, @@ -2556,8 +2560,8 @@ "comment": "", "meta": { "range": [ - 11457, - 11568 + 11461, + 11572 ], "filename": "Message.js", "lineno": 371, @@ -2582,8 +2586,8 @@ "comment": "", "meta": { "range": [ - 11580, - 11693 + 11584, + 11697 ], "filename": "Message.js", "lineno": 374, @@ -2608,8 +2612,8 @@ "comment": "", "meta": { "range": [ - 11705, - 11798 + 11709, + 11802 ], "filename": "Message.js", "lineno": 377, @@ -2634,8 +2638,8 @@ "comment": "", "meta": { "range": [ - 11810, - 11925 + 11814, + 11929 ], "filename": "Message.js", "lineno": 379, @@ -2660,8 +2664,8 @@ "comment": "", "meta": { "range": [ - 11937, - 12047 + 11941, + 12051 ], "filename": "Message.js", "lineno": 382, @@ -2686,8 +2690,8 @@ "comment": "/**\n * The timestamp for when this message was last edited.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 13037, - 13099 + 13041, + 13103 ], "filename": "Message.js", "lineno": 419, @@ -2723,8 +2727,8 @@ "comment": "/**\n * The user who sent the message.\n * @type {User}\n * @readonly\n * @public\n */", "meta": { "range": [ - 13197, - 13240 + 13201, + 13244 ], "filename": "Message.js", "lineno": 429, @@ -2759,8 +2763,8 @@ "comment": "/**\n * The id of the user who sent the message.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 13350, - 13398 + 13354, + 13402 ], "filename": "Message.js", "lineno": 439, @@ -2795,8 +2799,8 @@ "comment": "/**\n * The member who sent the message.\n * @type {Member?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 13501, - 13544 + 13505, + 13548 ], "filename": "Message.js", "lineno": 449, @@ -2832,8 +2836,8 @@ "comment": "/**\n * Whether this message includes user mentions.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 13659, - 13736 + 13663, + 13740 ], "filename": "Message.js", "lineno": 459, @@ -2868,8 +2872,8 @@ "comment": "/**\n * Whether this message includes role mentions.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 13851, - 13932 + 13855, + 13936 ], "filename": "Message.js", "lineno": 469, @@ -2904,8 +2908,8 @@ "comment": "/**\n * Whether this message mentions everyone.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 14042, - 14126 + 14046, + 14130 ], "filename": "Message.js", "lineno": 479, @@ -2940,8 +2944,8 @@ "comment": "/**\n * Whether this message has been pinned.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 14234, - 14309 + 14238, + 14313 ], "filename": "Message.js", "lineno": 489, @@ -2976,8 +2980,8 @@ "comment": "/**\n * Whether another message has replaced this original message.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 14439, - 14516 + 14443, + 14520 ], "filename": "Message.js", "lineno": 499, @@ -3012,8 +3016,8 @@ "comment": "/**\n * The UNIX (seconds) timestamp for when this message was created.\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 14649, - 14704 + 14653, + 14708 ], "filename": "Message.js", "lineno": 509, @@ -3048,8 +3052,8 @@ "comment": "/**\n * The guild that this message belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 14813, - 14889 + 14817, + 14893 ], "filename": "Message.js", "lineno": 519, @@ -3085,8 +3089,8 @@ "comment": "/**\n * The guild that this message belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 14998, - 15053 + 15002, + 15057 ], "filename": "Message.js", "lineno": 529, @@ -3121,8 +3125,8 @@ "comment": "/**\n * The channel that this message belongs to.\n * @type {Channel?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 15166, - 15246 + 15170, + 15250 ], "filename": "Message.js", "lineno": 539, @@ -3158,8 +3162,8 @@ "comment": "/**\n * The channel that this message belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 15357, - 15416 + 15361, + 15420 ], "filename": "Message.js", "lineno": 549, @@ -3194,8 +3198,8 @@ "comment": "/**\n * The id of the message.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 15508, - 15552 + 15512, + 15556 ], "filename": "Message.js", "lineno": 559, @@ -3230,8 +3234,8 @@ "comment": "/**\n * The message attachments.\n * @type {Attachment[]}\n * @readonly\n * @public\n */", "meta": { "range": [ - 15652, - 15705 + 15656, + 15709 ], "filename": "Message.js", "lineno": 569, @@ -3266,8 +3270,8 @@ "comment": "/**\n * The message content.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 15796, - 15841 + 15800, + 15845 ], "filename": "Message.js", "lineno": 579, @@ -3303,8 +3307,8 @@ "comment": "/**\n * The message poll.\n * @type {Poll?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 15927, - 15966 + 15931, + 15970 ], "filename": "Message.js", "lineno": 589, @@ -3340,8 +3344,8 @@ "comment": "/**\n * The message reactions.\n * @type {MessageReactionManager}\n * @readonly\n * @public\n */", "meta": { "range": [ - 16074, - 16123 + 16078, + 16127 ], "filename": "Message.js", "lineno": 599, @@ -3376,8 +3380,8 @@ "comment": "/**\n * The message embeds.\n * @type {Array}\n * @readonly\n * @public\n */", "meta": { "range": [ - 16218, - 16261 + 16222, + 16265 ], "filename": "Message.js", "lineno": 609, @@ -3412,8 +3416,8 @@ "comment": "/**\n * The message that this message references.\n * @type {Object}\n * @readonly\n * @public\n */", "meta": { "range": [ - 16372, - 16523 + 16376, + 16527 ], "filename": "Message.js", "lineno": 619, @@ -3448,8 +3452,8 @@ "comment": "", "meta": { "range": [ - 16409, - 16511 + 16413, + 16515 ], "filename": "Message.js", "lineno": 621, @@ -3472,8 +3476,8 @@ "comment": "/**\n * The flags of the message.\n * @type {String[]}\n * @readonly\n * @public\n * @see {@link https://discord.com/developers/docs/resources/message#message-object-message-flags}\n */", "meta": { "range": [ - 16721, - 18281 + 16725, + 18285 ], "filename": "Message.js", "lineno": 634, @@ -3511,8 +3515,8 @@ "comment": "", "meta": { "range": [ - 16745, - 16755 + 16749, + 16759 ], "filename": "Message.js", "lineno": 635, @@ -3537,8 +3541,8 @@ "comment": "/**\n * The raw flags of the message.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 18380, - 18424 + 18384, + 18428 ], "filename": "Message.js", "lineno": 685, @@ -3573,8 +3577,8 @@ "comment": "/**\n * The type of message.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 18514, - 18553 + 18518, + 18557 ], "filename": "Message.js", "lineno": 695, @@ -3609,8 +3613,8 @@ "comment": "/**\n * The id of the webhook this message is from.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 18667, - 18751 + 18671, + 18755 ], "filename": "Message.js", "lineno": 705, @@ -3646,8 +3650,8 @@ "comment": "/**\n * Stickers sent with this message.\n * @type {Sticker[]}\n * @readonly\n * @public\n */", "meta": { "range": [ - 18856, - 18912 + 18860, + 18916 ], "filename": "Message.js", "lineno": 715, @@ -3682,8 +3686,8 @@ "comment": "/**\n * The snapshot data about the message.\n * @type {Array?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 19027, - 19447 + 19031, + 19451 ], "filename": "Message.js", "lineno": 725, @@ -3719,8 +3723,8 @@ "comment": "", "meta": { "range": [ - 19191, - 19212 + 19195, + 19216 ], "filename": "Message.js", "lineno": 728, @@ -3745,8 +3749,8 @@ "comment": "", "meta": { "range": [ - 19282, - 19307 + 19286, + 19311 ], "filename": "Message.js", "lineno": 730, @@ -3769,8 +3773,8 @@ "comment": "", "meta": { "range": [ - 19321, - 19342 + 19325, + 19346 ], "filename": "Message.js", "lineno": 731, @@ -3793,8 +3797,8 @@ "comment": "", "meta": { "range": [ - 19356, - 19369 + 19360, + 19373 ], "filename": "Message.js", "lineno": 732, @@ -3817,8 +3821,8 @@ "comment": "", "meta": { "range": [ - 19383, - 19403 + 19387, + 19407 ], "filename": "Message.js", "lineno": 733, @@ -3841,8 +3845,8 @@ "comment": "/**\n * The URL of the message.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 19540, - 19621 + 19544, + 19625 ], "filename": "Message.js", "lineno": 745, @@ -3877,8 +3881,8 @@ "comment": "/**\n * The hash name for the message.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 19721, - 19812 + 19725, + 19816 ], "filename": "Message.js", "lineno": 755, @@ -3913,8 +3917,8 @@ "comment": "/**\n * The URL of the message.\n * @param {String} guildId The id of the guild that the message belongs to.\n * @param {String} channelId The id of the channel that the message belongs to.\n * @param {String} messageId The id of the message.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 20133, - 20566 + 20137, + 20570 ], "filename": "Message.js", "lineno": 769, @@ -3984,8 +3988,8 @@ "comment": "/**\n * Replies to the message.\n * @param {Object?} [options] Embeds, components and files to attach to the message.\n * @param {String?} [options.content] The message content.\n * @param {Embed?} [options.embed] Embed to send with the message.\n * @param {MessageComponents?} [options.components] Message components to send with the message.\n * @param {Array?} [options.files] Array of file objects for files to send with the message.\n * @returns {Promise}\n * @see {@link https://discord.com/developers/docs/resources/channel#create-message}\n * @method\n * @public\n * @async\n * @throws {Error | TypeError}\n */", "meta": { "range": [ - 21225, - 21595 + 21229, + 21599 ], "filename": "Message.js", "lineno": 793, @@ -4095,8 +4099,8 @@ "comment": "", "meta": { "range": [ - 21233, - 21240 + 21237, + 21244 ], "filename": "Message.js", "lineno": 793, @@ -4119,8 +4123,8 @@ "comment": "", "meta": { "range": [ - 21242, - 21248 + 21246, + 21252 ], "filename": "Message.js", "lineno": 793, @@ -4143,8 +4147,8 @@ "comment": "", "meta": { "range": [ - 21250, - 21260 + 21254, + 21264 ], "filename": "Message.js", "lineno": 793, @@ -4167,8 +4171,8 @@ "comment": "", "meta": { "range": [ - 21262, - 21267 + 21266, + 21271 ], "filename": "Message.js", "lineno": 793, @@ -4191,8 +4195,8 @@ "comment": "", "meta": { "range": [ - 21269, - 21293 + 21273, + 21297 ], "filename": "Message.js", "lineno": 793, @@ -4215,8 +4219,8 @@ "comment": "", "meta": { "range": [ - 21381, - 21388 + 21385, + 21392 ], "filename": "Message.js", "lineno": 795, @@ -4239,8 +4243,8 @@ "comment": "", "meta": { "range": [ - 21396, - 21513 + 21400, + 21517 ], "filename": "Message.js", "lineno": 796, @@ -4263,8 +4267,8 @@ "comment": "", "meta": { "range": [ - 21417, - 21436 + 21421, + 21440 ], "filename": "Message.js", "lineno": 797, @@ -4288,8 +4292,8 @@ "comment": "", "meta": { "range": [ - 21446, - 21472 + 21450, + 21476 ], "filename": "Message.js", "lineno": 798, @@ -4313,8 +4317,8 @@ "comment": "", "meta": { "range": [ - 21482, - 21504 + 21486, + 21508 ], "filename": "Message.js", "lineno": 799, @@ -4338,8 +4342,8 @@ "comment": "", "meta": { "range": [ - 21521, - 21527 + 21525, + 21531 ], "filename": "Message.js", "lineno": 801, @@ -4362,8 +4366,8 @@ "comment": "", "meta": { "range": [ - 21535, - 21545 + 21539, + 21549 ], "filename": "Message.js", "lineno": 802, @@ -4386,8 +4390,8 @@ "comment": "", "meta": { "range": [ - 21553, - 21558 + 21557, + 21562 ], "filename": "Message.js", "lineno": 803, @@ -4410,8 +4414,8 @@ "comment": "", "meta": { "range": [ - 21566, - 21582 + 21570, + 21586 ], "filename": "Message.js", "lineno": 804, @@ -4434,8 +4438,8 @@ "comment": "/**\n * Edits the message, assuming it is sent by the client user.\n * @param {Object?} [options] Content, embeds and components to attach to the message.\n * @param {String?} [options.content] The message content.\n * @param {Embed?} [options.embed] Embed to send with the message.\n * @param {MessageComponents?} [options.components] Message components to send with the message.\n * @param {Array?} [options.attachments] Array of attachment objects for files to send with the message.\n * @param {Number?} [options.flags] The message flags.\n * @param {Object?} [options.reference] The message reference.\n * @param {String?} [options.reference.message_id] The id of the message to reference.\n * @param {String?} [options.reference.channel_id] The id of the channel to reference.\n * @param {String?} [options.reference.guild_id] The id of the guild to reference.\n * @param {FileUpload[]?} [options.files] Array of file objects for files to send with the message.\n * @returns {Promise}\n * @see {@link https://discord.com/developers/docs/resources/channel#edit-message}\n * @method\n * @public\n * @async\n * @throws {Error | TypeError}\n */", "meta": { "range": [ - 22788, - 23473 + 22792, + 23477 ], "filename": "Message.js", "lineno": 828, @@ -4611,8 +4615,8 @@ "comment": "", "meta": { "range": [ - 22806, - 22816 + 22810, + 22820 ], "filename": "Message.js", "lineno": 830, @@ -4635,8 +4639,8 @@ "comment": "", "meta": { "range": [ - 22824, - 22829 + 22828, + 22833 ], "filename": "Message.js", "lineno": 831, @@ -4659,8 +4663,8 @@ "comment": "", "meta": { "range": [ - 22837, - 22859 + 22841, + 22863 ], "filename": "Message.js", "lineno": 832, @@ -4683,8 +4687,8 @@ "comment": "", "meta": { "range": [ - 22867, - 22887 + 22871, + 22891 ], "filename": "Message.js", "lineno": 833, @@ -4707,8 +4711,8 @@ "comment": "", "meta": { "range": [ - 22895, - 22925 + 22899, + 22929 ], "filename": "Message.js", "lineno": 834, @@ -4731,8 +4735,8 @@ "comment": "", "meta": { "range": [ - 22933, - 22954 + 22937, + 22958 ], "filename": "Message.js", "lineno": 835, @@ -4755,8 +4759,8 @@ "comment": "", "meta": { "range": [ - 22962, - 23097 + 22966, + 23101 ], "filename": "Message.js", "lineno": 836, @@ -4779,8 +4783,8 @@ "comment": "", "meta": { "range": [ - 22984, - 23020 + 22988, + 23024 ], "filename": "Message.js", "lineno": 837, @@ -4803,8 +4807,8 @@ "comment": "", "meta": { "range": [ - 23030, - 23056 + 23034, + 23060 ], "filename": "Message.js", "lineno": 838, @@ -4827,8 +4831,8 @@ "comment": "", "meta": { "range": [ - 23066, - 23088 + 23070, + 23092 ], "filename": "Message.js", "lineno": 839, @@ -4851,8 +4855,8 @@ "comment": "", "meta": { "range": [ - 23115, - 23131 + 23119, + 23135 ], "filename": "Message.js", "lineno": 842, @@ -4875,8 +4879,8 @@ "comment": "", "meta": { "range": [ - 23139, - 23150 + 23143, + 23154 ], "filename": "Message.js", "lineno": 843, @@ -4899,8 +4903,8 @@ "comment": "", "meta": { "range": [ - 23158, - 23171 + 23162, + 23175 ], "filename": "Message.js", "lineno": 844, @@ -4923,8 +4927,8 @@ "comment": "", "meta": { "range": [ - 23179, - 23191 + 23183, + 23195 ], "filename": "Message.js", "lineno": 845, @@ -4947,8 +4951,8 @@ "comment": "", "meta": { "range": [ - 23199, - 23216 + 23203, + 23220 ], "filename": "Message.js", "lineno": 846, @@ -4971,8 +4975,8 @@ "comment": "", "meta": { "range": [ - 23224, - 23235 + 23228, + 23239 ], "filename": "Message.js", "lineno": 847, @@ -4995,8 +4999,8 @@ "comment": "", "meta": { "range": [ - 23243, - 23258 + 23247, + 23262 ], "filename": "Message.js", "lineno": 848, @@ -5019,8 +5023,8 @@ "comment": "", "meta": { "range": [ - 23359, - 23366 + 23363, + 23370 ], "filename": "Message.js", "lineno": 852, @@ -5043,8 +5047,8 @@ "comment": "", "meta": { "range": [ - 23374, - 23384 + 23378, + 23388 ], "filename": "Message.js", "lineno": 853, @@ -5067,8 +5071,8 @@ "comment": "", "meta": { "range": [ - 23392, - 23397 + 23396, + 23401 ], "filename": "Message.js", "lineno": 854, @@ -5091,8 +5095,8 @@ "comment": "", "meta": { "range": [ - 23405, - 23411 + 23409, + 23415 ], "filename": "Message.js", "lineno": 855, @@ -5115,8 +5119,8 @@ "comment": "", "meta": { "range": [ - 23419, - 23430 + 23423, + 23434 ], "filename": "Message.js", "lineno": 856, @@ -5139,8 +5143,8 @@ "comment": "", "meta": { "range": [ - 23438, - 23443 + 23442, + 23447 ], "filename": "Message.js", "lineno": 857, @@ -5163,8 +5167,8 @@ "comment": "", "meta": { "range": [ - 23451, - 23460 + 23455, + 23464 ], "filename": "Message.js", "lineno": 858, @@ -5187,8 +5191,8 @@ "comment": "/**\n * Deletes the message.\n * @param {Object?} [options] The options for deleting the message.\n * @param {String?} [options.reason] The reason for deleting the message\n * @returns {Promise}\n * @method\n * @public\n * @async\n */", "meta": { "range": [ - 23728, - 23887 + 23732, + 23891 ], "filename": "Message.js", "lineno": 871, @@ -5252,8 +5256,8 @@ "comment": "", "meta": { "range": [ - 23737, - 23743 + 23741, + 23747 ], "filename": "Message.js", "lineno": 871, @@ -5276,8 +5280,8 @@ "comment": "", "meta": { "range": [ - 23867, - 23873 + 23871, + 23877 ], "filename": "Message.js", "lineno": 877, @@ -5300,8 +5304,8 @@ "comment": "/**\n * Determines whether the message should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @param {GuildCacheOptions} guildCacheOptions The cache options for the guild.\n * @param {ChannelCacheOptions} channelCacheOptions The cache options for the channel.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 24276, - 25086 + 24280, + 25090 ], "filename": "Message.js", "lineno": 891, @@ -5371,8 +5375,8 @@ "comment": "/**\n * Posts a message to the specified channel.\n * @param {Client} client The client instance.\n * @param {String} channelId The id of the channel to send the message to.\n * @param {String} guildId The id of the guild which the channel belongs to.\n * @param {Object?} [options] Content, embeds, components and files to attach to the message.\n * @param {String?} [options.content] The message content.\n * @param {Embed[]} [options.embeds] Array of embeds to send with the message.\n * @param {MessageComponents?} [options.components] Message components to send with the message.\n * @param {Array?} [options.files] Array of file objects for files to send with the message.\n * @param {Boolean?} [options.suppressMentions] Whether to suppress mentions in the message.\n * @returns {Promise}\n * @public\n * @method\n * @async\n * @throws {TypeError}\n */", "meta": { "range": [ - 25989, - 27634 + 25993, + 27638 ], "filename": "Message.js", "lineno": 931, @@ -5518,8 +5522,8 @@ "comment": "", "meta": { "range": [ - 26060, - 26067 + 26064, + 26071 ], "filename": "Message.js", "lineno": 936, @@ -5542,8 +5546,8 @@ "comment": "", "meta": { "range": [ - 26075, - 26081 + 26079, + 26085 ], "filename": "Message.js", "lineno": 937, @@ -5566,8 +5570,8 @@ "comment": "", "meta": { "range": [ - 26089, - 26099 + 26093, + 26103 ], "filename": "Message.js", "lineno": 938, @@ -5590,8 +5594,8 @@ "comment": "", "meta": { "range": [ - 26107, - 26112 + 26111, + 26116 ], "filename": "Message.js", "lineno": 939, @@ -5614,8 +5618,8 @@ "comment": "", "meta": { "range": [ - 26120, - 26129 + 26124, + 26133 ], "filename": "Message.js", "lineno": 940, @@ -5638,8 +5642,8 @@ "comment": "", "meta": { "range": [ - 26137, - 26161 + 26141, + 26165 ], "filename": "Message.js", "lineno": 941, @@ -5662,8 +5666,8 @@ "comment": "", "meta": { "range": [ - 26179, - 26202 + 26183, + 26206 ], "filename": "Message.js", "lineno": 943, @@ -5686,8 +5690,8 @@ "comment": "", "meta": { "range": [ - 26559, - 26566 + 26563, + 26570 ], "filename": "Message.js", "lineno": 953, @@ -5710,8 +5714,8 @@ "comment": "", "meta": { "range": [ - 26568, - 26574 + 26572, + 26578 ], "filename": "Message.js", "lineno": 953, @@ -5734,8 +5738,8 @@ "comment": "", "meta": { "range": [ - 26576, - 26586 + 26580, + 26590 ], "filename": "Message.js", "lineno": 953, @@ -5758,8 +5762,8 @@ "comment": "", "meta": { "range": [ - 26588, - 26593 + 26592, + 26597 ], "filename": "Message.js", "lineno": 953, @@ -5782,8 +5786,8 @@ "comment": "", "meta": { "range": [ - 26595, - 26604 + 26599, + 26608 ], "filename": "Message.js", "lineno": 953, @@ -5806,8 +5810,8 @@ "comment": "", "meta": { "range": [ - 27062, - 27071 + 27066, + 27075 ], "filename": "Message.js", "lineno": 970, @@ -5832,8 +5836,8 @@ "comment": "", "meta": { "range": [ - 27091, - 27113 + 27095, + 27117 ], "filename": "Message.js", "lineno": 972, @@ -5859,8 +5863,8 @@ "comment": "", "meta": { "range": [ - 27155, - 27175 + 27159, + 27179 ], "filename": "Message.js", "lineno": 974, @@ -5886,8 +5890,8 @@ "comment": "", "meta": { "range": [ - 27197, - 27225 + 27201, + 27229 ], "filename": "Message.js", "lineno": 975, @@ -5913,8 +5917,8 @@ "comment": "", "meta": { "range": [ - 27242, - 27260 + 27246, + 27264 ], "filename": "Message.js", "lineno": 976, @@ -5940,8 +5944,8 @@ "comment": "", "meta": { "range": [ - 27305, - 27331 + 27309, + 27335 ], "filename": "Message.js", "lineno": 978, @@ -5967,8 +5971,8 @@ "comment": "", "meta": { "range": [ - 27339, - 27371 + 27343, + 27375 ], "filename": "Message.js", "lineno": 979, @@ -5994,8 +5998,8 @@ "comment": "", "meta": { "range": [ - 27398, - 27432 + 27402, + 27436 ], "filename": "Message.js", "lineno": 981, @@ -6021,8 +6025,8 @@ "comment": "", "meta": { "range": [ - 27445, - 27549 + 27449, + 27553 ], "filename": "Message.js", "lineno": 983, @@ -6047,8 +6051,8 @@ "comment": "", "meta": { "range": [ - 27597, - 27606 + 27601, + 27610 ], "filename": "Message.js", "lineno": 990, @@ -6071,8 +6075,8 @@ "comment": "", "meta": { "range": [ - 27614, - 27621 + 27618, + 27625 ], "filename": "Message.js", "lineno": 991, @@ -6095,8 +6099,8 @@ "comment": "/**\n * Edits a message.\n * @param {Client} client The client instance.\n * @param {String} channelId The id of the channel the message belongs to.\n * @param {String} messageId The id of the message.\n * @param {String} guildId The id of the guild the message belongs to.\n * @param {Object?} [options] The message options.\n * @param {String?} [options.content] The message content.\n * @param {Embed[]?} [options.embeds] Array of embeds to send with the message.\n * @param {MessageComponents?} [options.components] Message components to send with the message.\n * @param {Array?} [options.files] Array of file objects for files to send with the message.\n * @param {Array?} [options.attachments] Array of attachment objects for existing attachments sent with the message.\n * @returns {Promise}\n */", "meta": { "range": [ - 28491, - 29833 + 28495, + 29837 ], "filename": "Message.js", "lineno": 1009, @@ -6243,8 +6247,8 @@ "comment": "", "meta": { "range": [ - 28571, - 28578 + 28575, + 28582 ], "filename": "Message.js", "lineno": 1014, @@ -6267,8 +6271,8 @@ "comment": "", "meta": { "range": [ - 28580, - 28586 + 28584, + 28590 ], "filename": "Message.js", "lineno": 1014, @@ -6291,8 +6295,8 @@ "comment": "", "meta": { "range": [ - 28588, - 28598 + 28592, + 28602 ], "filename": "Message.js", "lineno": 1014, @@ -6315,8 +6319,8 @@ "comment": "", "meta": { "range": [ - 28600, - 28611 + 28604, + 28615 ], "filename": "Message.js", "lineno": 1014, @@ -6339,8 +6343,8 @@ "comment": "", "meta": { "range": [ - 28613, - 28618 + 28617, + 28622 ], "filename": "Message.js", "lineno": 1014, @@ -6363,8 +6367,8 @@ "comment": "", "meta": { "range": [ - 29079, - 29086 + 29083, + 29090 ], "filename": "Message.js", "lineno": 1025, @@ -6387,8 +6391,8 @@ "comment": "", "meta": { "range": [ - 29088, - 29094 + 29092, + 29098 ], "filename": "Message.js", "lineno": 1025, @@ -6411,8 +6415,8 @@ "comment": "", "meta": { "range": [ - 29096, - 29106 + 29100, + 29110 ], "filename": "Message.js", "lineno": 1025, @@ -6435,8 +6439,8 @@ "comment": "", "meta": { "range": [ - 29108, - 29119 + 29112, + 29123 ], "filename": "Message.js", "lineno": 1025, @@ -6459,8 +6463,8 @@ "comment": "", "meta": { "range": [ - 29121, - 29126 + 29125, + 29130 ], "filename": "Message.js", "lineno": 1025, @@ -6483,8 +6487,8 @@ "comment": "", "meta": { "range": [ - 29463, - 29472 + 29467, + 29476 ], "filename": "Message.js", "lineno": 1039, @@ -6509,8 +6513,8 @@ "comment": "", "meta": { "range": [ - 29479, - 29501 + 29483, + 29505 ], "filename": "Message.js", "lineno": 1041, @@ -6536,8 +6540,8 @@ "comment": "", "meta": { "range": [ - 29507, - 29527 + 29511, + 29531 ], "filename": "Message.js", "lineno": 1042, @@ -6563,8 +6567,8 @@ "comment": "", "meta": { "range": [ - 29533, - 29561 + 29537, + 29565 ], "filename": "Message.js", "lineno": 1043, @@ -6590,8 +6594,8 @@ "comment": "", "meta": { "range": [ - 29567, - 29597 + 29571, + 29601 ], "filename": "Message.js", "lineno": 1044, @@ -6617,8 +6621,8 @@ "comment": "", "meta": { "range": [ - 29603, - 29621 + 29607, + 29625 ], "filename": "Message.js", "lineno": 1045, @@ -6644,8 +6648,8 @@ "comment": "", "meta": { "range": [ - 29634, - 29748 + 29638, + 29752 ], "filename": "Message.js", "lineno": 1047, @@ -6670,8 +6674,8 @@ "comment": "", "meta": { "range": [ - 29796, - 29805 + 29800, + 29809 ], "filename": "Message.js", "lineno": 1054, @@ -6694,8 +6698,8 @@ "comment": "", "meta": { "range": [ - 29813, - 29820 + 29817, + 29824 ], "filename": "Message.js", "lineno": 1055, @@ -6718,8 +6722,8 @@ "comment": "/**\n * Returns the hash name for the message.\n * @param {String} guildId The id of the guild that the message belongs to.\n * @param {String} channelId The id of the channel that the message belongs to.\n * @param {String} messageId The id of the message.\n * @returns {String}\n * @public\n * @static\n * @method\n * @throws {TypeError}\n */", "meta": { "range": [ - 30194, - 30621 + 30198, + 30625 ], "filename": "Message.js", "lineno": 1070, @@ -6798,8 +6802,8 @@ "comment": "/**\n * Decrypts a message.\n * @param {Client} client The client instance.\n * @param {String} data The encrypted message data.\n * @param {String} guildId The id of the guild that the message belongs to.\n * @param {String} channelId The id of the channel that the message belongs to.\n * @param {String} messageId The id of the message.\n * @returns {Message}\n * @public\n * @static\n * @method\n * @throws {TypeError}\n */", "meta": { "range": [ - 31067, - 31781 + 31071, + 31785 ], "filename": "Message.js", "lineno": 1093, @@ -6898,8 +6902,8 @@ "comment": "", "meta": { "range": [ - 31749, - 31758 + 31753, + 31762 ], "filename": "Message.js", "lineno": 1107, @@ -6922,8 +6926,8 @@ "comment": "", "meta": { "range": [ - 31760, - 31767 + 31764, + 31771 ], "filename": "Message.js", "lineno": 1107, @@ -6946,8 +6950,8 @@ "comment": "/**\n * Validates the message content, embeds, components and files.\n * @param {Object} [options] The message options.\n * @param {String} [options.content] The message content.\n * @param {Embed[]} [options.embeds] Array of embeds to send with the message.\n * @param {MessageComponents} [options.components] Message components to send with the message.\n * @param {Array} [options.files] Array of file objects for files to send with the message.\n * @param {Array} [options.attachments] Array of attachment objects for existing attachments sent with the message.\n * @param {Number} [options.flags] The message flags.\n * @param {Object} [options.reference] The message reference.\n * @param {String} [options.reference.message_id] The id of the message to reference.\n * @param {String} [options.reference.channel_id] The id of the channel to reference.\n * @param {String} [options.reference.guild_id] The id of the guild to reference.\n * @returns {void}\n * @throws {Error | TypeError | RangeError}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 32876, - 35487 + 32880, + 35491 ], "filename": "Message.js", "lineno": 1130, @@ -7109,8 +7113,8 @@ "comment": "", "meta": { "range": [ - 32904, - 32911 + 32908, + 32915 ], "filename": "Message.js", "lineno": 1131, @@ -7133,8 +7137,8 @@ "comment": "", "meta": { "range": [ - 32917, - 32923 + 32921, + 32927 ], "filename": "Message.js", "lineno": 1132, @@ -7157,8 +7161,8 @@ "comment": "", "meta": { "range": [ - 32929, - 32939 + 32933, + 32943 ], "filename": "Message.js", "lineno": 1133, @@ -7181,8 +7185,8 @@ "comment": "", "meta": { "range": [ - 32945, - 32950 + 32949, + 32954 ], "filename": "Message.js", "lineno": 1134, @@ -7205,8 +7209,8 @@ "comment": "", "meta": { "range": [ - 32956, - 32967 + 32960, + 32971 ], "filename": "Message.js", "lineno": 1135, @@ -7229,8 +7233,8 @@ "comment": "", "meta": { "range": [ - 32973, - 32978 + 32977, + 32982 ], "filename": "Message.js", "lineno": 1136, @@ -7253,8 +7257,8 @@ "comment": "", "meta": { "range": [ - 32984, - 32993 + 32988, + 32997 ], "filename": "Message.js", "lineno": 1137, @@ -7277,8 +7281,8 @@ "comment": "/**\n * Deletes one message.\n * @param {Client} client The client instance.\n * @param {String} channelId The id of the channel that the message belongs to.\n * @param {String} messageId The id of the message to delete.\n * @param {Object?} [options]\n * @param {String?} [options.reason] The reason for deleting the message.\n * @returns {Promise}\n * @public\n * @method\n * @async\n * @throws {TypeError}\n */", "meta": { "range": [ - 35925, - 37071 + 35929, + 37075 ], "filename": "Message.js", "lineno": 1218, @@ -7381,8 +7385,8 @@ "comment": "", "meta": { "range": [ - 35986, - 35992 + 35990, + 35996 ], "filename": "Message.js", "lineno": 1218, @@ -7405,8 +7409,8 @@ "comment": "", "meta": { "range": [ - 36885, - 36894 + 36889, + 36898 ], "filename": "Message.js", "lineno": 1242, @@ -7431,8 +7435,8 @@ "comment": "", "meta": { "range": [ - 36913, - 36948 + 36917, + 36952 ], "filename": "Message.js", "lineno": 1244, @@ -7458,8 +7462,8 @@ "comment": "/**\n * Encrypts the message.\n * @returns {String}\n * @public\n * @method\n */", "meta": { "range": [ - 37163, - 37252 + 37167, + 37256 ], "filename": "Message.js", "lineno": 1259, @@ -7497,8 +7501,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 37294, - 37346 + 37298, + 37350 ], "filename": "Message.js", "lineno": 1267, @@ -7526,8 +7530,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 37388, - 37445 + 37392, + 37449 ], "filename": "Message.js", "lineno": 1275, @@ -7555,8 +7559,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 37630, - 40030 + 37634, + 40034 ], "filename": "Message.js", "lineno": 1286, @@ -7607,8 +7611,8 @@ "comment": "", "meta": { "range": [ - 37788, - 37799 + 37792, + 37803 ], "filename": "Message.js", "lineno": 1291, @@ -7631,8 +7635,8 @@ "comment": "", "meta": { "range": [ - 37811, - 37846 + 37815, + 37850 ], "filename": "Message.js", "lineno": 1292, @@ -7655,8 +7659,8 @@ "comment": "", "meta": { "range": [ - 37858, - 37893 + 37862, + 37897 ], "filename": "Message.js", "lineno": 1293, @@ -7679,8 +7683,8 @@ "comment": "", "meta": { "range": [ - 37905, - 37926 + 37909, + 37930 ], "filename": "Message.js", "lineno": 1294, @@ -7703,8 +7707,8 @@ "comment": "", "meta": { "range": [ - 37938, - 37968 + 37942, + 37972 ], "filename": "Message.js", "lineno": 1295, @@ -7727,8 +7731,8 @@ "comment": "", "meta": { "range": [ - 37980, - 38038 + 37984, + 38042 ], "filename": "Message.js", "lineno": 1296, @@ -7751,8 +7755,8 @@ "comment": "", "meta": { "range": [ - 38050, - 38098 + 38054, + 38102 ], "filename": "Message.js", "lineno": 1297, @@ -7775,8 +7779,8 @@ "comment": "", "meta": { "range": [ - 38110, - 38209 + 38114, + 38213 ], "filename": "Message.js", "lineno": 1298, @@ -7799,8 +7803,8 @@ "comment": "", "meta": { "range": [ - 38221, - 38252 + 38225, + 38256 ], "filename": "Message.js", "lineno": 1301, @@ -7823,8 +7827,8 @@ "comment": "", "meta": { "range": [ - 38264, - 38358 + 38268, + 38362 ], "filename": "Message.js", "lineno": 1302, @@ -7847,8 +7851,8 @@ "comment": "", "meta": { "range": [ - 38370, - 38385 + 38374, + 38389 ], "filename": "Message.js", "lineno": 1305, @@ -7871,8 +7875,8 @@ "comment": "", "meta": { "range": [ - 38397, - 38619 + 38401, + 38623 ], "filename": "Message.js", "lineno": 1306, @@ -7895,8 +7899,8 @@ "comment": "", "meta": { "range": [ - 38475, - 38578 + 38479, + 38582 ], "filename": "Message.js", "lineno": 1308, @@ -7919,8 +7923,8 @@ "comment": "", "meta": { "range": [ - 38631, - 38692 + 38635, + 38696 ], "filename": "Message.js", "lineno": 1313, @@ -7943,8 +7947,8 @@ "comment": "", "meta": { "range": [ - 38704, - 38751 + 38708, + 38755 ], "filename": "Message.js", "lineno": 1314, @@ -7967,8 +7971,8 @@ "comment": "", "meta": { "range": [ - 38862, - 38873 + 38866, + 38877 ], "filename": "Message.js", "lineno": 1320, @@ -7991,8 +7995,8 @@ "comment": "", "meta": { "range": [ - 38885, - 38911 + 38889, + 38915 ], "filename": "Message.js", "lineno": 1321, @@ -8015,8 +8019,8 @@ "comment": "", "meta": { "range": [ - 38923, - 38958 + 38927, + 38962 ], "filename": "Message.js", "lineno": 1322, @@ -8039,8 +8043,8 @@ "comment": "", "meta": { "range": [ - 38970, - 39005 + 38974, + 39009 ], "filename": "Message.js", "lineno": 1323, @@ -8063,8 +8067,8 @@ "comment": "", "meta": { "range": [ - 39017, - 39038 + 39021, + 39042 ], "filename": "Message.js", "lineno": 1324, @@ -8087,8 +8091,8 @@ "comment": "", "meta": { "range": [ - 39050, - 39069 + 39054, + 39073 ], "filename": "Message.js", "lineno": 1325, @@ -8111,8 +8115,8 @@ "comment": "", "meta": { "range": [ - 39081, - 39139 + 39085, + 39143 ], "filename": "Message.js", "lineno": 1326, @@ -8135,8 +8139,8 @@ "comment": "", "meta": { "range": [ - 39151, - 39199 + 39155, + 39203 ], "filename": "Message.js", "lineno": 1327, @@ -8159,8 +8163,8 @@ "comment": "", "meta": { "range": [ - 39211, - 39310 + 39215, + 39314 ], "filename": "Message.js", "lineno": 1328, @@ -8183,8 +8187,8 @@ "comment": "", "meta": { "range": [ - 39322, - 39353 + 39326, + 39357 ], "filename": "Message.js", "lineno": 1331, @@ -8207,8 +8211,8 @@ "comment": "", "meta": { "range": [ - 39365, - 39459 + 39369, + 39463 ], "filename": "Message.js", "lineno": 1332, @@ -8231,8 +8235,8 @@ "comment": "", "meta": { "range": [ - 39471, - 39486 + 39475, + 39490 ], "filename": "Message.js", "lineno": 1335, @@ -8255,8 +8259,8 @@ "comment": "", "meta": { "range": [ - 39498, - 39720 + 39502, + 39724 ], "filename": "Message.js", "lineno": 1336, @@ -8279,8 +8283,8 @@ "comment": "", "meta": { "range": [ - 39576, - 39679 + 39580, + 39683 ], "filename": "Message.js", "lineno": 1338, @@ -8303,8 +8307,8 @@ "comment": "", "meta": { "range": [ - 39732, - 39794 + 39736, + 39798 ], "filename": "Message.js", "lineno": 1343, @@ -8327,8 +8331,8 @@ "comment": "", "meta": { "range": [ - 39806, - 39847 + 39810, + 39851 ], "filename": "Message.js", "lineno": 1344, @@ -8351,8 +8355,8 @@ "comment": "", "meta": { "range": [ - 39859, - 39897 + 39863, + 39901 ], "filename": "Message.js", "lineno": 1345, @@ -8375,8 +8379,8 @@ "comment": "", "meta": { "range": [ - 39909, - 39953 + 39913, + 39957 ], "filename": "Message.js", "lineno": 1346, @@ -8399,8 +8403,8 @@ "comment": "", "meta": { "range": [ - 39965, - 40000 + 39969, + 40004 ], "filename": "Message.js", "lineno": 1347, @@ -8423,8 +8427,8 @@ "comment": "", "meta": { "range": [ - 40034, - 40057 + 40038, + 40061 ], "filename": "Message.js", "lineno": 1354, diff --git a/src/structures/compiled/Role.js.json b/src/structures/compiled/Role.js.json index 150648b0..f42e22e6 100644 --- a/src/structures/compiled/Role.js.json +++ b/src/structures/compiled/Role.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 339, - 9261 + 9263 ], "filename": "Role.js", "lineno": 14, @@ -279,11 +279,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a role.\n * @param {Client} client The client instance.\n * @param {Object} data The raw role data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The id of the guild that the role belongs to.\n * @param {Boolean?} options.nocache Whether this role should be cached or not.\n * @see {@link https://discord.com/developers/docs/topics/permissions#role-object-role-structure}\n */", + "comment": "/**\n * Creates the structure for a role.\n * @param {Client} client The client instance.\n * @param {Object} data The raw role data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The id of the guild that the role belongs to.\n * @param {Boolean?} [options.nocache] Whether this role should be cached or not.\n * @see {@link https://discord.com/developers/docs/topics/permissions#role-object-role-structure}\n */", "meta": { "range": [ - 962, - 3320 + 964, + 3322 ], "filename": "Role.js", "lineno": 34, @@ -347,6 +347,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this role should be cached or not.", "name": "options.nocache" @@ -366,7 +367,7 @@ "meta": { "range": [ 339, - 9261 + 9263 ], "filename": "Role.js", "lineno": 14, @@ -435,6 +436,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this role should be cached or not.", "name": "options.nocache" @@ -445,8 +447,8 @@ "comment": "", "meta": { "range": [ - 990, - 997 + 992, + 999 ], "filename": "Role.js", "lineno": 34, @@ -469,8 +471,8 @@ "comment": "", "meta": { "range": [ - 999, - 1014 + 1001, + 1016 ], "filename": "Role.js", "lineno": 34, @@ -493,8 +495,8 @@ "comment": "", "meta": { "range": [ - 1021, - 1035 + 1023, + 1037 ], "filename": "Role.js", "lineno": 34, @@ -517,8 +519,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1535, - 1557 + 1537, + 1559 ], "filename": "Role.js", "lineno": 49, @@ -549,8 +551,8 @@ "comment": "/**\n * The id of the guild that this role belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1672, - 1705 + 1674, + 1707 ], "filename": "Role.js", "lineno": 56, @@ -581,8 +583,8 @@ "comment": "/**\n * The id of the role.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1793, - 1820 + 1795, + 1822 ], "filename": "Role.js", "lineno": 63, @@ -613,8 +615,8 @@ "comment": "/**\n * The name of the role.\n * @type {String}\n * @private\n */", "meta": { "range": [ - 1910, - 1932 + 1912, + 1934 ], "filename": "Role.js", "lineno": 70, @@ -645,8 +647,8 @@ "comment": "/**\n * The color of the role.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 2023, - 2047 + 2025, + 2049 ], "filename": "Role.js", "lineno": 77, @@ -677,8 +679,8 @@ "comment": "/**\n * The position of the role.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 2141, - 2171 + 2143, + 2173 ], "filename": "Role.js", "lineno": 84, @@ -709,8 +711,8 @@ "comment": "", "meta": { "range": [ - 2275, - 2313 + 2277, + 2315 ], "filename": "Role.js", "lineno": 91, @@ -735,8 +737,8 @@ "comment": "/**\n * The permissions for the role.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 2411, - 2455 + 2413, + 2457 ], "filename": "Role.js", "lineno": 98, @@ -767,8 +769,8 @@ "comment": "/**\n * The attributes of the role.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 2551, - 2592 + 2553, + 2594 ], "filename": "Role.js", "lineno": 105, @@ -799,8 +801,8 @@ "comment": "", "meta": { "range": [ - 2623, - 2652 + 2625, + 2654 ], "filename": "Role.js", "lineno": 107, @@ -825,8 +827,8 @@ "comment": "", "meta": { "range": [ - 2685, - 2714 + 2687, + 2716 ], "filename": "Role.js", "lineno": 109, @@ -851,8 +853,8 @@ "comment": "", "meta": { "range": [ - 2751, - 2780 + 2753, + 2782 ], "filename": "Role.js", "lineno": 111, @@ -877,8 +879,8 @@ "comment": "", "meta": { "range": [ - 2802, - 2824 + 2804, + 2826 ], "filename": "Role.js", "lineno": 113, @@ -903,8 +905,8 @@ "comment": "", "meta": { "range": [ - 2837, - 2941 + 2839, + 2943 ], "filename": "Role.js", "lineno": 115, @@ -929,8 +931,8 @@ "comment": "/**\n * The ID of the role.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3409, - 3453 + 3411, + 3455 ], "filename": "Role.js", "lineno": 140, @@ -965,8 +967,8 @@ "comment": "/**\n * Whether the role is hoisted.\n * @readonly\n * @returns {Boolean}\n * @public\n */", "meta": { "range": [ - 3555, - 3629 + 3557, + 3631 ], "filename": "Role.js", "lineno": 150, @@ -1005,8 +1007,8 @@ "comment": "/**\n * Whether the role is managed (by an application).\n * @readonly\n * @returns {Boolean}\n * @public\n */", "meta": { "range": [ - 3751, - 3827 + 3753, + 3829 ], "filename": "Role.js", "lineno": 160, @@ -1045,8 +1047,8 @@ "comment": "/**\n * Whether the role is mentionable.\n * @readonly\n * @returns {Boolean}\n * @public\n */", "meta": { "range": [ - 3933, - 4013 + 3935, + 4015 ], "filename": "Role.js", "lineno": 170, @@ -1085,8 +1087,8 @@ "comment": "/**\n * The hash of the role's avatar, as it was received from Discord.\n * @readonly\n * @type {String?}\n * @public\n */", "meta": { "range": [ - 4147, - 4294 + 4149, + 4296 ], "filename": "Role.js", "lineno": 180, @@ -1122,8 +1124,8 @@ "comment": "", "meta": { "range": [ - 4475, - 4515 + 4477, + 4517 ], "filename": "Role.js", "lineno": 196, @@ -1148,8 +1150,8 @@ "comment": "", "meta": { "range": [ - 4604, - 4639 + 4606, + 4641 ], "filename": "Role.js", "lineno": 200, @@ -1175,8 +1177,8 @@ "comment": "/**\n * The icon URL of the role.\n * @readonly\n * @type {String?}\n * @public\n */", "meta": { "range": [ - 4767, - 4854 + 4769, + 4856 ], "filename": "Role.js", "lineno": 211, @@ -1212,8 +1214,8 @@ "comment": "/**\n * The guild that this role belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4960, - 5036 + 4962, + 5038 ], "filename": "Role.js", "lineno": 221, @@ -1249,8 +1251,8 @@ "comment": "/**\n * The ID of the guild that this role belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5152, - 5207 + 5154, + 5209 ], "filename": "Role.js", "lineno": 231, @@ -1285,8 +1287,8 @@ "comment": "/**\n * The name of the role.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5298, - 5337 + 5300, + 5339 ], "filename": "Role.js", "lineno": 241, @@ -1321,8 +1323,8 @@ "comment": "/**\n * The color of the role.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5429, - 5470 + 5431, + 5472 ], "filename": "Role.js", "lineno": 251, @@ -1357,8 +1359,8 @@ "comment": "/**\n * The position of the role.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5565, - 5612 + 5567, + 5614 ], "filename": "Role.js", "lineno": 261, @@ -1393,8 +1395,8 @@ "comment": "/**\n * The permissions for the role.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5711, - 5772 + 5713, + 5774 ], "filename": "Role.js", "lineno": 271, @@ -1429,8 +1431,8 @@ "comment": "/**\n * The attributes of the role.\n * @type {Object}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5869, - 5908 + 5871, + 5910 ], "filename": "Role.js", "lineno": 281, @@ -1465,8 +1467,8 @@ "comment": "/**\n * Returns a mention for the role.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6009, - 6079 + 6011, + 6081 ], "filename": "Role.js", "lineno": 291, @@ -1501,8 +1503,8 @@ "comment": "/**\n * Returns a mention for the role.\n * @param {String} roleId The ID of the role to mention.\n * @param {String} guildId The ID of the guild that the role belongs to.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 6328, - 6631 + 6330, + 6633 ], "filename": "Role.js", "lineno": 304, @@ -1562,8 +1564,8 @@ "comment": "/**\n * Returns the URL of the role's icon.\n * @param {String} id The ID of the role.\n * @param {String?} [hash] The hash of the role's icon.\n * @returns {String}\n */", "meta": { "range": [ - 6813, - 7195 + 6815, + 7197 ], "filename": "Role.js", "lineno": 318, @@ -1624,8 +1626,8 @@ "comment": "/**\n * Determines whether the role should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @param {GuildCacheOptions} guildCacheOptions The cache options for the guild.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 7492, - 8020 + 7494, + 8022 ], "filename": "Role.js", "lineno": 339, @@ -1685,8 +1687,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 8062, - 8111 + 8064, + 8113 ], "filename": "Role.js", "lineno": 357, @@ -1714,8 +1716,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 8153, - 8210 + 8155, + 8212 ], "filename": "Role.js", "lineno": 365, @@ -1743,8 +1745,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 8395, - 9259 + 8397, + 9261 ], "filename": "Role.js", "lineno": 376, @@ -1795,8 +1797,8 @@ "comment": "", "meta": { "range": [ - 8553, - 8564 + 8555, + 8566 ], "filename": "Role.js", "lineno": 381, @@ -1819,8 +1821,8 @@ "comment": "", "meta": { "range": [ - 8576, - 8591 + 8578, + 8593 ], "filename": "Role.js", "lineno": 382, @@ -1843,8 +1845,8 @@ "comment": "", "meta": { "range": [ - 8603, - 8620 + 8605, + 8622 ], "filename": "Role.js", "lineno": 383, @@ -1867,8 +1869,8 @@ "comment": "", "meta": { "range": [ - 8632, - 8655 + 8634, + 8657 ], "filename": "Role.js", "lineno": 384, @@ -1891,8 +1893,8 @@ "comment": "", "meta": { "range": [ - 8667, - 8696 + 8669, + 8698 ], "filename": "Role.js", "lineno": 385, @@ -1915,8 +1917,8 @@ "comment": "", "meta": { "range": [ - 8708, - 8736 + 8710, + 8738 ], "filename": "Role.js", "lineno": 386, @@ -1939,8 +1941,8 @@ "comment": "", "meta": { "range": [ - 8748, - 8778 + 8750, + 8780 ], "filename": "Role.js", "lineno": 387, @@ -1963,8 +1965,8 @@ "comment": "", "meta": { "range": [ - 8790, - 8805 + 8792, + 8807 ], "filename": "Role.js", "lineno": 388, @@ -1987,8 +1989,8 @@ "comment": "", "meta": { "range": [ - 8916, - 8927 + 8918, + 8929 ], "filename": "Role.js", "lineno": 394, @@ -2011,8 +2013,8 @@ "comment": "", "meta": { "range": [ - 8939, - 8954 + 8941, + 8956 ], "filename": "Role.js", "lineno": 395, @@ -2035,8 +2037,8 @@ "comment": "", "meta": { "range": [ - 8966, - 8983 + 8968, + 8985 ], "filename": "Role.js", "lineno": 396, @@ -2059,8 +2061,8 @@ "comment": "", "meta": { "range": [ - 8995, - 9018 + 8997, + 9020 ], "filename": "Role.js", "lineno": 397, @@ -2083,8 +2085,8 @@ "comment": "", "meta": { "range": [ - 9030, - 9059 + 9032, + 9061 ], "filename": "Role.js", "lineno": 398, @@ -2107,8 +2109,8 @@ "comment": "", "meta": { "range": [ - 9071, - 9099 + 9073, + 9101 ], "filename": "Role.js", "lineno": 399, @@ -2131,8 +2133,8 @@ "comment": "", "meta": { "range": [ - 9111, - 9126 + 9113, + 9128 ], "filename": "Role.js", "lineno": 400, @@ -2155,8 +2157,8 @@ "comment": "", "meta": { "range": [ - 9138, - 9155 + 9140, + 9157 ], "filename": "Role.js", "lineno": 401, @@ -2179,8 +2181,8 @@ "comment": "", "meta": { "range": [ - 9167, - 9188 + 9169, + 9190 ], "filename": "Role.js", "lineno": 402, @@ -2203,8 +2205,8 @@ "comment": "", "meta": { "range": [ - 9200, - 9229 + 9202, + 9231 ], "filename": "Role.js", "lineno": 403, @@ -2227,8 +2229,8 @@ "comment": "", "meta": { "range": [ - 9263, - 9283 + 9265, + 9285 ], "filename": "Role.js", "lineno": 410, diff --git a/src/structures/compiled/ScheduledEvent.js.json b/src/structures/compiled/ScheduledEvent.js.json index 4a348bd7..1821b45b 100644 --- a/src/structures/compiled/ScheduledEvent.js.json +++ b/src/structures/compiled/ScheduledEvent.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 505, - 11797 + 11799 ], "filename": "ScheduledEvent.js", "lineno": 16, @@ -357,11 +357,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a scheduled event.\n * @param {Client} client The client instance.\n * @param {Object} data Scheduled event data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The ID of the guild that this event belongs to.\n * @param {Boolean?} options.nocache Whether this event should be cached or not.\n */", + "comment": "/**\n * Creates the structure for a scheduled event.\n * @param {Client} client The client instance.\n * @param {Object} data Scheduled event data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The ID of the guild that this event belongs to.\n * @param {Boolean?} [options.nocache] Whether this event should be cached or not.\n */", "meta": { "range": [ - 1128, - 5038 + 1130, + 5040 ], "filename": "ScheduledEvent.js", "lineno": 38, @@ -425,6 +425,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this event should be cached or not.", "name": "options.nocache" @@ -441,7 +442,7 @@ "meta": { "range": [ 505, - 11797 + 11799 ], "filename": "ScheduledEvent.js", "lineno": 16, @@ -510,6 +511,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this event should be cached or not.", "name": "options.nocache" @@ -520,8 +522,8 @@ "comment": "", "meta": { "range": [ - 1156, - 1163 + 1158, + 1165 ], "filename": "ScheduledEvent.js", "lineno": 38, @@ -544,8 +546,8 @@ "comment": "", "meta": { "range": [ - 1165, - 1180 + 1167, + 1182 ], "filename": "ScheduledEvent.js", "lineno": 38, @@ -568,8 +570,8 @@ "comment": "", "meta": { "range": [ - 1187, - 1201 + 1189, + 1203 ], "filename": "ScheduledEvent.js", "lineno": 38, @@ -592,8 +594,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1701, - 1723 + 1703, + 1725 ], "filename": "ScheduledEvent.js", "lineno": 53, @@ -624,8 +626,8 @@ "comment": "/**\n * The id of the scheduled event.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1822, - 1849 + 1824, + 1851 ], "filename": "ScheduledEvent.js", "lineno": 60, @@ -656,8 +658,8 @@ "comment": "/**\n * The id of the guild that this event belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1965, - 1998 + 1967, + 2000 ], "filename": "ScheduledEvent.js", "lineno": 67, @@ -688,8 +690,8 @@ "comment": "/**\n * The name of the scheduled event.\n * @type {String}\n * @private\n */", "meta": { "range": [ - 2099, - 2121 + 2101, + 2123 ], "filename": "ScheduledEvent.js", "lineno": 74, @@ -720,8 +722,8 @@ "comment": "/**\n * The id of the user who created the event.\n * @type {BigInt?}\n * @private\n */", "meta": { "range": [ - 2269, - 2312 + 2271, + 2314 ], "filename": "ScheduledEvent.js", "lineno": 82, @@ -753,8 +755,8 @@ "comment": "/**\n * The user who created the event.\n * @type {User?}\n * @private\n */", "meta": { "range": [ - 2445, - 2498 + 2447, + 2500 ], "filename": "ScheduledEvent.js", "lineno": 90, @@ -786,8 +788,8 @@ "comment": "/**\n * The UNIX timestamp of the start time for the event.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 2618, - 2711 + 2620, + 2713 ], "filename": "ScheduledEvent.js", "lineno": 97, @@ -818,8 +820,8 @@ "comment": "/**\n * The UNIX timestamp of the end time for the event.\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 2875, - 2966 + 2877, + 2968 ], "filename": "ScheduledEvent.js", "lineno": 106, @@ -851,8 +853,8 @@ "comment": "/**\n * The hash of the event's image.\n * @type {BigInt?}\n * @private\n */", "meta": { "range": [ - 3066, - 3126 + 3068, + 3128 ], "filename": "ScheduledEvent.js", "lineno": 114, @@ -884,8 +886,8 @@ "comment": "", "meta": { "range": [ - 3155, - 3191 + 3157, + 3193 ], "filename": "ScheduledEvent.js", "lineno": 116, @@ -910,8 +912,8 @@ "comment": "/**\n * The number of users who have signed up for the event.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 3313, - 3352 + 3315, + 3354 ], "filename": "ScheduledEvent.js", "lineno": 123, @@ -942,8 +944,8 @@ "comment": "/**\n * The attributes of the event.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 3449, - 3470 + 3451, + 3472 ], "filename": "ScheduledEvent.js", "lineno": 130, @@ -974,8 +976,8 @@ "comment": "", "meta": { "range": [ - 3555, - 3584 + 3557, + 3586 ], "filename": "ScheduledEvent.js", "lineno": 135, @@ -1000,8 +1002,8 @@ "comment": "", "meta": { "range": [ - 3650, - 3679 + 3652, + 3681 ], "filename": "ScheduledEvent.js", "lineno": 140, @@ -1026,8 +1028,8 @@ "comment": "", "meta": { "range": [ - 3748, - 3777 + 3750, + 3779 ], "filename": "ScheduledEvent.js", "lineno": 145, @@ -1052,8 +1054,8 @@ "comment": "", "meta": { "range": [ - 3911, - 3940 + 3913, + 3942 ], "filename": "ScheduledEvent.js", "lineno": 155, @@ -1078,8 +1080,8 @@ "comment": "", "meta": { "range": [ - 4007, - 4036 + 4009, + 4038 ], "filename": "ScheduledEvent.js", "lineno": 160, @@ -1104,8 +1106,8 @@ "comment": "", "meta": { "range": [ - 4106, - 4135 + 4108, + 4137 ], "filename": "ScheduledEvent.js", "lineno": 165, @@ -1130,8 +1132,8 @@ "comment": "", "meta": { "range": [ - 4204, - 4233 + 4206, + 4235 ], "filename": "ScheduledEvent.js", "lineno": 170, @@ -1156,8 +1158,8 @@ "comment": "/**\n * The location of the event.\n * @type {String?}\n * @private\n */", "meta": { "range": [ - 4439, - 4502 + 4441, + 4504 ], "filename": "ScheduledEvent.js", "lineno": 183, @@ -1189,8 +1191,8 @@ "comment": "", "meta": { "range": [ - 4515, - 4629 + 4517, + 4631 ], "filename": "ScheduledEvent.js", "lineno": 185, @@ -1215,8 +1217,8 @@ "comment": "/**\n * The ID of the event.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5128, - 5172 + 5130, + 5174 ], "filename": "ScheduledEvent.js", "lineno": 210, @@ -1251,8 +1253,8 @@ "comment": "/**\n * The guild ID of the event.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5268, - 5323 + 5270, + 5325 ], "filename": "ScheduledEvent.js", "lineno": 220, @@ -1287,8 +1289,8 @@ "comment": "/**\n * The name of the event.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5415, - 5454 + 5417, + 5456 ], "filename": "ScheduledEvent.js", "lineno": 230, @@ -1323,8 +1325,8 @@ "comment": "/**\n * The ID of the user who created the event.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5566, - 5652 + 5568, + 5654 ], "filename": "ScheduledEvent.js", "lineno": 240, @@ -1360,8 +1362,8 @@ "comment": "/**\n * The user who created the event.\n * @type {User?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5752, - 5797 + 5754, + 5799 ], "filename": "ScheduledEvent.js", "lineno": 250, @@ -1397,8 +1399,8 @@ "comment": "/**\n * The description of the event.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5896, - 5949 + 5898, + 5951 ], "filename": "ScheduledEvent.js", "lineno": 260, @@ -1433,8 +1435,8 @@ "comment": "/**\n * The hash of the event's image, as it was received from Discord.\n * @readonly\n * @type {String?}\n * @public\n */", "meta": { "range": [ - 6083, - 6233 + 6085, + 6235 ], "filename": "ScheduledEvent.js", "lineno": 270, @@ -1470,8 +1472,8 @@ "comment": "", "meta": { "range": [ - 6383, - 6424 + 6385, + 6426 ], "filename": "ScheduledEvent.js", "lineno": 284, @@ -1496,8 +1498,8 @@ "comment": "", "meta": { "range": [ - 6513, - 6548 + 6515, + 6550 ], "filename": "ScheduledEvent.js", "lineno": 288, @@ -1523,8 +1525,8 @@ "comment": "/**\n * The url of the events's image.\n * @readonly\n * @type {String?}\n * @public\n */", "meta": { "range": [ - 6681, - 6781 + 6683, + 6783 ], "filename": "ScheduledEvent.js", "lineno": 299, @@ -1560,8 +1562,8 @@ "comment": "/**\n * Where the event is scheduled to take place.\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 6894, - 7175 + 6896, + 7177 ], "filename": "ScheduledEvent.js", "lineno": 309, @@ -1596,8 +1598,8 @@ "comment": "/**\n * The status of the event.\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 7520, - 7872 + 7522, + 7874 ], "filename": "ScheduledEvent.js", "lineno": 329, @@ -1632,8 +1634,8 @@ "comment": "/**\n * The guild that this event belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 8295, - 8371 + 8297, + 8373 ], "filename": "ScheduledEvent.js", "lineno": 351, @@ -1669,8 +1671,8 @@ "comment": "/**\n * The UNIX timestamp of the start time for the event.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 8492, - 8561 + 8494, + 8563 ], "filename": "ScheduledEvent.js", "lineno": 361, @@ -1705,8 +1707,8 @@ "comment": "/**\n * The UNIX timestamp of the end time for the event.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 8681, - 8746 + 8683, + 8748 ], "filename": "ScheduledEvent.js", "lineno": 371, @@ -1742,8 +1744,8 @@ "comment": "/**\n * The number of users who have signed up for the event.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 8869, - 8919 + 8871, + 8921 ], "filename": "ScheduledEvent.js", "lineno": 381, @@ -1778,8 +1780,8 @@ "comment": "/**\n * The location of the event.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 9016, - 9063 + 9018, + 9065 ], "filename": "ScheduledEvent.js", "lineno": 391, @@ -1815,8 +1817,8 @@ "comment": "/**\n * Returns the URL of the event's image.\n * @param {String} id The id of the event.\n * @param {String?} [hash] The hash of the event's image.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 9289, - 9671 + 9291, + 9673 ], "filename": "ScheduledEvent.js", "lineno": 404, @@ -1878,8 +1880,8 @@ "comment": "/**\n * Determines whether the scheduled event should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @param {GuildCacheOptions} guildCacheOptions The cache options for the guild.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 9979, - 10527 + 9981, + 10529 ], "filename": "ScheduledEvent.js", "lineno": 425, @@ -1939,8 +1941,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 10569, - 10628 + 10571, + 10630 ], "filename": "ScheduledEvent.js", "lineno": 443, @@ -1968,8 +1970,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 10670, - 10727 + 10672, + 10729 ], "filename": "ScheduledEvent.js", "lineno": 451, @@ -1997,8 +1999,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 10912, - 11795 + 10914, + 11797 ], "filename": "ScheduledEvent.js", "lineno": 462, @@ -2049,8 +2051,8 @@ "comment": "", "meta": { "range": [ - 11131, - 11142 + 11133, + 11144 ], "filename": "ScheduledEvent.js", "lineno": 469, @@ -2073,8 +2075,8 @@ "comment": "", "meta": { "range": [ - 11154, - 11176 + 11156, + 11178 ], "filename": "ScheduledEvent.js", "lineno": 470, @@ -2097,8 +2099,8 @@ "comment": "", "meta": { "range": [ - 11188, - 11203 + 11190, + 11205 ], "filename": "ScheduledEvent.js", "lineno": 471, @@ -2121,8 +2123,8 @@ "comment": "", "meta": { "range": [ - 11215, - 11244 + 11217, + 11246 ], "filename": "ScheduledEvent.js", "lineno": 472, @@ -2145,8 +2147,8 @@ "comment": "", "meta": { "range": [ - 11256, - 11295 + 11258, + 11297 ], "filename": "ScheduledEvent.js", "lineno": 473, @@ -2169,8 +2171,8 @@ "comment": "", "meta": { "range": [ - 11307, - 11343 + 11309, + 11345 ], "filename": "ScheduledEvent.js", "lineno": 474, @@ -2193,8 +2195,8 @@ "comment": "", "meta": { "range": [ - 11355, - 11407 + 11357, + 11409 ], "filename": "ScheduledEvent.js", "lineno": 475, @@ -2217,8 +2219,8 @@ "comment": "", "meta": { "range": [ - 11419, - 11527 + 11421, + 11529 ], "filename": "ScheduledEvent.js", "lineno": 476, @@ -2241,8 +2243,8 @@ "comment": "", "meta": { "range": [ - 11539, - 11569 + 11541, + 11571 ], "filename": "ScheduledEvent.js", "lineno": 479, @@ -2265,8 +2267,8 @@ "comment": "", "meta": { "range": [ - 11581, - 11607 + 11583, + 11609 ], "filename": "ScheduledEvent.js", "lineno": 480, @@ -2289,8 +2291,8 @@ "comment": "", "meta": { "range": [ - 11619, - 11651 + 11621, + 11653 ], "filename": "ScheduledEvent.js", "lineno": 481, @@ -2313,8 +2315,8 @@ "comment": "", "meta": { "range": [ - 11663, - 11686 + 11665, + 11688 ], "filename": "ScheduledEvent.js", "lineno": 482, @@ -2337,8 +2339,8 @@ "comment": "", "meta": { "range": [ - 11698, - 11765 + 11700, + 11767 ], "filename": "ScheduledEvent.js", "lineno": 483, @@ -2361,8 +2363,8 @@ "comment": "", "meta": { "range": [ - 11729, - 11752 + 11731, + 11754 ], "filename": "ScheduledEvent.js", "lineno": 484, @@ -2386,8 +2388,8 @@ "comment": "", "meta": { "range": [ - 11799, - 11829 + 11801, + 11831 ], "filename": "ScheduledEvent.js", "lineno": 492, diff --git a/src/structures/compiled/TextChannel.js.json b/src/structures/compiled/TextChannel.js.json index 0664ac37..e7f59b55 100644 --- a/src/structures/compiled/TextChannel.js.json +++ b/src/structures/compiled/TextChannel.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 480, - 4196 + 4198 ], "filename": "TextChannel.js", "lineno": 17, @@ -60,11 +60,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a text channel.\n * @param {Client} client The client instance.\n * @param {Object} data Raw channel data.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The ID of the guild that this channel belongs to.\n * @param {Boolean?} options.nocache Whether this channel should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/channel#channel-object-example-guild-text-channel}\n */", + "comment": "/**\n * Creates the structure for a text channel.\n * @param {Client} client The client instance.\n * @param {Object} data Raw channel data.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The ID of the guild that this channel belongs to.\n * @param {Boolean?} [options.nocache] Whether this channel should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/channel#channel-object-example-guild-text-channel}\n */", "meta": { "range": [ - 1036, - 2379 + 1038, + 2381 ], "filename": "TextChannel.js", "lineno": 28, @@ -128,6 +128,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this channel should be cached or not.", "name": "options.nocache" @@ -147,7 +148,7 @@ "meta": { "range": [ 480, - 4196 + 4198 ], "filename": "TextChannel.js", "lineno": 17, @@ -219,6 +220,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this channel should be cached or not.", "name": "options.nocache" @@ -229,8 +231,8 @@ "comment": "", "meta": { "range": [ - 1064, - 1071 + 1066, + 1073 ], "filename": "TextChannel.js", "lineno": 28, @@ -253,8 +255,8 @@ "comment": "", "meta": { "range": [ - 1073, - 1088 + 1075, + 1090 ], "filename": "TextChannel.js", "lineno": 28, @@ -277,8 +279,8 @@ "comment": "", "meta": { "range": [ - 1095, - 1109 + 1097, + 1111 ], "filename": "TextChannel.js", "lineno": 28, @@ -301,8 +303,8 @@ "comment": "", "meta": { "range": [ - 1141, - 1148 + 1143, + 1150 ], "filename": "TextChannel.js", "lineno": 29, @@ -325,8 +327,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1648, - 1670 + 1650, + 1672 ], "filename": "TextChannel.js", "lineno": 45, @@ -357,8 +359,8 @@ "comment": "", "meta": { "range": [ - 1683, - 1790 + 1685, + 1792 ], "filename": "TextChannel.js", "lineno": 47, @@ -383,8 +385,8 @@ "comment": "", "meta": { "range": [ - 2222, - 2227 + 2224, + 2229 ], "filename": "TextChannel.js", "lineno": 66, @@ -409,8 +411,8 @@ "comment": "", "meta": { "range": [ - 2325, - 2343 + 2327, + 2345 ], "filename": "TextChannel.js", "lineno": 68, @@ -433,8 +435,8 @@ "comment": "", "meta": { "range": [ - 2355, - 2362 + 2357, + 2364 ], "filename": "TextChannel.js", "lineno": 69, @@ -457,8 +459,8 @@ "comment": "/**\n * Bulk deletes all the message IDs provided.\n * @param {String[]} messages An array of message IDs, as strings.\n * @param {Object?} [options] Additional options for this method.\n * @param {String?} [options.reason] The reason for this action.\n * @returns {Promise}\n * @method\n * @async\n * @public\n * @throws {Error | TypeError}\n */", "meta": { "range": [ - 2748, - 3525 + 2750, + 3527 ], "filename": "TextChannel.js", "lineno": 84, @@ -542,8 +544,8 @@ "comment": "", "meta": { "range": [ - 2777, - 2783 + 2779, + 2785 ], "filename": "TextChannel.js", "lineno": 84, @@ -566,8 +568,8 @@ "comment": "", "meta": { "range": [ - 3312, - 3321 + 3314, + 3323 ], "filename": "TextChannel.js", "lineno": 102, @@ -592,8 +594,8 @@ "comment": "", "meta": { "range": [ - 3328, - 3352 + 3330, + 3354 ], "filename": "TextChannel.js", "lineno": 104, @@ -619,8 +621,8 @@ "comment": "", "meta": { "range": [ - 3371, - 3406 + 3373, + 3408 ], "filename": "TextChannel.js", "lineno": 106, @@ -646,8 +648,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 3567, - 3623 + 3569, + 3625 ], "filename": "TextChannel.js", "lineno": 119, @@ -675,8 +677,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 3665, - 3722 + 3667, + 3724 ], "filename": "TextChannel.js", "lineno": 127, @@ -704,8 +706,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n * @override\n */", "meta": { "range": [ - 3922, - 4194 + 3924, + 4196 ], "filename": "TextChannel.js", "lineno": 139, @@ -757,8 +759,8 @@ "comment": "", "meta": { "range": [ - 4198, - 4225 + 4200, + 4227 ], "filename": "TextChannel.js", "lineno": 153, diff --git a/src/structures/compiled/Thread.js.json b/src/structures/compiled/Thread.js.json index 710aa6ef..05047562 100644 --- a/src/structures/compiled/Thread.js.json +++ b/src/structures/compiled/Thread.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 480, - 4861 + 4863 ], "filename": "Thread.js", "lineno": 13, @@ -110,11 +110,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a thread.\n * @param {Client} client The client instance.\n * @param {Object} data Raw channel data.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The ID of the guild that this thread belongs to.\n * @param {Boolean?} options.nocache Whether this thread should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/channel#channel-object-example-thread-channel}\n */", + "comment": "/**\n * Creates the structure for a thread.\n * @param {Client} client The client instance.\n * @param {Object} data Raw channel data.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The ID of the guild that this thread belongs to.\n * @param {Boolean?} [options.nocache] Whether this thread should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/channel#channel-object-example-thread-channel}\n */", "meta": { "range": [ - 1048, - 2546 + 1050, + 2548 ], "filename": "Thread.js", "lineno": 26, @@ -178,6 +178,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this thread should be cached or not.", "name": "options.nocache" @@ -197,7 +198,7 @@ "meta": { "range": [ 480, - 4861 + 4863 ], "filename": "Thread.js", "lineno": 13, @@ -269,6 +270,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this thread should be cached or not.", "name": "options.nocache" @@ -279,8 +281,8 @@ "comment": "", "meta": { "range": [ - 1076, - 1083 + 1078, + 1085 ], "filename": "Thread.js", "lineno": 26, @@ -303,8 +305,8 @@ "comment": "", "meta": { "range": [ - 1085, - 1100 + 1087, + 1102 ], "filename": "Thread.js", "lineno": 26, @@ -327,8 +329,8 @@ "comment": "", "meta": { "range": [ - 1107, - 1121 + 1109, + 1123 ], "filename": "Thread.js", "lineno": 26, @@ -351,8 +353,8 @@ "comment": "", "meta": { "range": [ - 1153, - 1160 + 1155, + 1162 ], "filename": "Thread.js", "lineno": 27, @@ -375,8 +377,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1660, - 1682 + 1662, + 1684 ], "filename": "Thread.js", "lineno": 43, @@ -407,8 +409,8 @@ "comment": "/**\n * The ID of the user who created this thread.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1794, - 1833 + 1796, + 1835 ], "filename": "Thread.js", "lineno": 50, @@ -439,8 +441,8 @@ "comment": "/**\n * The ID of the text channel that this thread belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1957, - 1998 + 1959, + 2000 ], "filename": "Thread.js", "lineno": 57, @@ -471,8 +473,8 @@ "comment": "", "meta": { "range": [ - 2011, - 2117 + 2013, + 2119 ], "filename": "Thread.js", "lineno": 59, @@ -497,8 +499,8 @@ "comment": "/**\n * The ID of the member who created this thread.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 2661, - 2716 + 2663, + 2718 ], "filename": "Thread.js", "lineno": 84, @@ -533,8 +535,8 @@ "comment": "/**\n * The member who created this thread.\n * @type {Member?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 2822, - 2897 + 2824, + 2899 ], "filename": "Thread.js", "lineno": 94, @@ -570,8 +572,8 @@ "comment": "/**\n * The ID of the text channel that this thread belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3022, - 3079 + 3024, + 3081 ], "filename": "Thread.js", "lineno": 104, @@ -606,8 +608,8 @@ "comment": "/**\n * The text channel that this thread belongs to.\n * @type {TextChannel?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3200, - 3278 + 3202, + 3280 ], "filename": "Thread.js", "lineno": 114, @@ -643,8 +645,8 @@ "comment": "/**\n * Determines whether the thread should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @param {GuildCacheOptions} guildCacheOptions The cache options for the guild.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n * @override\n */", "meta": { "range": [ - 3592, - 4125 + 3594, + 4127 ], "filename": "Thread.js", "lineno": 128, @@ -705,8 +707,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 4167, - 4218 + 4169, + 4220 ], "filename": "Thread.js", "lineno": 146, @@ -734,8 +736,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 4260, - 4317 + 4262, + 4319 ], "filename": "Thread.js", "lineno": 154, @@ -763,8 +765,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n * @override\n */", "meta": { "range": [ - 4517, - 4859 + 4519, + 4861 ], "filename": "Thread.js", "lineno": 166, @@ -816,8 +818,8 @@ "comment": "", "meta": { "range": [ - 4771, - 4793 + 4773, + 4795 ], "filename": "Thread.js", "lineno": 174, @@ -840,8 +842,8 @@ "comment": "", "meta": { "range": [ - 4805, - 4829 + 4807, + 4831 ], "filename": "Thread.js", "lineno": 175, @@ -864,8 +866,8 @@ "comment": "", "meta": { "range": [ - 4863, - 4885 + 4865, + 4887 ], "filename": "Thread.js", "lineno": 182, diff --git a/src/structures/compiled/User.js.json b/src/structures/compiled/User.js.json index ed4819d3..26694773 100644 --- a/src/structures/compiled/User.js.json +++ b/src/structures/compiled/User.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 400, - 9341 + 9343 ], "filename": "User.js", "lineno": 15, @@ -257,11 +257,11 @@ "access": "private" }, { - "comment": "/**\n * Creates a structure for a user.\n * @param {Client} client The client instance.\n * @param {Object} data The raw user data.\n * @param {Object?} options Additional options for this structure.\n * @param {Boolean?} options.nocache Whether the user should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/user#user-object}\n */", + "comment": "/**\n * Creates a structure for a user.\n * @param {Client} client The client instance.\n * @param {Object} data The raw user data.\n * @param {Object?} options Additional options for this structure.\n * @param {Boolean?} [options.nocache] Whether the user should be cached or not.\n * @see {@link https://discord.com/developers/docs/resources/user#user-object}\n */", "meta": { "range": [ - 915, - 3167 + 917, + 3169 ], "filename": "User.js", "lineno": 33, @@ -317,6 +317,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether the user should be cached or not.", "name": "options.nocache" @@ -336,7 +337,7 @@ "meta": { "range": [ 400, - 9341 + 9343 ], "filename": "User.js", "lineno": 15, @@ -397,6 +398,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether the user should be cached or not.", "name": "options.nocache" @@ -407,8 +409,8 @@ "comment": "", "meta": { "range": [ - 956, - 971 + 958, + 973 ], "filename": "User.js", "lineno": 36, @@ -431,8 +433,8 @@ "comment": "", "meta": { "range": [ - 984, - 998 + 986, + 1000 ], "filename": "User.js", "lineno": 37, @@ -455,8 +457,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1407, - 1429 + 1409, + 1431 ], "filename": "User.js", "lineno": 52, @@ -487,8 +489,8 @@ "comment": "/**\n * The id of the user.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1517, - 1544 + 1519, + 1546 ], "filename": "User.js", "lineno": 59, @@ -519,8 +521,8 @@ "comment": "/**\n * The attributes of the user.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 1640, - 1661 + 1642, + 1663 ], "filename": "User.js", "lineno": 66, @@ -551,8 +553,8 @@ "comment": "", "meta": { "range": [ - 1690, - 1719 + 1692, + 1721 ], "filename": "User.js", "lineno": 68, @@ -577,8 +579,8 @@ "comment": "", "meta": { "range": [ - 1789, - 1818 + 1791, + 1820 ], "filename": "User.js", "lineno": 71, @@ -603,8 +605,8 @@ "comment": "/**\n * The avatar of the user.\n * @type {BigInt?}\n * @private\n */", "meta": { "range": [ - 1911, - 2004 + 1913, + 2006 ], "filename": "User.js", "lineno": 78, @@ -636,8 +638,8 @@ "comment": "/**\n * The username of the user.\n * @type {String}\n * @private\n */", "meta": { "range": [ - 2098, - 2128 + 2100, + 2130 ], "filename": "User.js", "lineno": 87, @@ -668,8 +670,8 @@ "comment": "/**\n * The global name of the user.\n * @type {String}\n * @private\n */", "meta": { "range": [ - 2225, - 2261 + 2227, + 2263 ], "filename": "User.js", "lineno": 94, @@ -700,8 +702,8 @@ "comment": "/**\n * The discriminator of the user (only if user is a bot).\n * @type {Number?}\n * @private\n */", "meta": { "range": [ - 2452, - 2500 + 2454, + 2502 ], "filename": "User.js", "lineno": 102, @@ -733,8 +735,8 @@ "comment": "", "meta": { "range": [ - 2647, - 2675 + 2649, + 2677 ], "filename": "User.js", "lineno": 109, @@ -759,8 +761,8 @@ "comment": "", "meta": { "range": [ - 2686, - 2735 + 2688, + 2737 ], "filename": "User.js", "lineno": 110, @@ -785,8 +787,8 @@ "comment": "", "meta": { "range": [ - 2748, - 2807 + 2750, + 2809 ], "filename": "User.js", "lineno": 112, @@ -811,8 +813,8 @@ "comment": "/**\n * Overrides the user's avatar with a custom URL.\n * @param {String} url The URL of the avatar to override the user's avatar with.\n * @public\n * @method\n * @returns {void}\n */", "meta": { "range": [ - 3365, - 3425 + 3367, + 3427 ], "filename": "User.js", "lineno": 135, @@ -862,8 +864,8 @@ "comment": "", "meta": { "range": [ - 3394, - 3420 + 3396, + 3422 ], "filename": "User.js", "lineno": 136, @@ -888,8 +890,8 @@ "comment": "/**\n * The ID of the user.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3514, - 3558 + 3516, + 3560 ], "filename": "User.js", "lineno": 145, @@ -924,8 +926,8 @@ "comment": "/**\n * The username of the user.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3653, - 3700 + 3655, + 3702 ], "filename": "User.js", "lineno": 155, @@ -960,8 +962,8 @@ "comment": "/**\n * The global name of the user.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3798, - 3850 + 3800, + 3852 ], "filename": "User.js", "lineno": 165, @@ -996,8 +998,8 @@ "comment": "/**\n * The discriminator of the user.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3951, - 4265 + 3953, + 4267 ], "filename": "User.js", "lineno": 175, @@ -1033,8 +1035,8 @@ "comment": "", "meta": { "range": [ - 4024, - 4076 + 4026, + 4078 ], "filename": "User.js", "lineno": 177, @@ -1059,8 +1061,8 @@ "comment": "", "meta": { "range": [ - 4172, - 4225 + 4174, + 4227 ], "filename": "User.js", "lineno": 180, @@ -1086,8 +1088,8 @@ "comment": "/**\n * The UNIX (seconds) timestamp when this user was last cached.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4395, - 4440 + 4397, + 4442 ], "filename": "User.js", "lineno": 190, @@ -1122,8 +1124,8 @@ "comment": "/**\n * The mention string for the user.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 4542, - 4598 + 4544, + 4600 ], "filename": "User.js", "lineno": 200, @@ -1158,8 +1160,8 @@ "comment": "/**\n * The hash of the users's avatar, as it was received from Discord.\n * @readonly\n * @type {String?}\n * @public\n */", "meta": { "range": [ - 4733, - 4922 + 4735, + 4924 ], "filename": "User.js", "lineno": 210, @@ -1195,8 +1197,8 @@ "comment": "", "meta": { "range": [ - 5112, - 5154 + 5114, + 5156 ], "filename": "User.js", "lineno": 226, @@ -1221,8 +1223,8 @@ "comment": "", "meta": { "range": [ - 5243, - 5278 + 5245, + 5280 ], "filename": "User.js", "lineno": 230, @@ -1248,8 +1250,8 @@ "comment": "/**\n * The avatar URL of the user.\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 5407, - 5560 + 5409, + 5562 ], "filename": "User.js", "lineno": 241, @@ -1284,8 +1286,8 @@ "comment": "/**\n * The username of the user, including their discriminator if they are a bot (username#0001).\n * @readonly\n * @type {String}\n * @public\n */", "meta": { "range": [ - 5720, - 5840 + 5722, + 5842 ], "filename": "User.js", "lineno": 253, @@ -1320,8 +1322,8 @@ "comment": "/**\n * The UNIX (seconds) timestamp of when this user created their Discord account.\n * @readonly\n * @type {Number}\n * @public\n */", "meta": { "range": [ - 5987, - 6049 + 5989, + 6051 ], "filename": "User.js", "lineno": 265, @@ -1356,8 +1358,8 @@ "comment": "/**\n * Whether the user is a bot or not.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 6153, - 6225 + 6155, + 6227 ], "filename": "User.js", "lineno": 275, @@ -1392,8 +1394,8 @@ "comment": "/**\n * Whether the user has an animated avatar or not.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 6343, - 6428 + 6345, + 6430 ], "filename": "User.js", "lineno": 285, @@ -1428,8 +1430,8 @@ "comment": "/**\n * Whether the user has an avatar or not.\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 6537, - 6593 + 6539, + 6595 ], "filename": "User.js", "lineno": 295, @@ -1464,8 +1466,8 @@ "comment": "/**\n * Returns a mention string for the user.\n * @param {String} id The ID of the user to mention.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 6770, - 6915 + 6772, + 6917 ], "filename": "User.js", "lineno": 307, @@ -1515,8 +1517,8 @@ "comment": "/**\n * Returns the URL to the user's avatar.\n * @param {String} id The ID of the user to get the avatar for.\n * @param {String?} [hash] The hash of the avatar.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 7155, - 7651 + 7157, + 7653 ], "filename": "User.js", "lineno": 322, @@ -1578,8 +1580,8 @@ "comment": "/**\n * Determines whether the user should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @param {GuildCacheOptions} guildCacheOptions The cache options for the guild.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 7948, - 8232 + 7950, + 8234 ], "filename": "User.js", "lineno": 344, @@ -1638,8 +1640,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 8274, - 8323 + 8276, + 8325 ], "filename": "User.js", "lineno": 357, @@ -1667,8 +1669,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 8365, - 8422 + 8367, + 8424 ], "filename": "User.js", "lineno": 365, @@ -1696,8 +1698,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 8607, - 9339 + 8609, + 9341 ], "filename": "User.js", "lineno": 376, @@ -1748,8 +1750,8 @@ "comment": "", "meta": { "range": [ - 8719, - 8730 + 8721, + 8732 ], "filename": "User.js", "lineno": 380, @@ -1772,8 +1774,8 @@ "comment": "", "meta": { "range": [ - 8742, - 8774 + 8744, + 8776 ], "filename": "User.js", "lineno": 381, @@ -1796,8 +1798,8 @@ "comment": "", "meta": { "range": [ - 8786, - 8807 + 8788, + 8809 ], "filename": "User.js", "lineno": 382, @@ -1820,8 +1822,8 @@ "comment": "", "meta": { "range": [ - 8819, - 8832 + 8821, + 8834 ], "filename": "User.js", "lineno": 383, @@ -1844,8 +1846,8 @@ "comment": "", "meta": { "range": [ - 8844, - 8867 + 8846, + 8869 ], "filename": "User.js", "lineno": 384, @@ -1868,8 +1870,8 @@ "comment": "", "meta": { "range": [ - 8879, - 8907 + 8881, + 8909 ], "filename": "User.js", "lineno": 385, @@ -1892,8 +1894,8 @@ "comment": "", "meta": { "range": [ - 8919, - 8952 + 8921, + 8954 ], "filename": "User.js", "lineno": 386, @@ -1916,8 +1918,8 @@ "comment": "", "meta": { "range": [ - 9109, - 9120 + 9111, + 9122 ], "filename": "User.js", "lineno": 393, @@ -1940,8 +1942,8 @@ "comment": "", "meta": { "range": [ - 9132, - 9164 + 9134, + 9166 ], "filename": "User.js", "lineno": 394, @@ -1964,8 +1966,8 @@ "comment": "", "meta": { "range": [ - 9176, - 9189 + 9178, + 9191 ], "filename": "User.js", "lineno": 395, @@ -1988,8 +1990,8 @@ "comment": "", "meta": { "range": [ - 9201, - 9224 + 9203, + 9226 ], "filename": "User.js", "lineno": 396, @@ -2012,8 +2014,8 @@ "comment": "", "meta": { "range": [ - 9236, - 9264 + 9238, + 9266 ], "filename": "User.js", "lineno": 397, @@ -2036,8 +2038,8 @@ "comment": "", "meta": { "range": [ - 9276, - 9309 + 9278, + 9311 ], "filename": "User.js", "lineno": 398, @@ -2060,8 +2062,8 @@ "comment": "", "meta": { "range": [ - 9343, - 9363 + 9345, + 9365 ], "filename": "User.js", "lineno": 405, diff --git a/src/structures/compiled/VoiceChannel.js.json b/src/structures/compiled/VoiceChannel.js.json index 579d9ea1..49f5a289 100644 --- a/src/structures/compiled/VoiceChannel.js.json +++ b/src/structures/compiled/VoiceChannel.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 268, - 4274 + 4276 ], "filename": "VoiceChannel.js", "lineno": 11, @@ -132,11 +132,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a voice channel.\n * @param {Client} client The client instance.\n * @param {Object} data The raw channel data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The id of the guild that the voice channel belongs to.\n * @param {Boolean?} options.nocache Whether the voice channel should be cached.\n */", + "comment": "/**\n * Creates the structure for a voice channel.\n * @param {Client} client The client instance.\n * @param {Object} data The raw channel data from Discord.\n * @param {Object} options Additional options for this structure.\n * @param {String} options.guildId The id of the guild that the voice channel belongs to.\n * @param {Boolean?} [options.nocache] Whether the voice channel should be cached.\n */", "meta": { "range": [ - 774, - 3049 + 776, + 3051 ], "filename": "VoiceChannel.js", "lineno": 24, @@ -200,6 +200,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether the voice channel should be cached.", "name": "options.nocache" @@ -216,7 +217,7 @@ "meta": { "range": [ 268, - 4274 + 4276 ], "filename": "VoiceChannel.js", "lineno": 11, @@ -285,6 +286,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether the voice channel should be cached.", "name": "options.nocache" @@ -295,8 +297,8 @@ "comment": "", "meta": { "range": [ - 802, - 809 + 804, + 811 ], "filename": "VoiceChannel.js", "lineno": 24, @@ -319,8 +321,8 @@ "comment": "", "meta": { "range": [ - 811, - 826 + 813, + 828 ], "filename": "VoiceChannel.js", "lineno": 24, @@ -343,8 +345,8 @@ "comment": "", "meta": { "range": [ - 833, - 847 + 835, + 849 ], "filename": "VoiceChannel.js", "lineno": 24, @@ -367,8 +369,8 @@ "comment": "", "meta": { "range": [ - 879, - 886 + 881, + 888 ], "filename": "VoiceChannel.js", "lineno": 25, @@ -391,8 +393,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1386, - 1408 + 1388, + 1410 ], "filename": "VoiceChannel.js", "lineno": 41, @@ -423,8 +425,8 @@ "comment": "", "meta": { "range": [ - 1421, - 1473 + 1423, + 1475 ], "filename": "VoiceChannel.js", "lineno": 43, @@ -449,8 +451,8 @@ "comment": "/**\n * The bitrate of the channel.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 1622, - 1650 + 1624, + 1652 ], "filename": "VoiceChannel.js", "lineno": 51, @@ -481,8 +483,8 @@ "comment": "", "meta": { "range": [ - 1708, - 1740 + 1710, + 1742 ], "filename": "VoiceChannel.js", "lineno": 53, @@ -507,8 +509,8 @@ "comment": "/**\n * The user limit of the channel.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 1895, - 1929 + 1897, + 1931 ], "filename": "VoiceChannel.js", "lineno": 61, @@ -539,8 +541,8 @@ "comment": "", "meta": { "range": [ - 2001, - 2038 + 2003, + 2040 ], "filename": "VoiceChannel.js", "lineno": 63, @@ -565,8 +567,8 @@ "comment": "/**\n * The region of the voice channel.\n * @type {String}\n * @private\n */", "meta": { "range": [ - 2195, - 2229 + 2197, + 2231 ], "filename": "VoiceChannel.js", "lineno": 71, @@ -597,8 +599,8 @@ "comment": "", "meta": { "range": [ - 2301, - 2338 + 2303, + 2340 ], "filename": "VoiceChannel.js", "lineno": 73, @@ -623,8 +625,8 @@ "comment": "", "meta": { "range": [ - 2351, - 2458 + 2353, + 2460 ], "filename": "VoiceChannel.js", "lineno": 75, @@ -649,8 +651,8 @@ "comment": "", "meta": { "range": [ - 2892, - 2897 + 2894, + 2899 ], "filename": "VoiceChannel.js", "lineno": 94, @@ -675,8 +677,8 @@ "comment": "", "meta": { "range": [ - 2995, - 3013 + 2997, + 3015 ], "filename": "VoiceChannel.js", "lineno": 96, @@ -699,8 +701,8 @@ "comment": "", "meta": { "range": [ - 3025, - 3032 + 3027, + 3034 ], "filename": "VoiceChannel.js", "lineno": 97, @@ -723,8 +725,8 @@ "comment": "/**\n * The bitrate of the channel.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3146, - 3191 + 3148, + 3193 ], "filename": "VoiceChannel.js", "lineno": 107, @@ -759,8 +761,8 @@ "comment": "/**\n * The user limit of the channel.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3291, - 3341 + 3293, + 3343 ], "filename": "VoiceChannel.js", "lineno": 117, @@ -795,8 +797,8 @@ "comment": "/**\n * The region of the voice channel.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 3443, - 3493 + 3445, + 3495 ], "filename": "VoiceChannel.js", "lineno": 127, @@ -831,8 +833,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 3535, - 3592 + 3537, + 3594 ], "filename": "VoiceChannel.js", "lineno": 135, @@ -860,8 +862,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 3634, - 3691 + 3636, + 3693 ], "filename": "VoiceChannel.js", "lineno": 143, @@ -889,8 +891,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n * @override\n */", "meta": { "range": [ - 3891, - 4272 + 3893, + 4274 ], "filename": "VoiceChannel.js", "lineno": 155, @@ -942,8 +944,8 @@ "comment": "", "meta": { "range": [ - 4145, - 4166 + 4147, + 4168 ], "filename": "VoiceChannel.js", "lineno": 163, @@ -966,8 +968,8 @@ "comment": "", "meta": { "range": [ - 4178, - 4204 + 4180, + 4206 ], "filename": "VoiceChannel.js", "lineno": 164, @@ -990,8 +992,8 @@ "comment": "", "meta": { "range": [ - 4216, - 4242 + 4218, + 4244 ], "filename": "VoiceChannel.js", "lineno": 165, @@ -1014,8 +1016,8 @@ "comment": "", "meta": { "range": [ - 4276, - 4304 + 4278, + 4306 ], "filename": "VoiceChannel.js", "lineno": 172, diff --git a/src/structures/compiled/VoiceState.js.json b/src/structures/compiled/VoiceState.js.json index 8770ad41..6598b72b 100644 --- a/src/structures/compiled/VoiceState.js.json +++ b/src/structures/compiled/VoiceState.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 368, - 9118 + 9120 ], "filename": "VoiceState.js", "lineno": 15, @@ -229,11 +229,11 @@ "access": "private" }, { - "comment": "/**\n * Creates the structure for a voice state.\n * @param {Client} client The client instance.\n * @param {Object} data The raw voice state data from Discord.\n * @param {Object} options The additional options for this structure.\n * @param {String} options.guildId The id of the guild that the voice state belongs to.\n * @param {Boolean?} options.nocache Whether this voice state should be cached.\n */", + "comment": "/**\n * Creates the structure for a voice state.\n * @param {Client} client The client instance.\n * @param {Object} data The raw voice state data from Discord.\n * @param {Object} options The additional options for this structure.\n * @param {String} options.guildId The id of the guild that the voice state belongs to.\n * @param {Boolean?} [options.nocache] Whether this voice state should be cached.\n */", "meta": { "range": [ - 929, - 4280 + 931, + 4282 ], "filename": "VoiceState.js", "lineno": 32, @@ -297,6 +297,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this voice state should be cached.", "name": "options.nocache" @@ -313,7 +314,7 @@ "meta": { "range": [ 368, - 9118 + 9120 ], "filename": "VoiceState.js", "lineno": 15, @@ -379,6 +380,7 @@ "Boolean" ] }, + "optional": true, "nullable": true, "description": "Whether this voice state should be cached.", "name": "options.nocache" @@ -389,8 +391,8 @@ "comment": "", "meta": { "range": [ - 957, - 964 + 959, + 966 ], "filename": "VoiceState.js", "lineno": 32, @@ -413,8 +415,8 @@ "comment": "", "meta": { "range": [ - 966, - 981 + 968, + 983 ], "filename": "VoiceState.js", "lineno": 32, @@ -437,8 +439,8 @@ "comment": "", "meta": { "range": [ - 988, - 1002 + 990, + 1004 ], "filename": "VoiceState.js", "lineno": 32, @@ -461,8 +463,8 @@ "comment": "/**\n * The client instance.\n * @type {Client}\n * @private\n */", "meta": { "range": [ - 1502, - 1524 + 1504, + 1526 ], "filename": "VoiceState.js", "lineno": 47, @@ -493,8 +495,8 @@ "comment": "/**\n * The id of the guild that this voice state belongs to.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 1646, - 1679 + 1648, + 1681 ], "filename": "VoiceState.js", "lineno": 54, @@ -525,8 +527,8 @@ "comment": "", "meta": { "range": [ - 1708, - 1840 + 1710, + 1842 ], "filename": "VoiceState.js", "lineno": 57, @@ -552,8 +554,8 @@ "comment": "", "meta": { "range": [ - 1853, - 1913 + 1855, + 1915 ], "filename": "VoiceState.js", "lineno": 61, @@ -578,8 +580,8 @@ "comment": "/**\n * The id of the channel involved.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 2013, - 2056 + 2015, + 2058 ], "filename": "VoiceState.js", "lineno": 68, @@ -610,8 +612,8 @@ "comment": "/**\n * The attributes of the voice state.\n * @type {Number}\n * @private\n */", "meta": { "range": [ - 2159, - 2200 + 2161, + 2202 ], "filename": "VoiceState.js", "lineno": 75, @@ -642,8 +644,8 @@ "comment": "", "meta": { "range": [ - 2230, - 2259 + 2232, + 2261 ], "filename": "VoiceState.js", "lineno": 77, @@ -668,8 +670,8 @@ "comment": "", "meta": { "range": [ - 2289, - 2318 + 2291, + 2320 ], "filename": "VoiceState.js", "lineno": 79, @@ -694,8 +696,8 @@ "comment": "", "meta": { "range": [ - 2353, - 2382 + 2355, + 2384 ], "filename": "VoiceState.js", "lineno": 81, @@ -720,8 +722,8 @@ "comment": "", "meta": { "range": [ - 2417, - 2446 + 2419, + 2448 ], "filename": "VoiceState.js", "lineno": 83, @@ -746,8 +748,8 @@ "comment": "", "meta": { "range": [ - 2483, - 2512 + 2485, + 2514 ], "filename": "VoiceState.js", "lineno": 85, @@ -772,8 +774,8 @@ "comment": "", "meta": { "range": [ - 2548, - 2577 + 2550, + 2579 ], "filename": "VoiceState.js", "lineno": 87, @@ -798,8 +800,8 @@ "comment": "", "meta": { "range": [ - 2611, - 2640 + 2613, + 2642 ], "filename": "VoiceState.js", "lineno": 89, @@ -824,8 +826,8 @@ "comment": "/**\n * The member the voice state is about.\n * @type {Member?}\n * @private\n */", "meta": { "range": [ - 2779, - 2922 + 2781, + 2924 ], "filename": "VoiceState.js", "lineno": 97, @@ -857,8 +859,8 @@ "comment": "", "meta": { "range": [ - 2843, - 2863 + 2845, + 2865 ], "filename": "VoiceState.js", "lineno": 98, @@ -881,8 +883,8 @@ "comment": "", "meta": { "range": [ - 2873, - 2895 + 2875, + 2897 ], "filename": "VoiceState.js", "lineno": 99, @@ -905,8 +907,8 @@ "comment": "", "meta": { "range": [ - 2905, - 2912 + 2907, + 2914 ], "filename": "VoiceState.js", "lineno": 100, @@ -929,8 +931,8 @@ "comment": "", "meta": { "range": [ - 2933, - 2993 + 2935, + 2995 ], "filename": "VoiceState.js", "lineno": 102, @@ -955,8 +957,8 @@ "comment": "/**\n * The id of the user the voice state is about.\n * @type {BigInt}\n * @private\n */", "meta": { "range": [ - 3106, - 3143 + 3108, + 3145 ], "filename": "VoiceState.js", "lineno": 109, @@ -987,8 +989,8 @@ "comment": "", "meta": { "range": [ - 3296, - 3322 + 3298, + 3324 ], "filename": "VoiceState.js", "lineno": 116, @@ -1013,8 +1015,8 @@ "comment": "", "meta": { "range": [ - 3391, - 3421 + 3393, + 3423 ], "filename": "VoiceState.js", "lineno": 118, @@ -1039,8 +1041,8 @@ "comment": "", "meta": { "range": [ - 3432, - 3470 + 3434, + 3472 ], "filename": "VoiceState.js", "lineno": 119, @@ -1065,8 +1067,8 @@ "comment": "", "meta": { "range": [ - 3638, - 3745 + 3640, + 3747 ], "filename": "VoiceState.js", "lineno": 127, @@ -1091,8 +1093,8 @@ "comment": "", "meta": { "range": [ - 3758, - 3868 + 3760, + 3870 ], "filename": "VoiceState.js", "lineno": 130, @@ -1117,8 +1119,8 @@ "comment": "/**\n * Is server deafened?\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 4370, - 4443 + 4372, + 4445 ], "filename": "VoiceState.js", "lineno": 155, @@ -1153,8 +1155,8 @@ "comment": "/**\n * Is server muted?\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 4530, - 4603 + 4532, + 4605 ], "filename": "VoiceState.js", "lineno": 165, @@ -1189,8 +1191,8 @@ "comment": "/**\n * Is self defeaned?\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 4691, - 4768 + 4693, + 4770 ], "filename": "VoiceState.js", "lineno": 175, @@ -1225,8 +1227,8 @@ "comment": "/**\n * Is self muted?\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 4853, - 4930 + 4855, + 4932 ], "filename": "VoiceState.js", "lineno": 185, @@ -1261,8 +1263,8 @@ "comment": "/**\n * Is streaming?\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 5014, - 5093 + 5016, + 5095 ], "filename": "VoiceState.js", "lineno": 195, @@ -1297,8 +1299,8 @@ "comment": "/**\n * Is sharing video?\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 5181, - 5259 + 5183, + 5261 ], "filename": "VoiceState.js", "lineno": 205, @@ -1333,8 +1335,8 @@ "comment": "/**\n * Is suppressed (for stage channels)?\n * @readonly\n * @type {Boolean}\n * @public\n */", "meta": { "range": [ - 5365, - 5442 + 5367, + 5444 ], "filename": "VoiceState.js", "lineno": 215, @@ -1369,8 +1371,8 @@ "comment": "/**\n * The guild that this voice state belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5555, - 5631 + 5557, + 5633 ], "filename": "VoiceState.js", "lineno": 225, @@ -1406,8 +1408,8 @@ "comment": "/**\n * The id of the guild that this voice state belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5754, - 5809 + 5756, + 5811 ], "filename": "VoiceState.js", "lineno": 235, @@ -1442,8 +1444,8 @@ "comment": "/**\n * The channel involved.\n * @type {Channel?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 5902, - 5982 + 5904, + 5984 ], "filename": "VoiceState.js", "lineno": 245, @@ -1479,8 +1481,8 @@ "comment": "/**\n * The id of the channel involved.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6083, - 6142 + 6085, + 6144 ], "filename": "VoiceState.js", "lineno": 255, @@ -1515,8 +1517,8 @@ "comment": "/**\n * The member the voice state is about.\n * @type {Member?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6249, - 6292 + 6251, + 6294 ], "filename": "VoiceState.js", "lineno": 265, @@ -1552,8 +1554,8 @@ "comment": "/**\n * The id of the user the voice state is about.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6406, - 6461 + 6408, + 6463 ], "filename": "VoiceState.js", "lineno": 275, @@ -1588,8 +1590,8 @@ "comment": "/**\n * The UNIX time the user joined the voice channel.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6579, - 6622 + 6581, + 6624 ], "filename": "VoiceState.js", "lineno": 285, @@ -1624,8 +1626,8 @@ "comment": "/**\n * The UNIX timestamp of when the user requested to speak.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6748, - 6828 + 6750, + 6830 ], "filename": "VoiceState.js", "lineno": 295, @@ -1661,8 +1663,8 @@ "comment": "/**\n * Determines whether the voice state should be cached.\n * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client.\n * @param {GuildCacheOptions} guildCacheOptions The cache options for the guild.\n * @returns {Boolean}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 7132, - 7672 + 7134, + 7674 ], "filename": "VoiceState.js", "lineno": 308, @@ -1722,8 +1724,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 7714, - 7775 + 7716, + 7777 ], "filename": "VoiceState.js", "lineno": 326, @@ -1751,8 +1753,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 7817, - 7874 + 7819, + 7876 ], "filename": "VoiceState.js", "lineno": 334, @@ -1780,8 +1782,8 @@ "comment": "/**\n * Returns the JSON representation of this structure.\n * @param {Number} [format] The format to return the data in.\n * @returns {Object}\n * @public\n * @method\n */", "meta": { "range": [ - 8059, - 9116 + 8061, + 9118 ], "filename": "VoiceState.js", "lineno": 345, @@ -1832,8 +1834,8 @@ "comment": "", "meta": { "range": [ - 8217, - 8239 + 8219, + 8241 ], "filename": "VoiceState.js", "lineno": 350, @@ -1856,8 +1858,8 @@ "comment": "", "meta": { "range": [ - 8251, - 8277 + 8253, + 8279 ], "filename": "VoiceState.js", "lineno": 351, @@ -1880,8 +1882,8 @@ "comment": "", "meta": { "range": [ - 8289, - 8319 + 8291, + 8321 ], "filename": "VoiceState.js", "lineno": 352, @@ -1904,8 +1906,8 @@ "comment": "", "meta": { "range": [ - 8331, - 8365 + 8333, + 8367 ], "filename": "VoiceState.js", "lineno": 353, @@ -1928,8 +1930,8 @@ "comment": "", "meta": { "range": [ - 8377, - 8399 + 8379, + 8401 ], "filename": "VoiceState.js", "lineno": 354, @@ -1952,8 +1954,8 @@ "comment": "", "meta": { "range": [ - 8411, - 8430 + 8413, + 8432 ], "filename": "VoiceState.js", "lineno": 355, @@ -1976,8 +1978,8 @@ "comment": "", "meta": { "range": [ - 8442, - 8505 + 8444, + 8507 ], "filename": "VoiceState.js", "lineno": 356, @@ -2000,8 +2002,8 @@ "comment": "", "meta": { "range": [ - 8616, - 8638 + 8618, + 8640 ], "filename": "VoiceState.js", "lineno": 362, @@ -2024,8 +2026,8 @@ "comment": "", "meta": { "range": [ - 8650, - 8676 + 8652, + 8678 ], "filename": "VoiceState.js", "lineno": 363, @@ -2048,8 +2050,8 @@ "comment": "", "meta": { "range": [ - 8688, - 8703 + 8690, + 8705 ], "filename": "VoiceState.js", "lineno": 364, @@ -2072,8 +2074,8 @@ "comment": "", "meta": { "range": [ - 8715, - 8730 + 8717, + 8732 ], "filename": "VoiceState.js", "lineno": 365, @@ -2096,8 +2098,8 @@ "comment": "", "meta": { "range": [ - 8742, - 8766 + 8744, + 8768 ], "filename": "VoiceState.js", "lineno": 366, @@ -2120,8 +2122,8 @@ "comment": "", "meta": { "range": [ - 8778, - 8802 + 8780, + 8804 ], "filename": "VoiceState.js", "lineno": 367, @@ -2144,8 +2146,8 @@ "comment": "", "meta": { "range": [ - 8814, - 8842 + 8816, + 8844 ], "filename": "VoiceState.js", "lineno": 368, @@ -2168,8 +2170,8 @@ "comment": "", "meta": { "range": [ - 8854, - 8880 + 8856, + 8882 ], "filename": "VoiceState.js", "lineno": 369, @@ -2192,8 +2194,8 @@ "comment": "", "meta": { "range": [ - 8892, - 8915 + 8894, + 8917 ], "filename": "VoiceState.js", "lineno": 370, @@ -2216,8 +2218,8 @@ "comment": "", "meta": { "range": [ - 8927, - 8946 + 8929, + 8948 ], "filename": "VoiceState.js", "lineno": 371, @@ -2240,8 +2242,8 @@ "comment": "", "meta": { "range": [ - 8958, - 8980 + 8960, + 8982 ], "filename": "VoiceState.js", "lineno": 372, @@ -2264,8 +2266,8 @@ "comment": "", "meta": { "range": [ - 8992, - 9011 + 8994, + 9013 ], "filename": "VoiceState.js", "lineno": 373, @@ -2288,8 +2290,8 @@ "comment": "", "meta": { "range": [ - 9023, - 9086 + 9025, + 9088 ], "filename": "VoiceState.js", "lineno": 374, @@ -2312,8 +2314,8 @@ "comment": "", "meta": { "range": [ - 9120, - 9146 + 9122, + 9148 ], "filename": "VoiceState.js", "lineno": 381,