SpaceEEC
7e9c995566
feat(Message*): add missing fields, add support for flag editing ( #3795 )
2020-02-22 12:38:43 +01:00
SpaceEEC
46e8bc44fc
feat(BitField): add BitField base class ( #3759 )
...
* feat(BitField): add BitField base class
* fix(Permissions): properly deprecate the getters/setters
2020-02-12 22:23:48 +01:00
SpaceEEC
c955fd00c7
feat(Integration): add guild integrations ( #3756 )
2020-02-02 11:11:31 +01:00
SpaceEEC
fbcd363ec9
fix(Voice*): fix speaking event and voice receive ( #3749 )
...
* fix(Voice*): synthesize speaking event from UDP packets
* fix(VoiceReceiver): skip over undocumented Discord byte
See #3555
* fix(VoiceConnection): play frame silence before emitting ready
* typings: account for changes in private api
2020-01-31 22:37:11 +01:00
SpaceEEC
6d7e1e4953
fix: remove for..in in favor of Object.keys ( #3745 )
2020-01-31 11:38:47 +00:00
Ryan Munro
ab7f9e80b4
feat(MessageReaction): backport removeAll and MessageReactionRemoveEmoji event ( #3741 )
...
* Add new action and websocket handler
* Add REST method for removing reaction emoji
* Update Message#_removeReaction to handle removing whole emoji
* Add MessageReaction#removeAll and update typings
* Apply uncached user fix
2020-01-25 15:36:35 +01:00
SpaceEEC
903f6ca75f
fix: only setMaxListeners when max listeners is not 0 ( #3716 )
2020-01-24 16:41:37 +01:00
Ryan Munro
40afbc1d7e
feat(Client): backport INVITE_CREATE and INVITE_DELETE events ( #3728 )
...
* Backport INVITE_CREATE and INVITE_DELETE
* Register events to Websocket
* Dont create an Invite if the guild is null
* Null check channel too
2020-01-24 16:34:59 +01:00
SpaceEEC
464ef25898
fix(ClientDataResolver): return a user in resolveUser when passing guild ( #3719 )
2020-01-20 22:02:28 +01:00
SpaceEEC
c5d2b96524
fix(VoiceConnection): use Client#clearTimeout to clear timeouts ( #3709 )
2020-01-19 13:08:49 +01:00
Amish Shah
6ab46491c8
Add internal support for @discordjs/opus to v11 ( #3700 )
...
* Add internal support for @discordjs/opus
* Remove redundant try/catch
* fix: use setBitrate method in @discordjs/opus
* chore: tidy up opus imports
* fix: correct imports for DiscordJsOpusEngine
* chore: update docs to prefer @discordjs/opus
* chore: bump prism-media to 0.0.4 to allow ffmpeg-static
2020-01-17 20:58:49 +00:00
Vlad Frangu
684bb1bf36
src: Remove _trace from different places in the WS ( #3679 )
...
* src: Remove `ws._trace` from READY
* src: Remove `ws._trace` from RESUME
* lint: Fix lint by removing unused packet (#7 )
Co-authored-by: bdistin <bdistin@gmail.com>
2020-01-13 17:54:15 +00:00
Ryan Munro
f6d1db6a24
Backport documentation fixes ( #3683 )
...
* Presence does not extend Base, therefore presence.client was undocumented
* Document Client#fetchVoiceRegions returning a promise
2020-01-13 14:00:13 +00:00
Vlad Frangu
5556b05241
src: add deprecation warning related to removel of uws ( #3648 )
...
* src: Add deprecation warning related to uws
* lint: Fix lint
* src: Simplify code
2020-01-12 15:16:27 +01:00
SpaceEEC
fbe9bc499b
feat(Webhook): add ability to change channel and specify reason to edit ( #3587 )
...
* feat(Webhook): add ability to change channel and specify reason to edit
* fix(RESTMethods): update channelID of the webhook too
2020-01-05 18:34:00 +01:00
SpaceEEC
d1d0d75d4a
fix(ChannelDelete): mark messages of a deleted channel as deleted ( #3572 )
2020-01-05 18:29:14 +01:00
SpaceEEC
cbabc1663c
fix(Voice*): internally disconnect and cleanup when forcibly disconnected ( #3597 )
2020-01-05 18:10:20 +01:00
λtlas
1d6606293a
docs(Client): clarify whose ToS are being violated ( #3580 )
2019-11-19 21:50:45 +01:00
SpaceEEC
96037e107f
feat(GuildMember): add selfStream ( #3522 )
2019-10-27 10:27:43 +01:00
SpaceEEC
f91ad7023b
feat(GuildMember): filter out duplicate roles when updating ( #3502 )
2019-10-27 10:27:01 +01:00
SpaceEEC
18613526bd
docs(VoiceStatus): document name -> value, link in VoiceConnection#status ( #3500 )
2019-10-27 10:26:08 +01:00
SpaceEEC
91600a6946
fix(VoiceReceiver): delete opus encoder from map in stoppedSpeaking ( #3499 )
2019-10-27 10:24:35 +01:00
Ryan Munro
505df2ebb3
backport(Guild): createChannel's default type incorrectly set ( #3497 )
...
Backports #3496 (a03e439d6b ) to the 11.5-dev branch
2019-10-01 10:59:02 +02:00
SpaceEEC
c355236f7f
feat(Emoji): backport delete method ( #3343 )
...
This backports #1877 (c93c4ad21f ) in a semver-minor manner.
2019-06-16 10:07:32 +02:00
SpaceEEC
e6a378b361
feat(Guild): backport misc properties and setRolePositions ( #3337 )
...
* feat(Guild): backport misc properties and setRolePositions
PRs:
* #3168
* #3317
* typings
2019-06-13 18:33:07 +02:00
SpaceEEC
6f49aadf4f
fix(Guild): allow fetchMember to be used with an uncached user ( #3333 )
2019-06-08 10:39:03 +02:00
SpaceEEC
db492e66e2
chore: explicitly mark everything deprecated as @ deprecated ( #3307 )
2019-05-29 22:18:14 +02:00
SpaceEEC
06b72ee19f
fix(GuildMember): do not create a channel key when editing
...
This is to not break GuildMember#setNickname for the current user
2019-05-18 14:08:50 +02:00
Schuyler Cebulskie
8a086e04ab
Add news/store channel support to CHANNEL_CREATE
2019-05-11 18:11:19 -04:00
Schuyler Cebulskie
f30019dd4f
Remove unnecessary import
2019-05-11 17:24:25 -04:00
Schuyler Cebulskie
5e4654ee07
Backport news/store channels
2019-05-11 14:58:46 -04:00
SpaceEEC
ee42bdfd76
feat(GuildMember): add support for voice kicking ( #3246 )
...
This backports e64773e21b (#3242 )
2019-05-06 19:18:29 +02:00
SpaceEEC
67da457c0a
fix/docs(Client): type status and do not throw an error if accessed before login
2019-05-05 13:44:34 +02:00
SpaceEEC
60013b7a10
fix(WebSocketConnection): stringify data when no websocket is available
...
[object Object] is not really descriptive
2019-05-04 21:00:49 +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
Amish Shah
745e18b823
fix #3150 : can now create dispatcher with 0 volume
2019-03-22 12:43:51 +00: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
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
5272cec6c8
feat(Util): add WHITE as color resolvable ( #3062 )
2019-02-09 23:52:38 +00:00
izexi
3b7b282b69
docs(Client): add missing example tag and closing parenthesis ( #3024 )
2019-01-17 09:58:04 +01:00
Darqam
5ed2a95856
docs(Client): add missing parenthesis in fetchInvite example ( #3023 )
...
This is already fixed in master, resolves #3022
2019-01-16 19:17:19 +01:00
Drahcirius
7186c91063
fix(TextBasedChannel): added missing lastMessage functionality in textchannels ( #2999 )
2018-12-23 22:16:50 -06:00
SpaceEEC
691aaef07e
backport(Guild): support for rateLimitPerUser when creating a channel
...
PR: #2878
Commit: 8ec3b5134d
2018-11-17 17:24:48 +01:00
Isabella
950abd4ac3
fix: revert #2768 ( #2848 )
...
* fix: revert #2768
* fix merge
2018-10-14 11:44:02 -05:00
SpaceEEC
7ea88adeca
backport(Guild): support for createChannel with options object ( #2888 )
2018-10-10 10:05:32 +02:00
SpaceEEC
ea3e575546
backport(TextBasedChannel): add lastPinTimestamp and lastPinAt ( #2870 )
...
And clarify Client#channelPinsUpdate's 'time' parameter.
2018-10-10 10:01:04 +02:00
SpaceEEC
c6201ee41b
backport(Guild): add fetchVanityCode ( #2871 )
2018-10-03 17:31:20 -05:00
Isabella
1e85887229
backport: rateLimitPerUser ( #2874 )
2018-10-03 17:21:26 -05:00
SpaceEEC
e0f522a745
backport(ClientOptions): add retryLimit ( #2869 )
2018-10-03 17:20:53 -05:00