Noel
dea48d64a5
chore(Deps): upgrade deps ( #4701 )
2020-08-14 21:46:23 +02:00
Carter
f1194afd7c
feat(GuildMemberManager#prune): roles query param ( #4142 )
...
Co-authored-by: izexi <43889168+izexi@users.noreply.github.com >
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
Co-authored-by: kyranet <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Noel <icrawltogo@gmail.com >
2020-08-14 20:14:31 +02:00
Carter
2742923df4
feat(GuildManager): adds GuildManager#fetch ( #4086 )
...
Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com >
2020-08-14 19:34:19 +02:00
cherryblossom000
f451be0519
feat(typings): use readonly arrays in parameters ( #4692 )
...
Co-authored-by: Noel <icrawltogo@gmail.com >
2020-08-13 20:43:51 +02:00
Androz
e7eda72c9d
feat(typings): add number type for setExplicitContentFilter method ( #4694 )
2020-08-12 23:18:58 +02:00
Sugden
980243f2d5
fix(Partials): correctly set properties as nullable ( #4636 )
2020-08-12 21:26:59 +02:00
Carter
290938bf80
feat: bypass cache check with forceFetch param ( #4592 )
2020-08-12 21:23:04 +02:00
Advaith
57ca3d7843
feat(Guild): updates for Community guilds ( #4377 )
...
Co-authored-by: SpaceEEC <spaceeec@users.noreply.github.com >
2020-08-12 12:21:17 +02:00
Advaith
5be6630843
feat(Guild): discovery splash ( #4619 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2020-08-12 11:09:18 +02:00
Tristan Guichaoua
f2f31a14c9
feat(types): BitFieldResolvable use ReadonlyArray ( #4604 )
2020-08-12 09:34:24 +02:00
Sugden
e92cbc444b
feat: deprecate GuildEmbed methods and properties in favour of GuildWidget ( #4121 )
2020-08-12 09:33:00 +02:00
Advaith
baffbdb541
fix(Integration): user might not be present ( #4691 )
...
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
2020-08-12 09:30:34 +02:00
Bence
b7740d4859
feat(GuildEmoji): cache the author ( #4334 )
...
Co-authored-by: Papaia <43409674+Papaia@users.noreply.github.com >
2020-08-12 09:27:00 +02:00
samsamson33
03580b23a3
feat(Util): add missing colors to docs ( #3843 )
...
Co-authored-by: Crawl <icrawltogo@gmail.com >
2020-08-11 23:40:07 +02:00
Nathan Franke
124afeb843
fix(Collector): support async ( #4123 )
2020-08-11 23:34:47 +02:00
Souji
b4d651055a
fix(BaseManager): properly type valueOf ( #4594 )
2020-08-11 22:59:44 +02:00
Souji
276dddcbfb
fix(PresenceStatus): include invisible in typings ( #4585 )
2020-08-11 20:59:47 +02:00
tiehm
3df99930e8
fix(Typings): Channel#delete returns bad type ( #4118 )
2020-08-11 20:58:12 +02:00
Matthew Stead
e54c21bc65
feat(typings): TypeScript support for changing $browser ( #4667 )
2020-08-11 20:57:42 +02:00
Souji
bbfc715821
fix(Message): include MessageEmbed type ( #4675 )
2020-08-11 20:56:01 +02:00
Arthur
5b716c5b0c
docs(ReactionManager): clarify cache Collection keys type ( #4683 )
2020-08-11 20:54:14 +02:00
Jan
b0e53e9c6d
docs(Message): add NewsChannel type to Message#channel ( #4680 )
2020-08-11 20:53:29 +02:00
Androz
c55b5c8c19
fix(typings): correct spelling of APIError ( #4687 )
2020-08-11 20:52:10 +02:00
Jan
0e61fca974
docs: make use of MessageResolvable type for bulkDelete ( #4661 )
2020-07-29 12:15:23 +02:00
Tenpi
47151fc2a9
fix(typings): allow custom events ( #4162 )
2020-07-17 10:17:44 +02:00
Souji
c79ac4d9fc
feat(Message): support pin and unpin with reason ( #4586 )
...
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-07-17 10:13:30 +02:00
Souji
f9f3661090
fix(User): type dmChannel as nullable ( #4609 )
2020-07-06 19:07:33 +02:00
Jan
214981f0b1
feat(MessageMentions): fix typings/docs, add resolvables support ( #4339 )
2020-06-19 11:43:19 +02:00
uhKevinMC
54a7fdadda
feat(voiceState): add self_video property ( #4346 )
2020-06-19 11:41:11 +02:00
Johnson Chen
8030612e52
feat(Guild): add fetchVanityData ( #4103 )
...
* chore: deprecate Guild.fetchVanityCode()
* feat: add Guild.fetchVanityData()
* chore: update typings
* fix: remove redundant .then()
Co-Authored-By: Antonio Román <kyradiscord@gmail.com >
* chore: fix lint
* chore: util.deprecate fetchVanityCode
* feat: add VanityData typedef and populate vanityURLUses
* chore: update typings
* chore: properly deprecate fetchVanityCode
* chore: fix jsdoc description for fetchVanityData
* feat: make fetchVanityData an async function
* chore: update Vanity typedef
* docs: update jsdoc
* feat: throw vanity url error instead of returning rejected promise
Co-Authored-By: Vlad Frangu <kingdgrizzle@gmail.com >
* docs: disable max-len rule and add info about receiving parameter
* fix: throw Error instead of rejecting Promise
* revert: revert "fix: throw Error instead of rejecting Promise"
This reverts commit 7ffd53eba4 .
* fix: require DJSError to fix throwing VANITY_URL error
* nitpick: re-add TypeError to the import
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
Co-authored-by: Antonio Román <kyradiscord@gmail.com >
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2020-06-04 13:41:20 +02:00
SpaceEEC
407bc77d34
fix: in/de-crement max listener for client events ( #4168 )
2020-05-07 23:39:23 +02:00
Kevin
ec0227a476
feat(GuildMemberManager): nonce and chunk_count for _fetchMany ( #4130 )
...
Co-Authored-By: izexi <43889168+izexi@users.noreply.github.com >
2020-05-04 12:48:33 +02:00
Carter
6367f603f6
typings: Add User#fetchFlags ( #4138 )
2020-05-01 14:45:14 +01:00
Carter
026691702d
feat(Guild#fetch): withCount param ( #4111 )
2020-04-27 09:05:39 +02:00
Alon L
819e04a7ab
fix(Typing): dmChannel bulkDelete ( #4115 )
...
Co-Authored-By: Sugden <28943913+NotSugden@users.noreply.github.com >
2020-04-26 15:59:30 +02:00
Sugden
46b9e25190
typings(User): mark locale and flags as optional ( #4127 )
2020-04-26 15:58:53 +02:00
Alon L
e3303ac3a2
fix(Typing): setSpeaking public ( #4109 )
2020-04-24 08:44:37 +01:00
SpaceEEC
97d23de247
fix(Typings): add optional Set<Snowflake> to shardReady event ( #4099 )
2020-04-19 12:24:58 +02:00
thepheer
12187efdbd
feat(DataResolver): prefer streams over buffers ( #4075 )
...
* feat(DataResolver): prefer streams over buffers
* feat(DataResolver): add `resolveFileAsBuffer`
Add `resolveFileAsBuffer` to use it in `resolveImage` which still requires Buffers to work.
* fix(DataResolver): make sure `resolveFile` always returns a Promise
* refactor(DataResolver): use for-await-of
* fix(DataResolver): use forked form-data which supports custom streams
* fix(APIRequest): use forked form-data in code too
Co-authored-by: - <5144598+-@users.noreply.github.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-04-17 12:03:50 +02:00
Ryan Munro
7c6000c5e3
feat(ClientOptions): allow setting default allowedMentions ( #4085 )
...
* feat(ClientOptions): add default allowedMentions
* feat(ClientOptions): use default allowedMentions when not provided
* Update src/structures/APIMessage.js
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* Update src/structures/APIMessage.js
Co-Authored-By: SpaceEEC <spaceeec@yahoo.com >
* fix(ClientOptions): default allowedMentions should be undefined
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-04-17 11:23:31 +02:00
HarmoGlace
a88b7239b5
docs(RoleManager): everyone role can't be null ( #3995 )
...
* docs(RoleManager) : fix jsdoc everyone role can't be null
It fixes the jsdoc of RoleManager ; the everyone role of a guild can't be null
* Everyone role can't be null
* fix(typings): mark RoleManager#everyone as non-null
Co-authored-by: Crawl <icrawltogo@gmail.com >
Co-authored-by: SpaceEEC <spaceeec@yahoo.com >
2020-04-16 12:18:43 +02:00
Kevin
ff3454ef89
feat(GuildMemberManager): customisable timeout for _fetchMany ( #4081 )
2020-04-16 12:07:32 +02:00
Ron B
2388467bd3
chore(Typings): stricter def for Client#emit ( #4087 )
2020-04-16 11:52:52 +02:00
Carter
2e5a6476d5
feat: User#flags ( #4060 )
...
* feat: user flags
* fix: unnecessary negated statement
* fix: wording for description
* fix: an vs. a
* feat: add verified bot and dev flags
Co-Authored-By: Vlad Frangu <kingdgrizzle@gmail.com >
* typings :verified bot and dev flags
Co-Authored-By: Vlad Frangu <kingdgrizzle@gmail.com >
* feat: mon's suggestion, async fetchFlags & jsdoc
* feat: added to index.js
* fix: typo
* style: leveled flags
* typings: update leveled flags
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com >
2020-04-16 10:32:15 +02:00
cherryblossom000
72a33cb8c2
fix(Typings): GuildPreview#features and Integration#type ( #4080 )
...
* fix(Typings): make GuildPreview#features an array
* fix(Typings): make Integration#type a string
2020-04-16 10:31:40 +02:00
SpaceEEC
72a7f2b3ed
fix(ClientApplication): type fetchAssets as resolving with an a… ( #4078 )
2020-04-16 09:27:52 +02:00
SpaceEEC
a8db9884d5
feat(Message): add allowedMentions to MessageEditOptions ( #4071 )
2020-04-16 09:27:19 +02:00
Roki
1330e2d246
feat: add supported 4096 image size and jpeg format ( #4031 )
...
* add 4096 avatar size that discord supports
* jpeg is also a thing
* update jsdocs
* update typings and remove duplicate type
2020-04-12 22:20:31 +02:00
Jyguy
9ba4eff279
fix(StreamDispatcher): correct property types ( #4059 )
...
* typings(StreamDispatcher): correct property types
* typings(StreamDispatcher): order methods alphabetically
2020-04-12 20:58:53 +02:00
Quentin
a07c3c2f94
fix(BaseManager): remove declaration of remove method ( #4069 )
...
The BaseManager#remove method doesn't exist, but was in the BaseManager typings.
2020-04-12 20:54:34 +02:00