diff --git a/dist/src/Client.d.ts b/dist/src/Client.d.ts index fd01e960..97352e74 100644 --- a/dist/src/Client.d.ts +++ b/dist/src/Client.d.ts @@ -124,7 +124,7 @@ declare class Client extends TypedEmitter<{ * @readonly * @public */ - public readonly get shardIds(): number[]; + public readonly get shardIds(): Array; /** * The total number of shards that this client is managing. * @type {Number} diff --git a/dist/src/Client.d.ts.map b/dist/src/Client.d.ts.map index 5809f4d3..8ca04afd 100644 --- a/dist/src/Client.d.ts.map +++ b/dist/src/Client.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Client.d.ts","sourceRoot":"","sources":["../../src/Client.js"],"names":[],"mappings":";AA+BA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH;WAtDa,CAAC,WAAW,EAAE,QAAQ,KAAK,IAAI;aAC7B,MAAM,IAAI;iBACN,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;iBACtB,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI;iBACtB,CAAC,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,KAAK,IAAI;mBACxC,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;mBAC1B,CAAC,UAAU,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI;mBAClD,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI;uBACtB,CAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,IAAI;8BACtB,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI;iBACzC,CAAC,UAAU,EAAE,IAAI,KAAK,IAAI;oBACvB,CAAC,YAAY,EAAE,IAAI,KAAK,IAAI;oBAC5B,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI;uBACrB,CAAC,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI;uBAC9C,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI;iBAC9B,CAAC,WAAW,EAAE,WAAW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sCAEC;IAED;;;;;OAKG;IACH,6BAJU,WAAW,CAMpB;IAED;;;;;OAKG;IACH,8BAJU,YAAY,CAMrB;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,8BAFa,IAAI,CAIhB;IAED;;;;;OAKG;IACH,eAFa,IAAI,CAIhB;IAED;;;;;OAKG;IACH,2BAoBC;IAED;;;;;;;OAOG;IACH,oDAJa,IAAI,CAmChB;IAED;;;;;OAKG;IACH,6BA8CC;IAED;;;;;OAKG;IACH,qCAJU,iBAAiB,CAM1B;IAED;;;;;OAKG;IACH,iDAJU,iBAAiB,CAM1B;IAED;;;;;OAKG;IACH,gCAQC;IAED;;;;;OAKG;IACH,sBAJa,KAAK,KAAQ,CAMzB;IAED;;;;;;;;;;OAUG;IACH,kCATW,KAAK,CAAC,OAAO,CAAC,GACZ,KAAK,KAAQ,CAsBzB;IAED;;;;;;OAMG;IACH,sBALa,KAAK,KAAQ,CAOzB;IAED;;;;;;;;;;OAUG;IACH,oCARG;QAAsB,IAAI;QACJ,KAAK;KAC3B,GAAU,OAAO,CAAC,IAAI,CAAC,CAgBzB;IAED;;;;;;;;;;;;OAYG;IACH,sDAVG;QAAuB,IAAI;QACJ,IAAI;QACJ,MAAM;QACL,GAAG;QACJ,KAAK;KAC5B,GAAU,IAAI,CAkBhB;IAED;;;;;;;OAOG;IACH,6BALa,IAAI,CA+EhB;IApEC,8BAA0D;;CAqE7D;kBA3qBiB,uBAAuB;iBACxB,sBAAsB;6BAZV,oBAAoB;wBASzB,2BAA2B;yBAC1B,4BAA4B;8BAIvB,iCAAiC;8BACjC,iCAAiC;oBAC3C,kCAAkC;iCAdrB,gCAAgC"} \ No newline at end of file diff --git a/dist/src/constants.d.ts.map b/dist/src/constants.d.ts.map index fbe42b67..e10082f6 100644 --- a/dist/src/constants.d.ts.map +++ b/dist/src/constants.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.js"],"names":[],"mapp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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4OxE,oDAAwD;AACxD,iDAAoD;AACpD,0CAA8C;AAC9C,wCAAyC,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkD5C,uCAA+D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmF/D,qDAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0DF,wCACkD;;;;;;AAMlD,gCAAiD"} \ No newline at end of file diff --git a/dist/src/managers/ChannelMessageManager.d.ts.map b/dist/src/managers/ChannelMessageManager.d.ts.map index 9673a3d0..78831105 100644 --- a/dist/src/managers/ChannelMessageManager.d.ts.map +++ b/dist/src/managers/ChannelMessageManager.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ChannelMessageManager.d.ts","sourceRoot":"","sources":["../../../src/managers/ChannelMessageManager.js"],"names":[],"mappings":";AAOA;;GAEG;AACH;IAIE,0BAA+B;IAsI/B;;;;;;;;;;OAUG;IACH,sCATW,MAAM,uCAGJ,qBAAqB,CAcjC;IAED;;;;;;;;;;;OAWG;IACH,iCAVW,MAAM,0DAIJ,OAAO,CAqBnB;IAED;;;;;;;;;;;;OAYG;IACH,mCAXW,MAAM,0DAIJ,OAAO,CA6DnB;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,oCAfW,MAAM,yEAId;QAAwB,MAAM;QACN,MAAM;QACN,KAAK;QACL,KAAK;KAC7B,GAAU,KAAK,CAAC,OAAO,CAAC,CAgG1B;IAED;;;;;;;;;;;;OAYG;IACH,2CAXW,MAAM,6CAEN,KAAK,QAAQ,oBAEX,OAAO,CAAC,IAAI,CAAC,CA2DzB;IAzaD;;;;;;;;OAQG;IACH,oBAPW,MAAM,SACN,KAAK,WACL,OAAO,EAmCjB;IAED;;;;OAIG;IACH,4BAEC;IAED;;;;;;;;OAQG;IACH,sBAPW,YAAe,GACb,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAuCtD;IAED;;;;;;OAMG;IACH,sBALa,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAmBnC;IAED;;;;;;;;;OASG;IACH,yCAPW,OAAO,GACL,OAAO,CAUnB;;CAuSF;6BArb4B,uBAAuB;oBAFhC,0BAA0B;mBAF3B,cAAc"} \ No newline at end of file +{"version":3,"file":"ChannelMessageManager.d.ts","sourceRoot":"","sources":["../../../src/managers/ChannelMessageManager.js"],"names":[],"mappings":";AAOA;;GAEG;AACH;IAIE,0BAA+B;IAsI/B;;;;;;;;;;OAUG;IACH,sCATW,MAAM,uCAGJ,qBAAqB,CAcjC;IAED;;;;;;;;;;;OAWG;IACH,iCAVW,MAAM,0DAIJ,OAAO,CAqBnB;IAED;;;;;;;;;;;;OAYG;IACH,mCAXW,MAAM,0DAIJ,OAAO,CA6DnB;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,oCAfW,MAAM,yEAId;QAAwB,MAAM;QACN,MAAM;QACN,KAAK;QACL,KAAK;KAC7B,GAAU,KAAK,CAAC,OAAO,CAAC,CAgG1B;IAED;;;;;;;;;;;;OAYG;IACH,2CAXW,MAAM,6CAEN,KAAK,QAAQ,oBAEX,OAAO,CAAC,IAAI,CAAC,CA2DzB;IAzaD;;;;;;;;OAQG;IACH,oBAPW,MAAM,SACN,KAAK,WACL,OAAO,EAmCjB;IAED;;;;OAIG;IACH,sBAHU,KAAK,CAKd;IAED;;;;;;;;OAQG;IACH,sBAPW,YAAe,GACb,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAG,OAAO,CAAC,OAAO,CAAC,CAuCtD;IAED;;;;;;OAMG;IACH,sBALa,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAmBnC;IAED;;;;;;;;;OASG;IACH,yCAPW,OAAO,GACL,OAAO,CAUnB;;CAuSF;6BArb4B,uBAAuB;oBAFhC,0BAA0B;mBAF3B,cAAc"} \ No newline at end of file diff --git a/dist/src/managers/GuildMemberManager.d.ts.map b/dist/src/managers/GuildMemberManager.d.ts.map index cf93127f..185a2032 100644 --- a/dist/src/managers/GuildMemberManager.d.ts.map +++ b/dist/src/managers/GuildMemberManager.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"GuildMemberManager.d.ts","sourceRoot":"","sources":["../../../src/managers/GuildMemberManager.js"],"names":[],"mappings":";AAIA;;GAEG;AACH;IAGE,0BAA8B;IAwF9B;;;;;OAKG;IACH,+BAJW,MAAM,oBAEJ,kBAAkB,CAQ9B;IAED;;;;;;;;;;;OAWG;IACH,kCAVW,MAAM,oCAGJ,OAAO,CAAC,MAAM,CAAC,CA8B3B;IAED;;;;;;;;;;;OAWG;IACH,6BAVW,MAAM,mCAGJ,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,OAAC,CAAC,CAqCnC;IApLD;;;;OAIG;IACH,oBAHW,MAAM,SACN,KAAK,EAuBf;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;;;;OAQG;IACH,+BANa,OAAO,CAAC,MAAM,CAAC,CAY3B;IAED;;;;;;;;OAQG;IACH,8BANa,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,OAAC,CAAC,CAWnC;IAED;;;;;;;;;OASG;IACH,wCAPW,MAAM,GACJ,MAAM,CAUlB;;CAgGF;6BA9L4B,uBAAuB;mBADjC,yBAAyB;mBADzB,cAAc"} \ No newline at end of file +{"version":3,"file":"GuildMemberManager.d.ts","sourceRoot":"","sources":["../../../src/managers/GuildMemberManager.js"],"names":[],"mappings":";AAIA;;GAEG;AACH;IAGE,0BAA8B;IAwF9B;;;;;OAKG;IACH,+BAJW,MAAM,oBAEJ,kBAAkB,CAQ9B;IAED;;;;;;;;;;;OAWG;IACH,kCAVW,MAAM,oCAGJ,OAAO,CAAC,MAAM,CAAC,CA8B3B;IAED;;;;;;;;;;;OAWG;IACH,6BAVW,MAAM,mCAGJ,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,OAAC,CAAC,CAqCnC;IApLD;;;;OAIG;IACH,oBAHW,MAAM,SACN,KAAK,EAuBf;IAED;;;;;OAKG;IACH,6BAJU,KAAK,CAMd;IAED;;;;;;;;OAQG;IACH,+BANa,OAAO,CAAC,MAAM,CAAC,CAY3B;IAED;;;;;;;;OAQG;IACH,8BANa,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,OAAC,CAAC,CAWnC;IAED;;;;;;;;;OASG;IACH,wCAPW,MAAM,GACJ,MAAM,CAUlB;;CAgGF;6BA9L4B,uBAAuB;mBADjC,yBAAyB;mBADzB,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Attachment.d.ts b/dist/src/structures/Attachment.d.ts index d069c08a..355d4aa5 100644 --- a/dist/src/structures/Attachment.d.ts +++ b/dist/src/structures/Attachment.d.ts @@ -4,6 +4,7 @@ export default Attachment; * @see {@link https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure} */ declare class Attachment { + [x: number]: () => string; /** * Creates a structure for an attachment. * @param {Client} client The client instance. diff --git a/dist/src/structures/Attachment.d.ts.map b/dist/src/structures/Attachment.d.ts.map index d1306b05..945e4781 100644 --- a/dist/src/structures/Attachment.d.ts.map +++ b/dist/src/structures/Attachment.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/structures/Attachment.js"],"names":[],"mappings":";AAKA;;;GAGG;AACH;IAQE;;;;;;OAMG;IACH,oBALW,MAAM,6BAGd;QAAwB,SAAS;KACnC,EAyDA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,kCAWC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;OAIG;IACH,oBAHa,OAAO,CAAC,WAAW,CAAC,CAMhC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAoBC;;CACF;mBAlMkB,cAAc"} \ No newline at end of file +{"version":3,"file":"Attachment.d.ts","sourceRoot":"","sources":["../../../src/structures/Attachment.js"],"names":[],"mappings":";AAKA;;;GAGG;AACH;;IAQE;;;;;;OAMG;IACH,oBALW,MAAM,6BAGd;QAAwB,SAAS;KACnC,EAyDA;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,kCAWC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;OAIG;IACH,oBAHa,OAAO,CAAC,WAAW,CAAC,CAMhC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAoBC;;CACF;mBAlMkB,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/AuditLog.d.ts b/dist/src/structures/AuditLog.d.ts index 33954968..b720f7a6 100644 --- a/dist/src/structures/AuditLog.d.ts +++ b/dist/src/structures/AuditLog.d.ts @@ -4,6 +4,7 @@ export default AuditLog; * @see {@link https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object} */ declare class AuditLog { + [x: number]: () => string; /** * Creates a structure for an audit log entry. * @param {Client} client The client instance. @@ -43,105 +44,105 @@ declare class AuditLog { * @readonly * @public */ - public readonly get targetId(): string; + public readonly get targetId(): string | null; /** * The channel id involved with this audit log entry. * @type {String?} * @readonly * @public */ - public readonly get channelId(): string; + public readonly get channelId(): string | null; /** * The guild that this audit log belongs to. * @type {Guild?} * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The channel involved with this audit log entry. * @type {(TextChannel | VoiceChannel)?} The channel involved with this audit log entry. * @readonly * @public */ - public readonly get channel(): any; + public readonly get channel(): (TextChannel | VoiceChannel) | null; /** * The target user involved with this audit log entry. * @type {User?} * @readonly * @public */ - public readonly get target(): User; + public readonly get target(): User | null; /** * The executor user involved with this audit log entry. * @type {String?} * @readonly * @public */ - public readonly get executorId(): string; + public readonly get executorId(): string | null; /** * The executor user involved with this audit log entry. * @type {User?} * @readonly * @public */ - public readonly get executor(): User; + public readonly get executor(): User | null; /** * The reason for this audit log entry. * @type {String?} * @readonly * @public */ - public readonly get reason(): string; + public readonly get reason(): string | null; /** * The count of this type of audit log entry. * @type {Number?} * @readonly * @public */ - public readonly get count(): number; + public readonly get count(): number | null; /** * The inactivity period for when members are purged. * @type {Number?} * @readonly * @public */ - public readonly get deleteMemberDays(): number; + public readonly get deleteMemberDays(): number | null; /** * The number of members removed for when members are purged. * @type {Number?} * @readonly * @public */ - public readonly get membersRemoved(): number; + public readonly get membersRemoved(): number | null; /** * The id of the overwritten entity. * @type {String?} * @readonly * @public */ - public readonly get specialId(): string; + public readonly get specialId(): string | null; /** * The type of the overwritten entity - role ("0") or member ("1") * @type {Number?} * @readonly * @public */ - public readonly get specialType(): number; + public readonly get specialType(): number | null; /** * The new voice channel status. * @type {String?} * @readonly * @public */ - public readonly get status(): string; + public readonly get status(): string | null; /** * The changes in this audit log entry. * @type {Object?} * @readonly * @public */ - public readonly get changes(): any; + public readonly get changes(): any | null; /** * @method * @public diff --git a/dist/src/structures/AuditLog.d.ts.map b/dist/src/structures/AuditLog.d.ts.map index 03e7cf31..2b58a443 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,uCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,+CAEC;IAED;;;;;OAKG;IACH,6CAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,mCAEC;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;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 diff --git a/dist/src/structures/ButtonClick.d.ts.map b/dist/src/structures/ButtonClick.d.ts.map index 6a7ff9ae..151f9b87 100644 --- a/dist/src/structures/ButtonClick.d.ts.map +++ b/dist/src/structures/ButtonClick.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ButtonClick.d.ts","sourceRoot":"","sources":["../../../src/structures/ButtonClick.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAIE;;;;;;;OAOG;IACH,oBANW,MAAM,sCAGd;QAAwB,OAAO;QACP,SAAS;KACnC,EAoCA;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;;OAMG;IACH,uCAEC;;CA0CF;wBAvHuB,kBAAkB;oBACtB,cAAc;mBAHf,cAAc"} \ No newline at end of file +{"version":3,"file":"ButtonClick.d.ts","sourceRoot":"","sources":["../../../src/structures/ButtonClick.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAIE;;;;;;;OAOG;IACH,oBANW,MAAM,sCAGd;QAAwB,OAAO;QACP,SAAS;KACnC,EAoCA;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;;OAMG;IACH,+BALU,OAAO,CAOhB;;CA0CF;wBAvHuB,kBAAkB;oBACtB,cAAc;mBAHf,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/CategoryChannel.d.ts b/dist/src/structures/CategoryChannel.d.ts index 006d9e7f..461ebf71 100644 --- a/dist/src/structures/CategoryChannel.d.ts +++ b/dist/src/structures/CategoryChannel.d.ts @@ -1,5 +1,6 @@ export default CategoryChannel; declare class CategoryChannel { + [x: number]: () => string; /** * Creates the structure for a category channel. * @param {Client} client The client instance. @@ -32,7 +33,7 @@ declare class CategoryChannel { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The name of the channel. * @type {String} @@ -53,7 +54,7 @@ declare class CategoryChannel { * @readonly * @public */ - public readonly get permissionOverwrites(): PermissionOverwrite[]; + public readonly get permissionOverwrites(): Array; /** * Whether the channel is nsfw. * @type {Boolean} diff --git a/dist/src/structures/CategoryChannel.d.ts.map b/dist/src/structures/CategoryChannel.d.ts.map index be05492e..6c3e7511 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,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,kEAEC;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;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 diff --git a/dist/src/structures/Channel.d.ts b/dist/src/structures/Channel.d.ts index eebb5994..ed2da18e 100644 --- a/dist/src/structures/Channel.d.ts +++ b/dist/src/structures/Channel.d.ts @@ -4,6 +4,7 @@ export default Channel; * @see {@link https://discord.com/developers/docs/resources/channel} */ declare class Channel { + [x: number]: () => string; /** * Returns the mention string for a channel. * @param {String} channelId The ID of the channel to mention. @@ -63,7 +64,7 @@ declare class Channel { * @param {Object} [data] Embeds, components and files to include with the message. * @param {String?} [data.content] The content of the message. * @param {Array?} [data.embeds] The embeds to include with the message. - * @param {Array?} [data.components] The components to include with the message. + * @param {MessageComponents?} [data.components] The components to include with the message. * @param {Array?} [data.files] The files to include with the message. * @param {Boolean} [data.suppressMentions] Whether to suppress mentions in the message. * @returns {Promise} @@ -76,7 +77,7 @@ declare class Channel { public send({ content, components, files, embeds, suppressMentions }?: { content?: string | null; embeds?: Array | null; - components?: Array | null; + components?: MessageComponents | null; files?: Array | null; suppressMentions?: boolean; }): Promise; @@ -100,14 +101,14 @@ declare class Channel { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The parent channel. * @type {Channel?} * @readonly * @public */ - public readonly get parent(): Channel; + public readonly get parent(): Channel | null; /** * The ID of the channel. * @type {String} @@ -128,7 +129,7 @@ declare class Channel { * @readonly * @public */ - public readonly get parentId(): string; + public readonly get parentId(): string | null; /** * The type of channel. * @type {Number} @@ -142,28 +143,28 @@ declare class Channel { * @readonly * @public */ - public readonly get name(): string; + public readonly get name(): string | null; /** * The topic of the channel. * @type {String?} * @readonly * @public */ - public readonly get topic(): string; + public readonly get topic(): string | null; /** * The permission overwrites for this channel. * @type {Array} * @readonly * @public */ - public readonly get permissionOverwrites(): any[]; + public readonly get permissionOverwrites(): Array; /** * The message send cooldown for the channel. * @type {Number?} * @readonly * @public */ - public readonly get rateLimitPerUser(): number; + public readonly get rateLimitPerUser(): number | null; /** * The cache options for this channel. * @type {ChannelCacheOptions} diff --git a/dist/src/structures/Channel.d.ts.map b/dist/src/structures/Channel.d.ts.map index 8f7e67c3..0abe345d 100644 --- a/dist/src/structures/Channel.d.ts.map +++ b/dist/src/structures/Channel.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../../src/structures/Channel.js"],"names":[],"mappings":";AAcA;;;GAGG;AACH;IA6UE;;;;;;;OAOG;IACH,oDAGC;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAED;;;;;;;;;;;OAWG;IACH,6BAVW,MAAM,+CAGJ,OAAO,CAAC,IAAI,CAAC,CAwBzB;IAED;;;;;;;;;OASG;IACH,oCARW,MAAM,sBAEJ,OAAO,CAAC,KAAK,KAAQ,CAAC,CAalC;IApZD;;;;;;;OAOG;IACH,oBANW,MAAM,2BAGd;QAAwB,OAAO;KAC/B,EA6IF;IAED;;;;;;;;;;;;;;OAcG;IACH,uEAZG;QAAuB,OAAO,GAAtB,aAAO;QACc,MAAM,GAA3B,KAAK,CAAC,KAAK,CAAC,OAAC;QACoB,UAAU,GAA3C,KAAK,CAAC,iBAAiB,CAAC,OAAC;QACC,KAAK,GAA/B,KAAK,CAAC,UAAU,CAAC,OAAC;QACH,gBAAgB;KACvC,GAAU,OAAO,CAAC,OAAO,CAAC,CAmB5B;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,sCAIC;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,kDAEC;IAED;;;;;OAKG;IACH,+CAEC;IAED;;;;;OAKG;IACH,yDAEC;IAED;;;;;OAKG;IACH,sDAEC;IAwFD;;;;OAIG;IACH,wBAHW,MAAM,UAuChB;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAoCC;;CACF;oBAthBmB,cAAc;gCAFF,oCAAoC;kCAClC,sCAAsC;mBAMrD,aAAa;8BAHF,kCAAkC;8BAClC,kCAAkC;mBAG7C,cAAc"} \ No newline at end of file +{"version":3,"file":"Channel.d.ts","sourceRoot":"","sources":["../../../src/structures/Channel.js"],"names":[],"mappings":";AAcA;;;GAGG;AACH;;IA6UE;;;;;;;OAOG;IACH,oDAGC;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,qBACjB,iBAAiB,WAkB3B;IAED;;;;;;;;;;;OAWG;IACH,6BAVW,MAAM,+CAGJ,OAAO,CAAC,IAAI,CAAC,CAwBzB;IAED;;;;;;;;;OASG;IACH,oCARW,MAAM,sBAEJ,OAAO,CAAC,KAAK,KAAQ,CAAC,CAalC;IApZD;;;;;;;OAOG;IACH,oBANW,MAAM,2BAGd;QAAwB,OAAO;KAC/B,EA6IF;IAED;;;;;;;;;;;;;;OAcG;IACH,uEAZG;QAAuB,OAAO,GAAtB,aAAO;QACc,MAAM,GAA3B,KAAK,CAAC,KAAK,CAAC,OAAC;QACa,UAAU,GAApC,iBAAiB,OAAC;QACQ,KAAK,GAA/B,KAAK,CAAC,UAAU,CAAC,OAAC;QACH,gBAAgB;KACvC,GAAU,OAAO,CAAC,OAAO,CAAC,CAmB5B;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,8BAJU,OAAO,OAAC,CAQjB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,gCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,4BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,6BAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,4CAJU,KAAK,KAAQ,CAMtB;IAED;;;;;OAKG;IACH,wCAJU,aAAO,CAMhB;IAED;;;;;OAKG;IACH,qCAJU,mBAAmB,CAM5B;IAED;;;;;OAKG;IACH,gCAJU,qBAAqB,CAM9B;IAwFD;;;;OAIG;IACH,wBAHW,MAAM,UAuChB;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAoCC;;CACF;oBAthBmB,cAAc;gCAFF,oCAAoC;kCAClC,sCAAsC;mBAMrD,aAAa;8BAHF,kCAAkC;8BAClC,kCAAkC;mBAG7C,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Emoji.d.ts b/dist/src/structures/Emoji.d.ts index a5322a1d..9ff1db61 100644 --- a/dist/src/structures/Emoji.d.ts +++ b/dist/src/structures/Emoji.d.ts @@ -4,6 +4,7 @@ export default Emoji; * @see {@link https://discord.com/developers/docs/resources/emoji#emoji-object-emoji-structure} */ declare class Emoji { + [x: number]: () => string; /** * Checks if the emoji is animated. * @param {Number} attributes The attributes of the emoji. @@ -108,14 +109,14 @@ declare class Emoji { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The id of the emoji, if it is custom. * @type {String?} * @readonly * @public */ - public readonly get id(): string; + public readonly get id(): string | null; /** * The name of the emoji. * @type {String} diff --git a/dist/src/structures/Emoji.d.ts.map b/dist/src/structures/Emoji.d.ts.map index a7d665cf..0b1139bc 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,mCAEC;IAED;;;;;OAKG;IACH,iCAEC;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;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 diff --git a/dist/src/structures/Guild.d.ts b/dist/src/structures/Guild.d.ts index 2be8d8bc..f705d85c 100644 --- a/dist/src/structures/Guild.d.ts +++ b/dist/src/structures/Guild.d.ts @@ -4,6 +4,7 @@ export default Guild; * @see {@link https://discord.com/developers/docs/resources/guild} */ declare class Guild { + [x: number]: () => string; /** * Deletes a webhook. * @param {Client} client The client instance. @@ -123,14 +124,14 @@ declare class Guild { * @type {String?} * @public */ - public readonly get _originalIconHash(): string; + public readonly get _originalIconHash(): string | null; /** * The icon URL of the guild. * @readonly * @type {String?} * @public */ - public readonly get displayIconURL(): string; + public readonly get displayIconURL(): string | null; /** * The owner of the guild. * @type {Member} @@ -269,7 +270,7 @@ declare class Guild { * @readonly * @public */ - public readonly get description(): string; + public readonly get description(): string | null; /** * The icon hash of the guild. * @type {String} @@ -297,28 +298,28 @@ declare class Guild { * @readonly * @public */ - public readonly get systemChannelId(): string; + public readonly get systemChannelId(): string | null; /** * The system channel of the guild. * @type {TextChannel?} * @readonly * @public */ - public readonly get systemChannel(): TextChannel; + public readonly get systemChannel(): TextChannel | null; /** * The rules channel id of the guild. * @type {String?} * @readonly * @public */ - public readonly get rulesChannelId(): string; + public readonly get rulesChannelId(): string | null; /** * The rules channel of the guild. * @type {TextChannel?} * @readonly * @public */ - public readonly get rulesChannel(): TextChannel; + public readonly get rulesChannel(): TextChannel | null; /** * The preferred locale of the guild. * @type {String} diff --git a/dist/src/structures/Guild.d.ts.map b/dist/src/structures/Guild.d.ts.map index c234a4f3..10776912 100644 --- a/dist/src/structures/Guild.d.ts.map +++ b/dist/src/structures/Guild.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Guild.d.ts","sourceRoot":"","sources":["../../../src/structures/Guild.js"],"names":[],"mappings":";AAgCA;;;GAGG;AACH;IA22CE;;;;;;;;;;OAUG;IACH,oCATW,MAAM,sBAEJ,OAAO,CAAC,IAAI,CAAC,CAazB;IAED;;;;;;;;;;;;OAYG;IACH,oCAXW,MAAM,gCAGd;QAAyB,IAAI;KAC7B,GAAU,OAAO,KAAQ,CAoB3B;IAED;;;;;;;;;;;;OAYG;IACH,oCAXW,MAAM,qCAGd;QAAwB,SAAS;KACjC,GAAU,OAAO,KAAQ,CAoB3B;IAED;;;;;;;;;;OAUG;IACH,mCATW,MAAM,sBAEJ,OAAO,KAAQ,CAa3B;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,kCAhBW,MAAM,iBAEd;QAA8B,EAAE;QACF,KAAK;KACnC,WAAQ,aAAO,kCACP,UAAO,GAIL,OAAO,CAAC,IAAI,CAAC,CA+BzB;IAED;;;;;;;;OAQG;IACH,wCANW,aAAO,UAgBjB;IAgBD;;;;;;;OAOG;IACH,6CANW,iBAAiB,WAa3B;IAhhDD;;;;;;;OAOG;IACH,oBANW,MAAM,2BAEN,UAAO,EAmfjB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,gDAKC;IAoBD;;;;;OAKG;IACH,6CAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;;OAMG;IACH,mDAiBC;IAED;;;;;;OAMG;IACH,oDAWC;IAED;;;;;;OAMG;IACH,uCAIC;IAED;;;;;;OAMG;IACH,0CAIC;IAED;;;;;;OAMG;IACH,gDAOC;IAED;;;;;;OAMG;IACH,mDAOC;IAED;;;;;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;;;;;;OAaG;IACH,gEAZW,UAAO,GAML,OAAO,CAAC,QAAQ,EAAE,OAAC,CAAC,CAsEhC;IAED;;;;;;;OAOG;IACH,uBANa,OAAO,CAAC,KAAQ,OAAC,CAAC,CAa9B;IAED;;;;;;;OAOG;IACH,wBANa,OAAO,CAAC,KAAK,CAAC,WAAW,GAAG,UAAU,CAAC,CAAC,CAgBpD;IAED;;;;;;;;OAQG;IACH,kCANa,OAAO,CAAC,UAAO,CAAC,CAgB5B;IAED;;;;;;;OAOG;IACH,gBANa,OAAO,CAAC,IAAI,OAAC,CAAC,CAQ1B;IAED;;;;;OAKG;IACH,4CAUC;IAED;;;;;OAKG;IACH,2CAQC;IAiKD;;;OAGG;IACH,iCAQC;IAmBD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAyDC;;CACF;mBA1oDkB,aAAa;8BAIF,kCAAkC;+BAbjC,mCAAmC;iCAHjC,qCAAqC;oCAMlC,wCAAwC;6BAF/C,iCAAiC;uCACvB,2CAA2C;+BAJnD,mCAAmC;+BACnC,mCAAmC;qBAO7C,eAAe;uBAMb,iBAAiB;mBAKrB,cAAc;8BAFH,kCAAkC"} \ No newline at end of file +{"version":3,"file":"Guild.d.ts","sourceRoot":"","sources":["../../../src/structures/Guild.js"],"names":[],"mappings":";AAgCA;;;GAGG;AACH;;IA22CE;;;;;;;;;;OAUG;IACH,oCATW,MAAM,sBAEJ,OAAO,CAAC,IAAI,CAAC,CAazB;IAED;;;;;;;;;;;;OAYG;IACH,oCAXW,MAAM,gCAGd;QAAyB,IAAI;KAC7B,GAAU,OAAO,KAAQ,CAoB3B;IAED;;;;;;;;;;;;OAYG;IACH,oCAXW,MAAM,qCAGd;QAAwB,SAAS;KACjC,GAAU,OAAO,KAAQ,CAoB3B;IAED;;;;;;;;;;OAUG;IACH,mCATW,MAAM,sBAEJ,OAAO,KAAQ,CAa3B;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,kCAhBW,MAAM,iBAEd;QA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OAGG;IACH,iCAQC;IAmBD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAyDC;;CACF;mBA1oDkB,aAAa;8BAIF,kCAAkC;+BAbjC,mCAAmC;iCAHjC,qCAAqC;oCAMlC,wCAAwC;6BAF/C,iCAAiC;uCACvB,2CAA2C;+BAJnD,mCAAmC;+BACnC,mCAAmC;qBAO7C,eAAe;uBAMb,iBAAiB;mBAKrB,cAAc;8BAFH,kCAAkC"} \ No newline at end of file diff --git a/dist/src/structures/Interaction.d.ts b/dist/src/structures/Interaction.d.ts index dce176d8..7a08cd70 100644 --- a/dist/src/structures/Interaction.d.ts +++ b/dist/src/structures/Interaction.d.ts @@ -4,6 +4,7 @@ export default Interaction; * @see {@link https://discord.com/developers/docs/interactions/slash-commands#interaction-object-interaction-structure} */ declare class Interaction { + [x: number]: () => string; /** * Edits a response to an interaction. Works up to 15 minutes after the response was sent. * @param {Client} client The client instance. @@ -60,7 +61,7 @@ declare class Interaction { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The id of the channel that this interaction belongs to. * @type {String} @@ -74,14 +75,14 @@ declare class Interaction { * @readonly * @public */ - public readonly get channel(): any; + public readonly get channel(): (TextChannel | VoiceChannel | Thread) | null; /** * The member that triggered the interaction, if it was run in a guild. * @type {Member?} * @readonly * @public */ - public readonly get member(): Member; + public readonly get member(): Member | null; /** * Prompts a user to enter text using a modal. * @param {Object} options Modal options. diff --git a/dist/src/structures/Interaction.d.ts.map b/dist/src/structures/Interaction.d.ts.map index 6d4ea0cb..d0c7a46b 100644 --- a/dist/src/structures/Interaction.d.ts.map +++ b/dist/src/structures/Interaction.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Interaction.d.ts","sourceRoot":"","sources":["../../../src/structures/Interaction.js"],"names":[],"mappings":";AASA;;;GAGG;AACH;IA0TE;;;;;;;;;;;;;;OAcG;IACH,2BAbW,MAAM,qEAEN,UAAO,GAKL,OAAO,CAAC,WAAW,CAAC,CA+BhC;IA1VD;;;;OAIG;IACH,oBAHW,MAAM,aA8DhB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;;;;;;;OAWG;IACH,wDATG;QAAwB,KAAK;QACL,QAAQ;QACL,cAAc,EAAjC,SAAS;KACjB,GAAU,OAAO,CAAC,IAAI,CAAC,CAmCzB;IAED;;;;;;;;;OASG;IACH,0CAPG;QAAsC,OAAO,EAArC,KAAK,CAAC,aAAa,CAAC;KAC5B,GAAU,OAAO,CAAC,WAAW,CAAC,CAsBhC;IAED;;;;;;;;;;;;OAYG;IACH,6DAXW,UAAO,GAML,OAAO,CAAC,WAAW,CAAC,CAoChC;IAED;;;;;;OAMG;IACH,sBALa,OAAO,CAAC,WAAW,CAAC,CAiBhC;IAED;;;;;;;;;;;;OAYG;IACH,qDAXW,UAAO,GAKL,OAAO,CAAC,WAAW,CAAC,CAahC;IA4CD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAeC;;CACF;mBAvZkB,aAAa;sBACV,qCAAqC;8BAK7B,YAAY;mBADvB,cAAc"} \ No newline at end of file +{"version":3,"file":"Interaction.d.ts","sourceRoot":"","sources":["../../../src/structures/Interaction.js"],"names":[],"mappings":";AASA;;;GAGG;AACH;;IA0TE;;;;;;;;;;;;;;OAcG;IACH,2BAbW,MAAM,qEAEN,UAAO,GAKL,OAAO,CAAC,WAAW,CAAC,CA+BhC;IA1VD;;;;OAIG;IACH,oBAHW,MAAM,aA8DhB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,+BAJU,CAAC,WAAW,GAAG,YAAY,GAAG,MAAM,CAAC,OAAC,CAM/C;IAED;;;;;OAKG;IACH,8BAJU,MAAM,OAAC,CAMhB;IAED;;;;;;;;;;;OAWG;IACH,wDATG;QAAwB,KAAK;QACL,QAAQ;QACL,cAAc,EAAjC,SAAS;KACjB,GAAU,OAAO,CAAC,IAAI,CAAC,CAmCzB;IAED;;;;;;;;;OASG;IACH,0CAPG;QAAsC,OAAO,EAArC,KAAK,CAAC,aAAa,CAAC;KAC5B,GAAU,OAAO,CAAC,WAAW,CAAC,CAsBhC;IAED;;;;;;;;;;;;OAYG;IACH,6DAXW,UAAO,GAML,OAAO,CAAC,WAAW,CAAC,CAoChC;IAED;;;;;;OAMG;IACH,sBALa,OAAO,CAAC,WAAW,CAAC,CAiBhC;IAED;;;;;;;;;;;;OAYG;IACH,qDAXW,UAAO,GAKL,OAAO,CAAC,WAAW,CAAC,CAahC;IA4CD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAeC;;CACF;mBAvZkB,aAAa;sBACV,qCAAqC;8BAK7B,YAAY;mBADvB,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Invite.d.ts b/dist/src/structures/Invite.d.ts index e141652a..5ffe6545 100644 --- a/dist/src/structures/Invite.d.ts +++ b/dist/src/structures/Invite.d.ts @@ -3,6 +3,7 @@ export default Invite; * Represents a guild invite. */ declare class Invite { + [x: number]: () => string; /** * Returns the URL of the invite. * @param {String} code The code of the invite. @@ -48,7 +49,7 @@ declare class Invite { * @readonly * @public */ - public readonly get channel(): any; + public readonly get channel(): (TextChannel | VoiceChannel) | null; /** * The code of the invite. * @type {String} @@ -76,28 +77,28 @@ declare class Invite { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The number of times the invite has been used. * @type {Number?} * @readonly * @public */ - public readonly get uses(): number; + public readonly get uses(): number | null; /** * The UNIX timestamp of when the invite expires. * @type {Number?} * @readonly * @public */ - public readonly get expires(): number; + public readonly get expires(): number | null; /** * The user who created the invite. * @type {User?} * @readonly * @public */ - public readonly get inviter(): User; + public readonly get inviter(): User | null; /** * The URL of the invite. * @type {String} @@ -111,7 +112,7 @@ declare class Invite { * @readonly * @public */ - public readonly get maxUses(): number; + public readonly get maxUses(): number | null; /** * @method * @public diff --git a/dist/src/structures/Invite.d.ts.map b/dist/src/structures/Invite.d.ts.map index b3cfcade..3cc1a181 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,mCAEC;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,kCAEC;IAED;;;;;OAKG;IACH,sCAEC;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;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 diff --git a/dist/src/structures/Member.d.ts b/dist/src/structures/Member.d.ts index b333175c..422f7ff4 100644 --- a/dist/src/structures/Member.d.ts +++ b/dist/src/structures/Member.d.ts @@ -4,6 +4,7 @@ export default Member; * @see {@link https://discord.com/developers/docs/resources/guild#guild-member-object-guild-member-structure} */ declare class Member { + [x: number]: () => string; /** * Returns the mention string for the member. * @param {String} userId The id of the user to mention. @@ -120,28 +121,28 @@ declare class Member { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The nickname of the member. * @type {String?} * @readonly * @public */ - public readonly get nick(): string; + public readonly get nick(): string | null; /** * The UNIX timestamp for when this member joined the guild. * @type {Number?} * @readonly * @public */ - public readonly get joinedAt(): number; + public readonly get joinedAt(): number | null; /** * The UNIX timestamp for when this member's timeout expires, if applicable. * @type {Number?} * @readonly * @public */ - public readonly get timeoutUntil(): number; + public readonly get timeoutUntil(): number | null; /** * The flags for this user. * @type {Number} @@ -155,7 +156,7 @@ declare class Member { * @type {Array} * @public */ - public readonly get roles(): Role[]; + public readonly get roles(): Array; /** * The position of the member's highest role. * @readonly @@ -190,7 +191,7 @@ declare class Member { * @type {String?} * @public */ - public readonly get _originalAvatarHash(): string; + public readonly get _originalAvatarHash(): string | null; /** * The url of the member's avatar. * @readonly diff --git a/dist/src/structures/Member.d.ts.map b/dist/src/structures/Member.d.ts.map index 5a6fcf6c..59fba3a2 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,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,2CAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,oCAsBC;IAED;;;;;OAKG;IACH,kDAUC;IAED;;;;;OAKG;IACH,0CAIC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,kDAKC;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,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UzB;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 4396d485..867f54a1 100644 --- a/dist/src/structures/Message.d.ts +++ b/dist/src/structures/Message.d.ts @@ -3,6 +3,7 @@ export default Message; * A message belonging to a channel within a guild. */ declare class Message { + [x: number]: () => string; /** * The URL of the message. * @param {String} guildId The id of the guild that the message belongs to. @@ -153,7 +154,7 @@ declare class Message { * @readonly * @public */ - public readonly get editedTimestamp(): number; + public readonly get editedTimestamp(): number | null; /** * The user who sent the message. * @type {User} @@ -174,7 +175,7 @@ declare class Message { * @readonly * @public */ - public readonly get member(): Member; + public readonly get member(): Member | null; /** * Whether this message includes user mentions. * @readonly @@ -223,7 +224,7 @@ declare class Message { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The guild that this message belongs to. * @type {String} @@ -237,7 +238,7 @@ declare class Message { * @readonly * @public */ - public readonly get channel(): Channel; + public readonly get channel(): Channel | null; /** * The channel that this message belongs to. * @type {String} @@ -265,14 +266,14 @@ declare class Message { * @readonly * @public */ - public readonly get content(): string; + public readonly get content(): string | null; /** * The message poll. * @type {Poll?} * @readonly * @public */ - public readonly get poll(): Poll; + public readonly get poll(): Poll | null; /** * The message reactions. * @type {MessageReactionManager} @@ -286,7 +287,7 @@ declare class Message { * @readonly * @public */ - public readonly get embeds(): Embed[]; + public readonly get embeds(): Array; /** * The message that this message references. * @type {Object} @@ -322,7 +323,7 @@ declare class Message { * @readonly * @public */ - public readonly get webhookId(): string; + public readonly get webhookId(): string | null; /** * Stickers sent with this message. * @type {Sticker[]} @@ -336,7 +337,7 @@ declare class Message { * @readonly * @public */ - public readonly get messageSnapshots(): Message[]; + public readonly get messageSnapshots(): Array | null; /** * The URL of the message. * @type {String} diff --git a/dist/src/structures/Message.d.ts.map b/dist/src/structures/Message.d.ts.map index fe199a0f..3e126a0f 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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AAO,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,6B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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/ModalResponse.d.ts b/dist/src/structures/ModalResponse.d.ts index 8c58456f..1317b635 100644 --- a/dist/src/structures/ModalResponse.d.ts +++ b/dist/src/structures/ModalResponse.d.ts @@ -18,7 +18,7 @@ declare class ModalResponse extends Interaction { * @readonly * @public */ - public readonly get values(): any[]; + public readonly get values(): Array; #private; } import Interaction from "./Interaction.js"; diff --git a/dist/src/structures/ModalResponse.d.ts.map b/dist/src/structures/ModalResponse.d.ts.map index 4cdc171b..6dc1e3dc 100644 --- a/dist/src/structures/ModalResponse.d.ts.map +++ b/dist/src/structures/ModalResponse.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"ModalResponse.d.ts","sourceRoot":"","sources":["../../../src/structures/ModalResponse.js"],"names":[],"mappings":";AAKA;;;;GAIG;AACH;IA+BE;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,oCAEC;;CAoDF;wBA7GuB,kBAAkB"} \ No newline at end of file +{"version":3,"file":"ModalResponse.d.ts","sourceRoot":"","sources":["../../../src/structures/ModalResponse.js"],"names":[],"mappings":";AAKA;;;;GAIG;AACH;IA+BE;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,8BAJU,KAAK,KAAQ,CAMtB;;CAoDF;wBA7GuB,kBAAkB"} \ No newline at end of file diff --git a/dist/src/structures/OptionSelect.d.ts b/dist/src/structures/OptionSelect.d.ts index 37204bd1..3f400b22 100644 --- a/dist/src/structures/OptionSelect.d.ts +++ b/dist/src/structures/OptionSelect.d.ts @@ -38,7 +38,7 @@ declare class OptionSelect extends Interaction { * @see {@link https://discord.com/developers/docs/interactions/message-components#select-menu-object-select-option-structure} * @public */ - public readonly get values(): any[]; + public readonly get values(): Array; #private; } import Interaction from "./Interaction.js"; diff --git a/dist/src/structures/OptionSelect.d.ts.map b/dist/src/structures/OptionSelect.d.ts.map index 10a55a44..8aede82f 100644 --- a/dist/src/structures/OptionSelect.d.ts.map +++ b/dist/src/structures/OptionSelect.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"OptionSelect.d.ts","sourceRoot":"","sources":["../../../src/structures/OptionSelect.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAKE;;;;;;;OAOG;IACH,oBANW,MAAM,qCAGd;QAAwB,OAAO;QACP,SAAS;KACnC,EA4CA;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;;OAMG;IACH,oCAEC;;CAkDF;wBAlJuB,kBAAkB;oBACtB,cAAc;mBAHf,cAAc"} \ No newline at end of file +{"version":3,"file":"OptionSelect.d.ts","sourceRoot":"","sources":["../../../src/structures/OptionSelect.js"],"names":[],"mappings":";AAMA;;;;GAIG;AACH;IAKE;;;;;;;OAOG;IACH,oBANW,MAAM,qCAGd;QAAwB,OAAO;QACP,SAAS;KACnC,EA4CA;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,+BAJU,OAAO,CAMhB;IAED;;;;;;OAMG;IACH,8BALU,KAAK,KAAQ,CAOtB;;CAkDF;wBAlJuB,kBAAkB;oBACtB,cAAc;mBAHf,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/PermissionOverwrite.d.ts b/dist/src/structures/PermissionOverwrite.d.ts index a1fa5f69..0b429497 100644 --- a/dist/src/structures/PermissionOverwrite.d.ts +++ b/dist/src/structures/PermissionOverwrite.d.ts @@ -1,5 +1,6 @@ export default PermissionOverwrite; declare class PermissionOverwrite { + [x: number]: () => string; /** * Creates the structure for a permission overwrite. * @param {Client} client The client instance. diff --git a/dist/src/structures/PermissionOverwrite.d.ts.map b/dist/src/structures/PermissionOverwrite.d.ts.map index 7fc9dde6..c940ec3a 100644 --- a/dist/src/structures/PermissionOverwrite.d.ts.map +++ b/dist/src/structures/PermissionOverwrite.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"PermissionOverwrite.d.ts","sourceRoot":"","sources":["../../../src/structures/PermissionOverwrite.js"],"names":[],"mappings":";AAIA;IAME;;;;OAIG;IACH,oBAHW,MAAM,aAuChB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAcC;;CACF;mBAnIkB,cAAc"} \ No newline at end of file +{"version":3,"file":"PermissionOverwrite.d.ts","sourceRoot":"","sources":["../../../src/structures/PermissionOverwrite.js"],"names":[],"mappings":";AAIA;;IAME;;;;OAIG;IACH,oBAHW,MAAM,aAuChB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAcC;;CACF;mBAnIkB,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Poll.d.ts b/dist/src/structures/Poll.d.ts index dd255617..ed885910 100644 --- a/dist/src/structures/Poll.d.ts +++ b/dist/src/structures/Poll.d.ts @@ -1,5 +1,6 @@ export default Poll; declare class Poll { + [x: number]: () => string; /** * Creates the structure for a poll. * @param {Client} client The client instance. @@ -37,7 +38,7 @@ declare class Poll { * @readonly * @public */ - public readonly get answers(): any[]; + public readonly get answers(): Array; /** * The UNIX timestamp of the expiry time for the poll. * @type {Number} diff --git a/dist/src/structures/Poll.d.ts.map b/dist/src/structures/Poll.d.ts.map index 2c8a0ad4..27e141ef 100644 --- a/dist/src/structures/Poll.d.ts.map +++ b/dist/src/structures/Poll.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../src/structures/Poll.js"],"names":[],"mappings":";AAMA;IASE;;;;;;OAMG;IACH,oBALW,MAAM,2BAGd;QAAwB,OAAO;KACjC,EAgEA;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,qCASC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,gDAEC;IAED;;;;;OAKG;IACH,yCAGC;IAED;;;;;OAKG;IACH,4CAEC;IAED;;;;;OAKG;IACH,mDAEC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA2BC;;CACF;+BA1O8B,mCAAmC;mBAF/C,cAAc"} \ No newline at end of file +{"version":3,"file":"Poll.d.ts","sourceRoot":"","sources":["../../../src/structures/Poll.js"],"names":[],"mappings":";AAMA;;IASE;;;;;;OAMG;IACH,oBALW,MAAM,2BAGd;QAAwB,OAAO;KACjC,EAgEA;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,CAMd;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,+BAJU,KAAK,KAAQ,CAatB;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,gDAEC;IAED;;;;;OAKG;IACH,yCAGC;IAED;;;;;OAKG;IACH,4CAEC;IAED;;;;;OAKG;IACH,gCAJU,kBAAkB,CAM3B;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA2BC;;CACF;+BA1O8B,mCAAmC;mBAF/C,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Reaction.d.ts b/dist/src/structures/Reaction.d.ts index 0c978efa..f891bace 100644 --- a/dist/src/structures/Reaction.d.ts +++ b/dist/src/structures/Reaction.d.ts @@ -3,6 +3,7 @@ export default Reaction; * Represents a reaction belonging to a message. */ declare class Reaction { + [x: number]: () => string; /** * Creates the structure for a reaction. * @param {Client} client The client instance. @@ -27,14 +28,14 @@ declare class Reaction { * @type {Array} * @public */ - public readonly get reacted(): any[]; + public readonly get reacted(): Array; /** * The user ids of the users who reacted. * @readonly * @type {Array} * @public */ - public readonly get reactedIds(): string[]; + public readonly get reactedIds(): Array; /** * The id of the guild that this reaction belongs to. * @type {String} @@ -48,7 +49,7 @@ declare class Reaction { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The emoji used for the reaction. * @type {Emoji} @@ -62,7 +63,7 @@ declare class Reaction { * @readonly * @public */ - public readonly get initialReactor(): string; + public readonly get initialReactor(): string | null; /** * Adds a user to the list of reactors. * @param {String} userId The id of the user to add as a reactor. diff --git a/dist/src/structures/Reaction.d.ts.map b/dist/src/structures/Reaction.d.ts.map index 314f9a33..0242e68b 100644 --- a/dist/src/structures/Reaction.d.ts.map +++ b/dist/src/structures/Reaction.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Reaction.d.ts","sourceRoot":"","sources":["../../../src/structures/Reaction.js"],"names":[],"mappings":";AAKA;;GAEG;AACH;IAOE;;;;;;;OAOG;IACH,oBANW,MAAM,2BAGd;QAAwB,OAAO;KAC/B,EAiDF;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,qCAOC;IAED;;;;;OAKG;IACH,2CAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,6CAEC;IAED;;;;;;OAMG;IACH,yCAUC;IAED;;;;;;OAMG;IACH,4CAOC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAkBC;;CACF;kBA9NiB,YAAY;mBAFX,cAAc"} \ No newline at end of file +{"version":3,"file":"Reaction.d.ts","sourceRoot":"","sources":["../../../src/structures/Reaction.js"],"names":[],"mappings":";AAKA;;GAEG;AACH;;IAOE;;;;;;;OAOG;IACH,oBANW,MAAM,2BAGd;QAAwB,OAAO;KAC/B,EAiDF;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,+BAHU,KAAK,CAAC,MAAM,SAAS,CAAC,CAU/B;IAED;;;;;OAKG;IACH,kCAHU,KAAK,QAAQ,CAKtB;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,6BAJU,KAAK,OAAC,CAMf;IAED;;;;;OAKG;IACH,6BAJU,KAAK,CAMd;IAED;;;;;OAKG;IACH,sCAJU,aAAO,CAMhB;IAED;;;;;;OAMG;IACH,yCAUC;IAED;;;;;;OAMG;IACH,4CAOC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAkBC;;CACF;kBA9NiB,YAAY;mBAFX,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Role.d.ts b/dist/src/structures/Role.d.ts index 0f2873b3..d76ba183 100644 --- a/dist/src/structures/Role.d.ts +++ b/dist/src/structures/Role.d.ts @@ -3,6 +3,7 @@ export default Role; * Represents a role belonging to a guild. */ declare class Role { + [x: number]: () => string; /** * Returns a mention for the role. * @param {String} roleId The ID of the role to mention. @@ -77,21 +78,21 @@ declare class Role { * @type {String?} * @public */ - public readonly get _originalIconHash(): string; + public readonly get _originalIconHash(): string | null; /** * The icon URL of the role. * @readonly * @type {String?} * @public */ - public readonly get displayIconURL(): string; + public readonly get displayIconURL(): string | null; /** * The guild that this role belongs to. * @type {Guild?} * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The ID of the guild that this role belongs to. * @type {String} diff --git a/dist/src/structures/Role.d.ts.map b/dist/src/structures/Role.d.ts.map index c51dd715..7fc7be97 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,gDAKC;IAoBD;;;;;OAKG;IACH,6CAEC;IAED;;;;;OAKG;IACH,mCAEC;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;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 diff --git a/dist/src/structures/ScheduledEvent.d.ts b/dist/src/structures/ScheduledEvent.d.ts index 69a28797..0aadf25c 100644 --- a/dist/src/structures/ScheduledEvent.d.ts +++ b/dist/src/structures/ScheduledEvent.d.ts @@ -4,6 +4,7 @@ export default ScheduledEvent; * @see {@link https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-structure} */ declare class ScheduledEvent { + [x: number]: () => string; /** * Returns the URL of the event's image. * @param {String} id The id of the event. @@ -63,14 +64,14 @@ declare class ScheduledEvent { * @readonly * @public */ - public readonly get creatorId(): string; + public readonly get creatorId(): string | null; /** * The user who created the event. * @type {User?} * @readonly * @public */ - public readonly get creator(): User; + public readonly get creator(): User | null; /** * The description of the event. * @type {String} @@ -84,14 +85,14 @@ declare class ScheduledEvent { * @type {String?} * @public */ - public readonly get _originalImageHash(): string; + public readonly get _originalImageHash(): string | null; /** * The url of the events's image. * @readonly * @type {String?} * @public */ - public readonly get displayImageURL(): string; + public readonly get displayImageURL(): string | null; /** * Where the event is scheduled to take place. * @readonly @@ -112,7 +113,7 @@ declare class ScheduledEvent { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The UNIX timestamp of the start time for the event. * @type {Number} @@ -126,7 +127,7 @@ declare class ScheduledEvent { * @readonly * @public */ - public readonly get scheduledEndTime(): number; + public readonly get scheduledEndTime(): number | null; /** * The number of users who have signed up for the event. * @type {Number} @@ -140,7 +141,7 @@ declare class ScheduledEvent { * @readonly * @public */ - public readonly get location(): string; + public readonly get location(): string | null; /** * @method * @public diff --git a/dist/src/structures/ScheduledEvent.d.ts.map b/dist/src/structures/ScheduledEvent.d.ts.map index d842e921..3be4855a 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,wCAEC;IAED;;;;;OAKG;IACH,oCAEC;IAED;;;;;OAKG;IACH,0CAEC;IAED;;;;;OAKG;IACH,iDAKC;IAkBD;;;;;OAKG;IACH,8CAEC;IAED;;;;;OAKG;IACH,yCAKC;IASD;;;;;OAKG;IACH,qCAMC;IAUD;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,iDAEC;IAED;;;;;OAKG;IACH,+CAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,uCAEC;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;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 diff --git a/dist/src/structures/SlashCommand.d.ts b/dist/src/structures/SlashCommand.d.ts index 53db08a7..ff32a518 100644 --- a/dist/src/structures/SlashCommand.d.ts +++ b/dist/src/structures/SlashCommand.d.ts @@ -11,14 +11,14 @@ declare class SlashCommand extends Interaction { * @readonly * @public */ - public readonly get data(): any; + public readonly get data(): any | null; /** * The options provided with the slash command. * @type {Array} * @readonly * @public */ - public readonly get options(): any[]; + public readonly get options(): Array; #private; } import Interaction from "./Interaction.js"; diff --git a/dist/src/structures/SlashCommand.d.ts.map b/dist/src/structures/SlashCommand.d.ts.map index 5ffc78c9..fa2b8ec6 100644 --- a/dist/src/structures/SlashCommand.d.ts.map +++ b/dist/src/structures/SlashCommand.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"SlashCommand.d.ts","sourceRoot":"","sources":["../../../src/structures/SlashCommand.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH;IAgDE;;;;;OAKG;IACH,gCAEC;IAED;;;;;OAKG;IACH,qCAEC;;CAwCF;wBAtHuB,kBAAkB"} \ No newline at end of file +{"version":3,"file":"SlashCommand.d.ts","sourceRoot":"","sources":["../../../src/structures/SlashCommand.js"],"names":[],"mappings":";AASA;;;;GAIG;AACH;IAgDE;;;;;OAKG;IACH,4BAJU,UAAO,CAMhB;IAED;;;;;OAKG;IACH,+BAJU,KAAK,KAAQ,CAMtB;;CAwCF;wBAtHuB,kBAAkB"} \ No newline at end of file diff --git a/dist/src/structures/Sticker.d.ts b/dist/src/structures/Sticker.d.ts index 5a88e099..35ca5de1 100644 --- a/dist/src/structures/Sticker.d.ts +++ b/dist/src/structures/Sticker.d.ts @@ -3,6 +3,7 @@ export default Sticker; * Represents an sticker. */ declare class Sticker { + [x: number]: () => string; /** * Creates the structure for a sticker * @param {Client} client The client instance. @@ -43,7 +44,7 @@ declare class Sticker { * @readonly * @public */ - public readonly get previewImageURL(): string; + public readonly get previewImageURL(): string | null; /** * @method * @public diff --git a/dist/src/structures/Sticker.d.ts.map b/dist/src/structures/Sticker.d.ts.map index 8cf3b9a9..6dbd091d 100644 --- a/dist/src/structures/Sticker.d.ts.map +++ b/dist/src/structures/Sticker.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"Sticker.d.ts","sourceRoot":"","sources":["../../../src/structures/Sticker.js"],"names":[],"mappings":";AASA;;GAEG;AACH;IAKE;;;;OAIG;IACH,oBAHW,MAAM,aAoChB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,8CAgBC;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAaC;;CACF;mBA9JkB,cAAc"} \ No newline at end of file +{"version":3,"file":"Sticker.d.ts","sourceRoot":"","sources":["../../../src/structures/Sticker.js"],"names":[],"mappings":";AASA;;GAEG;AACH;;IAKE;;;;OAIG;IACH,oBAHW,MAAM,aAoChB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,uCAJU,aAAO,CAoBhB;IAED;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCAaC;;CACF;mBA9JkB,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/Thread.d.ts b/dist/src/structures/Thread.d.ts index 65f14d3a..b1d7fe07 100644 --- a/dist/src/structures/Thread.d.ts +++ b/dist/src/structures/Thread.d.ts @@ -31,14 +31,14 @@ declare class Thread extends Channel { * @readonly * @public */ - public readonly get owner(): Member; + public readonly get owner(): Member | null; /** * The text channel that this thread belongs to. * @type {TextChannel?} * @readonly * @public */ - public readonly get parent(): TextChannel; + public readonly get parent(): TextChannel | null; #private; } import Channel from "./Channel.js"; diff --git a/dist/src/structures/Thread.d.ts.map b/dist/src/structures/Thread.d.ts.map index 01fed13c..531d8945 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,oCAEC;IAYD;;;;;OAKG;IACH,0CAEC;;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;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 diff --git a/dist/src/structures/User.d.ts b/dist/src/structures/User.d.ts index d2bc700a..224e5bdf 100644 --- a/dist/src/structures/User.d.ts +++ b/dist/src/structures/User.d.ts @@ -4,6 +4,7 @@ export default User; * @see {@link https://discord.com/developers/docs/resources/user} */ declare class User { + [x: number]: () => string; /** * Returns a mention string for the user. * @param {String} id The ID of the user to mention. @@ -77,7 +78,7 @@ declare class User { * @readonly * @public */ - public readonly get discriminator(): string; + public readonly get discriminator(): string | null; /** * The UNIX (seconds) timestamp when this user was last cached. * @type {Number} @@ -98,7 +99,7 @@ declare class User { * @type {String?} * @public */ - public readonly get _originalAvatarHash(): string; + public readonly get _originalAvatarHash(): string | null; /** * The avatar URL of the user. * @readonly diff --git a/dist/src/structures/User.d.ts.map b/dist/src/structures/User.d.ts.map index 7a45b827..e9e81adf 100644 --- a/dist/src/structures/User.d.ts.map +++ b/dist/src/structures/User.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../src/structures/User.js"],"names":[],"mappings":";AAUA;;;GAGG;AACH;IA4RE;;;;;;;OAOG;IACH,6CAIC;IAED;;;;;;;;OAQG;IACH,8CANW,aAAO,UAiBjB;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,WAc3B;IAtUD;;;;;;;OAOG;IACH,oBANW,MAAM,2BAEN,UAAO,EAiGjB;IAED;;;;;;OAMG;IACH,uCAFa,IAAI,CAIhB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,4CAOC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,kDAKC;IAoBD;;;;;OAKG;IACH,+CAIC;IAED;;;;;OAKG;IACH,kCAIC;IAED;;;;;OAKG;IACH,+CAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,gDAEC;IAED;;;;;OAKG;IACH,yCAEC;IAwDD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA0BC;;CACF;8BA5Y6B,kCAAkC;mBAE7C,cAAc"} \ No newline at end of file +{"version":3,"file":"User.d.ts","sourceRoot":"","sources":["../../../src/structures/User.js"],"names":[],"mappings":";AAUA;;;GAGG;AACH;;IA4RE;;;;;;;OAOG;IACH,6CAIC;IAED;;;;;;;;OAQG;IACH,8CANW,aAAO,UAiBjB;IAED;;;;;;;;OAQG;IACH,6CAPW,iBAAiB,WAc3B;IAtUD;;;;;;;OAOG;IACH,oBANW,MAAM,2BAEN,UAAO,EAiGjB;IAED;;;;;;OAMG;IACH,uCAFa,IAAI,CAIhB;IAED;;;;;OAKG;IACH,iCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,yCAEC;IAED;;;;;OAKG;IACH,qCAJU,aAAO,CAWhB;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,2CAHU,aAAO,CAQhB;IAoBD;;;;;OAKG;IACH,+CAIC;IAED;;;;;OAKG;IACH,kCAIC;IAED;;;;;OAKG;IACH,+CAEC;IAED;;;;;OAKG;IACH,mCAEC;IAED;;;;;OAKG;IACH,gDAEC;IAED;;;;;OAKG;IACH,yCAEC;IAwDD;;;OAGG;IACH,0BAEC;IAUD;;;;;;OAMG;IACH,oCA0BC;;CACF;8BA5Y6B,kCAAkC;mBAE7C,cAAc"} \ No newline at end of file diff --git a/dist/src/structures/VoiceState.d.ts b/dist/src/structures/VoiceState.d.ts index 6ace98b5..30ceedfc 100644 --- a/dist/src/structures/VoiceState.d.ts +++ b/dist/src/structures/VoiceState.d.ts @@ -3,6 +3,7 @@ export default VoiceState; * Represents a voice state. */ declare class VoiceState { + [x: number]: () => string; /** * Determines whether the voice state should be cached. * @param {GluonCacheOptions} gluonCacheOptions The cache options for the client. @@ -80,7 +81,7 @@ declare class VoiceState { * @readonly * @public */ - public readonly get guild(): Guild; + public readonly get guild(): Guild | null; /** * The id of the guild that this voice state belongs to. * @type {String} @@ -94,7 +95,7 @@ declare class VoiceState { * @readonly * @public */ - public readonly get channel(): Channel; + public readonly get channel(): Channel | null; /** * The id of the channel involved. * @type {String} @@ -108,7 +109,7 @@ declare class VoiceState { * @readonly * @public */ - public readonly get member(): Member; + public readonly get member(): Member | null; /** * The id of the user the voice state is about. * @type {String} @@ -129,7 +130,7 @@ declare class VoiceState { * @readonly * @public */ - public readonly get requestToSpeakTimestamp(): number; + public readonly get requestToSpeakTimestamp(): number | null; /** * @method * @public diff --git a/dist/src/structures/VoiceState.d.ts.map b/dist/src/structures/VoiceState.d.ts.map index b9c717c5..71e4b1c3 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,mCAEC;IAED;;;;;OAKG;IACH,sCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,wCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,uCAEC;IAED;;;;;OAKG;IACH,qCAEC;IAED;;;;;OAKG;IACH,sDAEC;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;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 diff --git a/dist/src/util/builder/fileUpload.d.ts.map b/dist/src/util/builder/fileUpload.d.ts.map index bbb3c1a6..caefa6e0 100644 --- a/dist/src/util/builder/fileUpload.d.ts.map +++ b/dist/src/util/builder/fileUpload.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"fileUpload.d.ts","sourceRoot":"","sources":["../../../../src/util/builder/fileUpload.js"],"names":[],"mappings":";AAEA;IAIE;;;;OAIG;IACH,uBAFa,UAAU,CAYtB;IAED;;;;OAIG;IACH,kBAHW,MAAM,GACJ,UAAU,CAMtB;IAED;;;;OAIG;IACH,uBAFa,UAAU,CAQtB;IAED;;;;OAIG;IACH,4BAEC;IAED;;;;OAIG;IACH,8BAEC;IAED;;;;OAIG;IACH,kCAEC;IAED;;;;;;;;;;MA2BC;;CACF"} \ No newline at end of file +{"version":3,"file":"fileUpload.d.ts","sourceRoot":"","sources":["../../../../src/util/builder/fileUpload.js"],"names":[],"mappings":";AAEA;IAIE;;;;OAIG;IACH,uBAFa,UAAU,CAYtB;IAED;;;;OAIG;IACH,kBAHW,MAAM,GACJ,UAAU,CAMtB;IAED;;;;OAIG;IACH,uBAFa,UAAU,CAQtB;IAED;;;;OAIG;IACH,4BAEC;IAED;;;;OAIG;IACH,uBAHU,MAAM,CAKf;IAED;;;;OAIG;IACH,kCAEC;IAED;;;;;;;;;;MA2BC;;CACF"} \ No newline at end of file diff --git a/src/structures/compiled/Channel.js.json b/src/structures/compiled/Channel.js.json index d3f902da..f9f611e4 100644 --- a/src/structures/compiled/Channel.js.json +++ b/src/structures/compiled/Channel.js.json @@ -4,7 +4,7 @@ "meta": { "range": [ 672, - 14308 + 14301 ], "filename": "Channel.js", "lineno": 19, @@ -409,7 +409,7 @@ "meta": { "range": [ 672, - 14308 + 14301 ], "filename": "Channel.js", "lineno": 19, @@ -1068,11 +1068,11 @@ "scope": "static" }, { - "comment": "/**\n * Sends a message to this channel.\n * @param {Object} [data] Embeds, components and files to include with the message.\n * @param {String?} [data.content] The content of the message.\n * @param {Array?} [data.embeds] The embeds to include with the message.\n * @param {Array?} [data.components] The components to include with the message.\n * @param {Array?} [data.files] The files to include with the message.\n * @param {Boolean} [data.suppressMentions] Whether to suppress mentions in 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 */", + "comment": "/**\n * Sends a message to this channel.\n * @param {Object} [data] Embeds, components and files to include with the message.\n * @param {String?} [data.content] The content of the message.\n * @param {Array?} [data.embeds] The embeds to include with the message.\n * @param {MessageComponents?} [data.components] The components to include with the message.\n * @param {Array?} [data.files] The files to include with the message.\n * @param {Boolean} [data.suppressMentions] Whether to suppress mentions in 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": [ - 5818, - 6100 + 5811, + 6093 ], "filename": "Channel.js", "lineno": 196, @@ -1127,7 +1127,7 @@ { "type": { "names": [ - "Array." + "MessageComponents" ] }, "optional": true, @@ -1191,8 +1191,8 @@ "comment": "", "meta": { "range": [ - 5830, - 5837 + 5823, + 5830 ], "filename": "Channel.js", "lineno": 197, @@ -1215,8 +1215,8 @@ "comment": "", "meta": { "range": [ - 5839, - 5849 + 5832, + 5842 ], "filename": "Channel.js", "lineno": 197, @@ -1239,8 +1239,8 @@ "comment": "", "meta": { "range": [ - 5851, - 5856 + 5844, + 5849 ], "filename": "Channel.js", "lineno": 197, @@ -1263,8 +1263,8 @@ "comment": "", "meta": { "range": [ - 5858, - 5864 + 5851, + 5857 ], "filename": "Channel.js", "lineno": 197, @@ -1287,8 +1287,8 @@ "comment": "", "meta": { "range": [ - 5866, - 5890 + 5859, + 5883 ], "filename": "Channel.js", "lineno": 197, @@ -1311,8 +1311,8 @@ "comment": "", "meta": { "range": [ - 5903, - 5926 + 5896, + 5919 ], "filename": "Channel.js", "lineno": 198, @@ -1335,8 +1335,8 @@ "comment": "", "meta": { "range": [ - 6011, - 6018 + 6004, + 6011 ], "filename": "Channel.js", "lineno": 202, @@ -1359,8 +1359,8 @@ "comment": "", "meta": { "range": [ - 6026, - 6036 + 6019, + 6029 ], "filename": "Channel.js", "lineno": 203, @@ -1383,8 +1383,8 @@ "comment": "", "meta": { "range": [ - 6044, - 6049 + 6037, + 6042 ], "filename": "Channel.js", "lineno": 204, @@ -1407,8 +1407,8 @@ "comment": "", "meta": { "range": [ - 6057, - 6063 + 6050, + 6056 ], "filename": "Channel.js", "lineno": 205, @@ -1431,8 +1431,8 @@ "comment": "", "meta": { "range": [ - 6071, - 6087 + 6064, + 6080 ], "filename": "Channel.js", "lineno": 206, @@ -1455,8 +1455,8 @@ "comment": "/**\n * Returns the mention for this channel.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6207, - 6266 + 6200, + 6259 ], "filename": "Channel.js", "lineno": 216, @@ -1491,8 +1491,8 @@ "comment": "/**\n * Whether this channel is marked as NSFW or not.\n * @readonly\n * @returns {Boolean}\n * @public\n */", "meta": { "range": [ - 6386, - 6459 + 6379, + 6452 ], "filename": "Channel.js", "lineno": 226, @@ -1531,8 +1531,8 @@ "comment": "/**\n * The guild that this channel belongs to.\n * @type {Guild?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6568, - 6644 + 6561, + 6637 ], "filename": "Channel.js", "lineno": 236, @@ -1568,8 +1568,8 @@ "comment": "/**\n * The parent channel.\n * @type {Channel?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6735, - 6848 + 6728, + 6841 ], "filename": "Channel.js", "lineno": 246, @@ -1605,8 +1605,8 @@ "comment": "/**\n * The ID of the channel.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 6940, - 6984 + 6933, + 6977 ], "filename": "Channel.js", "lineno": 258, @@ -1641,8 +1641,8 @@ "comment": "/**\n * The ID of the guild that this channel belongs to.\n * @type {String}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7103, - 7158 + 7096, + 7151 ], "filename": "Channel.js", "lineno": 268, @@ -1677,8 +1677,8 @@ "comment": "/**\n * The ID of the parent channel.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7258, - 7341 + 7251, + 7334 ], "filename": "Channel.js", "lineno": 278, @@ -1714,8 +1714,8 @@ "comment": "/**\n * The type of channel.\n * @type {Number}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7431, - 7470 + 7424, + 7463 ], "filename": "Channel.js", "lineno": 288, @@ -1750,8 +1750,8 @@ "comment": "/**\n * The name of the channel.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7565, - 7604 + 7558, + 7597 ], "filename": "Channel.js", "lineno": 298, @@ -1787,8 +1787,8 @@ "comment": "/**\n * The topic of the channel.\n * @type {String?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7700, - 7741 + 7693, + 7734 ], "filename": "Channel.js", "lineno": 308, @@ -1824,8 +1824,8 @@ "comment": "/**\n * The permission overwrites for this channel.\n * @type {Array}\n * @readonly\n * @public\n */", "meta": { "range": [ - 7861, - 7933 + 7854, + 7926 ], "filename": "Channel.js", "lineno": 318, @@ -1860,8 +1860,8 @@ "comment": "/**\n * The message send cooldown for the channel.\n * @type {Number?}\n * @readonly\n * @public\n */", "meta": { "range": [ - 8046, - 8112 + 8039, + 8105 ], "filename": "Channel.js", "lineno": 328, @@ -1897,8 +1897,8 @@ "comment": "/**\n * The cache options for this channel.\n * @type {ChannelCacheOptions}\n * @readonly\n * @public\n */", "meta": { "range": [ - 8230, - 8287 + 8223, + 8280 ], "filename": "Channel.js", "lineno": 338, @@ -1933,8 +1933,8 @@ "comment": "/**\n * The messages in this channel.\n * @type {ChannelMessageManager}\n * @readonly\n * @public\n */", "meta": { "range": [ - 8401, - 8448 + 8394, + 8441 ], "filename": "Channel.js", "lineno": 348, @@ -1969,8 +1969,8 @@ "comment": "/**\n * Returns the mention string for a channel.\n * @param {String} channelId The ID of the channel to mention.\n * @returns {String}\n * @public\n * @static\n * @method\n */", "meta": { "range": [ - 8638, - 8777 + 8631, + 8770 ], "filename": "Channel.js", "lineno": 360, @@ -2020,8 +2020,8 @@ "comment": "/**\n * Determines whether the channel 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": [ - 9077, - 9611 + 9070, + 9604 ], "filename": "Channel.js", "lineno": 374, @@ -2081,8 +2081,8 @@ "comment": "/**\n * Follows a news channel.\n * @param {Client} client The client instance.\n * @param {String} channelId The ID of the channel.\n * @param {String} followChannelId THe ID of the channel to follow.\n * @returns {Promise}\n * @public\n * @static\n * @async\n * @method\n * @throws {TypeError}\n */", "meta": { "range": [ - 9935, - 10503 + 9928, + 10496 ], "filename": "Channel.js", "lineno": 400, @@ -2162,8 +2162,8 @@ "comment": "", "meta": { "range": [ - 10333, - 10342 + 10326, + 10335 ], "filename": "Channel.js", "lineno": 408, @@ -2188,8 +2188,8 @@ "comment": "", "meta": { "range": [ - 10349, - 10384 + 10342, + 10377 ], "filename": "Channel.js", "lineno": 410, @@ -2215,8 +2215,8 @@ "comment": "/**\n * Returns an array of webhooks for the specified channel.\n * @param {Client} client The client instance.\n * @param {String} channelId The ID of the channel.\n * @returns {Promise>}\n * @public\n * @static\n * @async\n * @method\n */", "meta": { "range": [ - 10773, - 11105 + 10766, + 11098 ], "filename": "Channel.js", "lineno": 429, @@ -2277,8 +2277,8 @@ "comment": "/**\n * Returns the permissions for a member in this channel.\n * @param {Member} member The member to check the permissions for.\n * @returns {String}\n */", "meta": { "range": [ - 11272, - 12780 + 11265, + 12773 ], "filename": "Channel.js", "lineno": 443, @@ -2327,8 +2327,8 @@ "comment": "", "meta": { "range": [ - 11473, - 11520 + 11466, + 11513 ], "filename": "Channel.js", "lineno": 447, @@ -2353,8 +2353,8 @@ "comment": "", "meta": { "range": [ - 11532, - 11674 + 11525, + 11667 ], "filename": "Channel.js", "lineno": 448, @@ -2379,8 +2379,8 @@ "comment": "", "meta": { "range": [ - 11706, - 11754 + 11699, + 11747 ], "filename": "Channel.js", "lineno": 453, @@ -2406,8 +2406,8 @@ "comment": "", "meta": { "range": [ - 11762, - 11810 + 11755, + 11803 ], "filename": "Channel.js", "lineno": 454, @@ -2433,8 +2433,8 @@ "comment": "", "meta": { "range": [ - 11826, - 11864 + 11819, + 11857 ], "filename": "Channel.js", "lineno": 456, @@ -2459,8 +2459,8 @@ "comment": "", "meta": { "range": [ - 11874, - 11913 + 11867, + 11906 ], "filename": "Channel.js", "lineno": 457, @@ -2485,8 +2485,8 @@ "comment": "", "meta": { "range": [ - 11928, - 11933 + 11921, + 11926 ], "filename": "Channel.js", "lineno": 458, @@ -2511,8 +2511,8 @@ "comment": "", "meta": { "range": [ - 11979, - 12135 + 11972, + 12128 ], "filename": "Channel.js", "lineno": 459, @@ -2537,8 +2537,8 @@ "comment": "", "meta": { "range": [ - 12163, - 12210 + 12156, + 12203 ], "filename": "Channel.js", "lineno": 465, @@ -2564,8 +2564,8 @@ "comment": "", "meta": { "range": [ - 12220, - 12269 + 12213, + 12262 ], "filename": "Channel.js", "lineno": 466, @@ -2591,8 +2591,8 @@ "comment": "", "meta": { "range": [ - 12289, - 12338 + 12282, + 12331 ], "filename": "Channel.js", "lineno": 469, @@ -2618,8 +2618,8 @@ "comment": "", "meta": { "range": [ - 12344, - 12393 + 12337, + 12386 ], "filename": "Channel.js", "lineno": 470, @@ -2645,8 +2645,8 @@ "comment": "", "meta": { "range": [ - 12405, - 12552 + 12398, + 12545 ], "filename": "Channel.js", "lineno": 471, @@ -2671,8 +2671,8 @@ "comment": "", "meta": { "range": [ - 12598, - 12660 + 12591, + 12653 ], "filename": "Channel.js", "lineno": 475, @@ -2698,8 +2698,8 @@ "comment": "", "meta": { "range": [ - 12668, - 12730 + 12661, + 12723 ], "filename": "Channel.js", "lineno": 476, @@ -2725,8 +2725,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 12822, - 12874 + 12815, + 12867 ], "filename": "Channel.js", "lineno": 485, @@ -2754,8 +2754,8 @@ "comment": "/**\n * @method\n * @public\n */", "meta": { "range": [ - 12916, - 12973 + 12909, + 12966 ], "filename": "Channel.js", "lineno": 493, @@ -2783,8 +2783,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": [ - 13158, - 14306 + 13151, + 14299 ], "filename": "Channel.js", "lineno": 504, @@ -2835,8 +2835,8 @@ "comment": "", "meta": { "range": [ - 13316, - 13327 + 13309, + 13320 ], "filename": "Channel.js", "lineno": 509, @@ -2859,8 +2859,8 @@ "comment": "", "meta": { "range": [ - 13339, - 13354 + 13332, + 13347 ], "filename": "Channel.js", "lineno": 510, @@ -2883,8 +2883,8 @@ "comment": "", "meta": { "range": [ - 13366, - 13381 + 13359, + 13374 ], "filename": "Channel.js", "lineno": 511, @@ -2907,8 +2907,8 @@ "comment": "", "meta": { "range": [ - 13393, - 13410 + 13386, + 13403 ], "filename": "Channel.js", "lineno": 512, @@ -2931,8 +2931,8 @@ "comment": "", "meta": { "range": [ - 13422, - 13464 + 13415, + 13457 ], "filename": "Channel.js", "lineno": 513, @@ -2955,8 +2955,8 @@ "comment": "", "meta": { "range": [ - 13476, - 13513 + 13469, + 13506 ], "filename": "Channel.js", "lineno": 514, @@ -2979,8 +2979,8 @@ "comment": "", "meta": { "range": [ - 13525, - 13555 + 13518, + 13548 ], "filename": "Channel.js", "lineno": 515, @@ -3003,8 +3003,8 @@ "comment": "", "meta": { "range": [ - 13567, - 13615 + 13560, + 13608 ], "filename": "Channel.js", "lineno": 516, @@ -3027,8 +3027,8 @@ "comment": "", "meta": { "range": [ - 13627, - 13665 + 13620, + 13658 ], "filename": "Channel.js", "lineno": 517, @@ -3051,8 +3051,8 @@ "comment": "", "meta": { "range": [ - 13677, - 13778 + 13670, + 13771 ], "filename": "Channel.js", "lineno": 518, @@ -3075,8 +3075,8 @@ "comment": "", "meta": { "range": [ - 13889, - 13900 + 13882, + 13893 ], "filename": "Channel.js", "lineno": 526, @@ -3099,8 +3099,8 @@ "comment": "", "meta": { "range": [ - 13912, - 13927 + 13905, + 13920 ], "filename": "Channel.js", "lineno": 527, @@ -3123,8 +3123,8 @@ "comment": "", "meta": { "range": [ - 13939, - 13954 + 13932, + 13947 ], "filename": "Channel.js", "lineno": 528, @@ -3147,8 +3147,8 @@ "comment": "", "meta": { "range": [ - 13966, - 13983 + 13959, + 13976 ], "filename": "Channel.js", "lineno": 529, @@ -3171,8 +3171,8 @@ "comment": "", "meta": { "range": [ - 13995, - 14037 + 13988, + 14030 ], "filename": "Channel.js", "lineno": 530, @@ -3195,8 +3195,8 @@ "comment": "", "meta": { "range": [ - 14049, - 14086 + 14042, + 14079 ], "filename": "Channel.js", "lineno": 531, @@ -3219,8 +3219,8 @@ "comment": "", "meta": { "range": [ - 14098, - 14113 + 14091, + 14106 ], "filename": "Channel.js", "lineno": 532, @@ -3243,8 +3243,8 @@ "comment": "", "meta": { "range": [ - 14125, - 14163 + 14118, + 14156 ], "filename": "Channel.js", "lineno": 533, @@ -3267,8 +3267,8 @@ "comment": "", "meta": { "range": [ - 14175, - 14276 + 14168, + 14269 ], "filename": "Channel.js", "lineno": 534, @@ -3291,8 +3291,8 @@ "comment": "", "meta": { "range": [ - 14310, - 14333 + 14303, + 14326 ], "filename": "Channel.js", "lineno": 543,