Antonio Román
4eb3a2a885
refactor: rename Constants.OPCode to Opcode, moved objects to enums ( #6065 )
2021-07-07 13:40:36 +01:00
ckohen
755c180659
feat: allow channels from uncached guilds to be returned from fetch ( #6034 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-07-06 13:04:26 +01:00
Rodry
2e078e4488
types(*): revert incorrect unknown type changes ( #6057 )
...
Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com >
2021-07-05 22:49:34 +01:00
Jan
c0a814fdb3
feat(Collector): better types for events ( #6058 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-07-05 22:26:15 +01:00
BannerBomb
4c0426c469
docs: fixed several typings and MessagePayload#create JSDoc ( #6059 )
2021-07-05 22:26:06 +01:00
SpaceEEC
ded93feb57
refactor(PresenceManager): have Presence extend Base and simplify add ( #6056 )
...
* refactor(PresenceManager): have Presence extend Base and simplify add
* style(Presence): add empty line after super call
Co-authored-by: Noel <buechler.noel@outlook.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-05 19:53:15 +01:00
SpaceEEC
afbd5db404
refactor(Presences): remove from User, nullable on GuildMember ( #6055 )
...
as well as on Client#presenceUpdate
2021-07-05 19:53:00 +01:00
Shubham Parihar
8d9ab741c8
docs(ThreadChannel): fix documentation for setLocked method ( #6053 )
2021-07-05 18:36:25 +01:00
iAmZiNc
162d89a42f
fix(Presence) missing client property definition ( #6054 )
2021-07-05 18:03:07 +01:00
Almeida
93e2c04ec2
fix(InviteScope): added missing 'bot' scope ( #6052 )
2021-07-05 16:07:57 +01:00
Antonio Román
03fe6ee4e4
test(Types): add notPropertyOf type-only utility ( #6051 )
2021-07-05 16:07:45 +01:00
Souji
3022b0f5b1
refactor(Intents): remove computed shorts ( #6050 )
2021-07-05 16:07:30 +01:00
PanSzelescik
28c57246d1
feat(Message): add 'failIfNotExists' to ClientOptions ( #6038 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-05 13:53:40 +01:00
PanSzelescik
31d31293d3
feat(LimitedCollection): export LimitedCollection ( #6043 )
...
* feat(LimitedCollection): export LimitedCollection
* fix: remove @private
* fix: typings
2021-07-05 13:53:15 +01:00
monbrey
34708d6d18
fix(SelectMenuInteraction): set values to empty array if not provided ( #6045 )
2021-07-05 13:39:21 +01:00
Antonio Román
1a27f57950
refactor: remove lastMessage properties from User and GuildMember ( #6046 )
2021-07-05 13:11:13 +01:00
Jan
676118ab0f
refactor(typings): general cleanup ( #6047 )
2021-07-05 12:55:06 +01:00
monbrey
e3d877d542
fix(Guild): add invite manager property, extend CachedManager ( #6049 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-05 12:16:34 +01:00
BannerBomb
fe5d56c9b1
fix(TeamMember): Fixed incorrect return types. ( #6044 )
2021-07-04 22:55:00 +01:00
monbrey
c6e5521687
feat(Client): enforce passing scopes to generateInvite ( #6024 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-04 22:53:57 +01:00
DraftMan
9e08b02df2
feat(Managers): ✨ Add GuildInviteManager ( #5889 )
...
Co-authored-by: iShibi <shubhamparihar391@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: SpaceEEC <SpaceEEC@users.noreply.github.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: iCrawl <icrawltogo@gmail.com >
2021-07-04 22:53:13 +01:00
BannerBomb
c4aa9feee2
types(Options): should extend null ( #6042 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2021-07-04 22:05:16 +01:00
Antonio Román
185e37602b
types(Voice): move types to the library's definitions ( #6041 )
...
* types(Voice): move types to d.js
* types: added padding lines
Co-authored-by: Noel <buechler.noel@outlook.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-04 21:10:33 +01:00
Antonio Román
a7c6678c72
refactor: change xID to xId ( #6036 )
...
* refactor: change `xID` to `xId`
* Update src/managers/MessageManager.js
Co-authored-by: Noel <buechler.noel@outlook.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-04 19:54:27 +01:00
didinele
281072be44
chore: remove unnecessary getter ( #6037 )
2021-07-04 15:59:28 +01:00
1Computer1
ab0b3b9a07
fix(Structures): remove Structures ( #6027 )
2021-07-04 12:26:35 +01:00
Shubham Parihar
db60e367b4
docs(MessageManager): document options param for #edit as required ( #6031 )
2021-07-04 12:25:59 +01:00
ckohen
2ab32e6bc6
types: better fullPermissions typings ( #6028 )
2021-07-04 12:25:42 +01:00
ckohen
b62d646271
docs: add Partial typedef ( #6029 )
2021-07-04 12:25:35 +01:00
Shubham Parihar
d58f0d243c
fix(GuildChannel): use map method on cache not its manager ( #6032 )
2021-07-04 12:25:28 +01:00
monbrey
610b0b4dd6
docs: fix some missed MessageComponent collector methods ( #6023 )
2021-07-04 00:27:07 +01:00
monbrey
8077e4f4f1
fix(PermissionOverwriteManager): pass ID to API correctly ( #6026 )
2021-07-04 00:26:44 +01:00
1Computer1
8c7cb0eff8
feat(Managers): add customizable caching for managers ( #6013 )
2021-07-04 00:26:26 +01:00
Almeida
ec06ba7ad0
docs(*): wrap optional properties with union types in parentheses ( #6021 )
2021-07-03 21:00:53 +01:00
Shubham Parihar
4bf49809f2
refactor: improve typings and docs related to threads ( #5991 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-03 20:38:38 +01:00
SkyFlags
7e3001191c
fix(GuildChannel): Add missing 'cache' property ( #6019 )
2021-07-03 19:59:52 +01:00
Vlad Frangu
39db95352c
fix: Remove connection.url from open debug message ( #6018 )
2021-07-03 18:44:48 +01:00
monbrey
374c779f7f
feat(InteractionCollector): reworked to be more generic ( #5999 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-03 13:35:39 +01:00
DTrombett
bd25ff5913
fix(Util): splitMessage not working with array ( #6008 )
...
Co-authored-by: muchnameless <12682826+muchnameless@users.noreply.github.com >
2021-07-03 13:25:43 +01:00
Antonio Román
2446ff5251
refactor(Util): make class extend null ( #6000 )
2021-07-03 13:25:35 +01:00
Ishmaam Khan
e7ad2fe207
feat: PermissionOverwriteManager ( #5318 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-07-03 13:24:38 +01:00
Antonio Román
a11a10525b
refactor: rename events to be consistent with WS names ( #6010 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-03 13:23:53 +01:00
SpaceEEC
7dd1a8da08
docs(Collector): properly document endReason ( #6016 )
2021-07-03 13:23:15 +01:00
ckohen
568691ce6a
fix: correct permissions checks and cache on update ( #6015 )
2021-07-03 13:23:01 +01:00
Rodry
4adfc45b5a
docs(CreateInviteOptions): fix TargetType link ( #6017 )
2021-07-03 13:22:35 +01:00
Antonio Román
98e45a5995
feat(Formatters): added new URL utilities and docs ( #6014 )
...
* feat(Formatters): added new URL utilities and docs
* refactor: use static class to fix docsgen error
* fix(Typings): declare members as public
* docs(Formatters): add method tags
* docs: remove empty line
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2021-07-03 13:22:20 +01:00
Rodry
56b5b7ee82
types(MessageOptions): fix components being optional ( #6005 )
2021-07-03 08:58:29 +01:00
DTrombett
0dc5dd5808
types(*): create mention types ( #6003 )
2021-07-03 08:58:18 +01:00
Pravesh Kunwar
1242c5434d
types(VoiceState): fix optional params ( #5993 )
2021-07-03 08:57:41 +01:00
BannerBomb
c40b06cac9
types(ClientUser): updated setAFK signature ( #6011 )
2021-07-03 08:57:31 +01:00