Alan
de384047b3
chore(ApiRequest): remove mention of var ( #6125 )
...
Co-authored-by: Alan <you@example.comalanlichen1 @gmail.com>
2021-07-17 12:22:45 +01:00
Antonio Román
5ca97c9351
refactor: remove timer utilities from Client ( #6113 )
2021-07-16 13:31:25 +01:00
Joey Smalen
f200f14a40
feat(REST): append additional information to the required User Agent ( #6112 )
...
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-07-16 12:27:12 +01:00
DTrombett
8db6df3d1e
types(Options): add types for cacheWithLimits ( #6095 )
2021-07-16 12:20:38 +01:00
Antonio Román
576eee8de2
refactor: remove typing caching ( #6114 )
...
Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com >
2021-07-16 12:20:05 +01:00
Shino
4206e35b23
feat(Client): add conditional ready typings ( #6073 )
2021-07-14 16:19:38 +01:00
DTrombett
60148c6a78
types(Interaction): change inGuild return type ( #6094 )
2021-07-14 16:14:20 +01:00
Bluenix
a9e7ebd94f
types(PartialWebhookFields): add APIMessage to deleteMessage union ( #6085 )
2021-07-14 16:13:32 +01:00
Hackerboi 69
98c60789a2
types(Interactions): fix function overloads ( #6109 )
2021-07-13 13:31:55 +01:00
monbrey
1dcad051a8
revert: support for nested arrays of components, fix error handling ( #6081 )
2021-07-12 07:53:27 +01:00
Matt (IPv4) Cowley
dee5c83fc0
fix(PermissionsOverwrites): only convert type if number ( #6092 )
2021-07-12 07:53:18 +01:00
Tiemen
a8984bc68c
types(Guild): remove fetchVoiceRegions ( #6099 )
2021-07-11 23:58:16 +01:00
Rodry
d433fe8a08
fix: channel type check in actions ( #6086 )
2021-07-10 21:51:32 +01:00
SpaceEEC
f72ce7c136
fix(GuildChannel): clone its PermissionOverwriteManager too ( #6083 )
2021-07-10 13:15:20 +01:00
DTrombett
d6c43a50bd
types(Partial): add partial reactions ( #6066 )
...
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-09 12:25:59 +01:00
iCrawl
5b6be0cebc
types(Test): fix overloads for channel create
2021-07-08 22:46:26 +02:00
SpaceEEC
637c8e0fdf
fix(PresenceUpdate): use added presence over nullable getter ( #6077 )
...
Co-authored-by: Jan <66554238+vaporox@users.noreply.github.com >
Co-authored-by: Noel <buechler.noel@outlook.com >
2021-07-08 21:43:48 +01:00
Rodry
6301728d35
refactor(Channel): change channel types to UPPER_CASE ( #6035 )
2021-07-08 21:32:19 +01:00
anandre
b170fb5ce8
docs(InteractionResponses): reply docs example ( #6079 )
...
Co-authored-by: DTrombett <73136330+DTrombett@users.noreply.github.com >
2021-07-08 21:16:03 +01:00
BaumianerNiklas
67e9ce4693
docs(InteractionResponses): generalize wording in update to fit other component interaction types ( #6074 )
2021-07-08 15:39:36 +01:00
BannerBomb
c1eaa78ab7
typings(GuildInviteManager): FetchInvitesOptions ( #6076 )
2021-07-08 15:39:23 +01:00
1Computer1
9cd5e7ed61
refactor(Managers): rename add to _add ( #6060 )
2021-07-08 11:34:45 +01:00
DTrombett
28b5ffb4d6
docs(ClientUser): fix shardId nullable ( #6072 )
...
* docs(ClientUser): fix shardId nullable
* docs(ClientUser): fix id lowercase for consistency
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2021-07-07 23:22:51 +01:00
Antonio Román
7322547172
types: fixed unreachable overloads ( #6062 )
2021-07-07 17:34:39 +01:00
DTrombett
58bbcd591e
types(ApplicationCommand): fix option name ( #6067 )
...
* types(ApplicationCommand): fix option name
* fix(ApplicationCommand): update tests
* fix(ApplicationCommand): fix error param
2021-07-07 13:41:47 +01:00
Antonio Román
98a5b52d8b
refactor(ApplicationCommandManager): remove unused assignment ( #6063 )
2021-07-07 13:41:02 +01:00
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