Ryan Munro
831f988fe2
typings(Collection): add typings for partition ( #3166 )
2019-04-01 09:35:17 +02:00
izexi
5cd6d8d380
feat(Guild): add fetchBan and withReasons to fetchBans ( #3170 )
...
* add Guild#fetchBan() & backport BanInfo
* and the typings
* requested changes
* typings overloads
Co-Authored-By: izexi <43889168+izexi@users.noreply.github.com >
* nullable reason typings
Co-Authored-By: izexi <43889168+izexi@users.noreply.github.com >
2019-04-01 09:07:52 +02:00
Schuyler Cebulskie
04fa56d0c0
Improve structure extension errors
2019-03-24 16:45:34 -04:00
Amish Shah
b74a4356dd
fix lint errors
2019-03-23 12:54:22 +00:00
Amish Shah
6adb0a6609
voice: add ability to delete broadcasts
2019-03-23 12:52:18 +00:00
Amish Shah
9a092b6e57
voice: rename createVoiceBroadcast to createBroadcast
2019-03-23 12:37:55 +00:00
Amish Shah
c8225631c9
voice: move broadcasts to client.voice
2019-03-23 12:36:53 +00:00
Amish Shah
3df56540e2
voice: add documentation to VoiceBroadcast
2019-03-23 12:22:55 +00:00
Amish Shah
745e18b823
fix #3150 : can now create dispatcher with 0 volume
2019-03-22 12:43:51 +00:00
izexi
9b2bf03ff6
feat(MessageStore): add cache parameter to fetchPinned() ( #3154 )
...
* add cache param to MessageStore#fetchPinned()
* typings for cache param
* set cache to true by default
2019-03-19 20:35:58 +01:00
izexi
2341d13615
fix: messageReactionRemove not emitting for partial messages ( #3125 )
2019-03-19 20:32:11 +01:00
SpaceEEC
e62833b5e1
docs: mark getters as @ readonly
2019-03-19 19:59:45 +01:00
Ryan Munro
df1889ab49
cleanup(Guild): removed fetchAuditLogs' "after" option ( #3142 )
...
* Removed code and documentation for Guild.fetchAuditLogs "after" option
* Also removed the option from typings
2019-03-12 19:14:32 +01:00
bdistin
1673b6f8f5
fix(APIMessage): edit shouldn't remove content ( #3129 )
...
* edit shouldn't remove content
If undefined is passed to the api, content isn't removed in such a case where you are only editing the embed.
* fix a related doc string
* update typings
* requested changes
2019-03-08 17:57:59 +01:00
Souji
be2f78851f
docs/typings: RateLimitInfo#limit instead of requestLimit ( #3132 )
...
* fix doc for ratelimit data, fixes #3131
* adapt typings
* typings: unindent #region comments
2019-03-07 16:34:23 +01:00
Antonio Román
132788937a
src: add missing events in constants ( #3124 )
...
* src: Add missing events in constants
* fix: Restore 'use strict';
2019-03-05 17:18:11 +01:00
Kamran Mackey
1207c243d1
typings(Guild): add missing defaultRole property ( #3126 )
...
* [typings] Fix missing defaultRole property under Guild.
Signed-off-by: Kamran Mackey <kamranm1200@gmail.com >
* [typings] Added missing readonly identifier.
Signed-off-by: Kamran Mackey <kamranm1200@gmail.com >
2019-03-04 20:32:15 +01:00
SpaceEEC
579283dfe9
fix(Role): proper undefined check for data.permission when editing
2019-03-02 21:58:40 +01:00
Amish Shah
6e761eb030
fix typo
2019-02-26 13:10:39 +00:00
SpaceEEC
32ad56a562
docs(Guild): update createChannel examples to not use deprecated overload
2019-02-25 11:09:46 +01:00
Cam Cope
f61c044b26
Mark peer dependencies as optional ( #3066 )
2019-02-24 08:43:42 +00:00
bdistin
fe5563e158
refactor(User): avoid invoking dmChannel getter more than once per method ( #3108 )
...
also refactors to async methods
2019-02-24 09:37:10 +01:00
Linn Dahlgren
7006f00ae4
feat(MessageEmbed): add missing proxyURL property to video ( #3109 )
...
* Added missing property to MessageEmbed.video
* Updated typings for MessageEmbed.video
2019-02-24 09:27:57 +01:00
Kyra
bc0a761e22
typings: Convert types to interfaces where applicable ( #3068 )
2019-02-23 22:14:09 -06:00
Linn Dahlgren
4d3f76656a
docs(MessageEmbed): add missing type value ( #3106 )
2019-02-23 10:05:04 +01:00
Amish Shah
73be952406
use official release of prism
2019-02-21 11:56:46 +00:00
Amish Shah
efbbfbcec6
fix #3102
2019-02-20 19:15:33 +00:00
Amish Shah
6aa792f9ab
voice: cleanup internals whether end() or destroy() is called
2019-02-19 13:16:48 +00:00
Amish Shah
4009986bc8
voice: destroy opus
2019-02-17 21:48:47 +00:00
Amish Shah
0564c5c777
voice: update prism
2019-02-14 16:57:26 +00:00
SpaceEEC
4289b18ab2
docs(GuildMember): add missing @name to document user property
...
Fixes #3090
2019-02-14 11:19:05 +01:00
Amish Shah
5c3f5d7048
Partials ( #3070 )
...
* Remove GroupDMChannels
they sparked no joy
* Start partials for message deletion
* MessageUpdate partials
* Add partials as an opt-in client option
* Add fetch() to Message
* Message.author should never be undefined
* Fix channels being the wrong type
* Allow fetching channels
* Refactor and add reaction add partials
* Reaction remove partials
* Check for emoji first
* fix message fetching
janky
* User partials in audit logs
* refactor overwrite code
* guild member partials
* partials as a whitelist
* document GuildMember#fetch
* fix: check whether a structure is a partial, not whether cache is true
* typings: Updated for latest commit (#3075 )
* partials: fix messageUpdate behaviour (now "old" message can be partial)
* partials: add warnings and docs
* partials: add partials to index.yml
* partials: tighten "partial" definitions
* partials: fix embed-only messages counting as partials
2019-02-13 17:39:39 +00:00
Amish Shah
8910fed729
voice: debug UDP ( #3044 )
2019-02-12 16:29:11 +00:00
SpaceEEC
45a17e7ebd
fix(Emoji): reject explicit error when MANAGE_EMOJI permissions are missing ( #3063 )
2019-02-12 10:16:23 +01:00
SpaceEEC
49e8bd9edd
feat(RichEmbed): add timestamp support for setTimestamp ( #3061 )
2019-02-12 10:15:37 +01:00
SpaceEEC
1618829cc6
fix(Util): splitMessage throws an error if a chunk is too large ( #3060 )
2019-02-12 10:14:49 +01:00
SpaceEEC
a0ff72b556
fix(GuildMember): add explicit channel resolve error to member edit ( #3059 )
2019-02-12 10:13:37 +01:00
SpaceEEC
7bc2e231cf
feat(Guild): add position to createChannel's implementation ( #3058 )
2019-02-12 10:12:25 +01:00
SpaceEEC
890b1be714
feat(RichEmbed): add length getter ( #3057 )
2019-02-12 10:11:44 +01:00
SpaceEEC
a2a0c05102
feat(Presence): add clientStatus ( #3056 )
2019-02-12 10:10:33 +01:00
Kyra
5c19ad7252
cleanup: Error messages cleanup ( #3079 )
...
Removed keys that return zero occurrences in the library's source code
2019-02-12 08:13:15 +00:00
Kyra
0c7a618f10
cleanup: remove unused members of classes ( #3078 )
...
* cleanup: Remove unused members of classes
* typings: Remove hit from Message
2019-02-11 20:33:13 +01:00
Amish Shah
c362ba0dd5
voice: more debug
2019-02-11 18:37:33 +00:00
Amish Shah
fe51b4e89b
voice: more debug information, correctly listen to vws
2019-02-11 18:28:37 +00:00
Amish Shah
375706beac
voice: replace self.xyz events
2019-02-11 18:03:35 +00:00
Amish Shah
810b5a5f71
voice: more debug info
2019-02-11 17:57:56 +00:00
Amish Shah
283fc54ce4
More debug information
2019-02-11 17:39:19 +00:00
Amish Shah
a705edfd0d
voice: more debug information
2019-02-11 17:22:17 +00:00
Kyra
ab55acffdb
webpack: Fix module warning when building ( #3076 )
...
Warning:
```
WARNING in ./src/client/Client.js
Module not found: Error: Can't resolve 'worker_threads' in 'D:\Repositories\discordjs\discord.js\src\client'
@ ./src/client/Client.js
@ ./src/index.js
```
2019-02-11 16:29:20 +00:00
Kyra
0c5b9c6870
chore(deps): Updated all required, peer, and development dependencies ( #3073 )
...
* chore(deps): Updated all required, peer, and development dependencies
And engines.node to require 10
* chore(peerDeps): Updated uws to 11.149.1
Clarified my doubts with iCrawl
2019-02-11 07:41:37 +00:00