Commit Graph

768 Commits

Author SHA1 Message Date
Pascal
f2c5714751 fix(StreamDispatcher): remove gratuitous parentheses 2018-03-01 19:12:15 +01:00
FireController1847
ced93fe826 Specify that Client#uptime is "in milliseconds" (#2288) 2018-03-01 18:25:17 +01:00
Gus Caplan
7f5c1038db fix websocket ratelimits (#2014) 2018-03-01 18:25:00 +01:00
Gus Caplan
af75e43900 proper fix for #1685 (#1805)
* Update WebSocketConnection.js

* Update WebSocketConnection.js

* Update WebSocketConnection.js

* Update RESTManager.js
2018-03-01 17:50:07 +01:00
Pascal
c6f92c1bc5 fix: if present, wait for libsodium-wrappers' ready to support v0.7.3 2018-02-26 11:35:51 +01:00
Pascal
dc92582eb4 fix(ReadyHandler): don't create new guild instances for already existing guilds
See: #2319, #2332
2018-02-21 21:41:02 +01:00
Lewdcario
40a2f093aa fix(VoiceChannel): setUserLimit defaulting to wrong value 2018-02-13 10:43:38 -06:00
David Siaw
8ee2788baf fix(StreamDispatcher): properly check that timestamp fits in 2^32-1 (#2325)
* fix a very strange bug caused by massive timestamps sent to discord

* remove 'gratituous' spaces
2018-02-11 08:35:46 +01:00
Pascal
3df3741922 backport/fix(GuildDelete): disconnect voice and cleanup GuildChannels 2018-02-05 13:03:43 +01:00
Pascal
96904b1826 fix(AudioPlayer): add opus to destructured key of stream options
This fixes #2079 (VoiceConnection#playOpusStream being broken)
2018-02-05 10:42:47 +01:00
Lewdcario
52c402faea fix(resolveColor): not interpreting DEFAULT correctly 2018-01-28 19:04:55 -06:00
Lewdcario
e978253896 fix(Webhook#send): incorrect docs + return
Two things:
* Documentation doesn't account for possible raw object return
* Allows the return to be a Message object as well, like the docs originally intended
2018-01-24 13:06:05 -06:00
Cynthia Lin
00e2f39ea1 fix(client#voiceConnections): Incorrect docs description (#2280) 2018-01-20 22:09:39 -06:00
Isabella
932980e91f fix(guild#createRole): incorrect guild reference 2018-01-16 08:28:08 -06:00
Isabella
8226752098 fix(voiceStateUpdate): incorrect members.size (#2231) 2018-01-05 21:28:57 +00:00
SpaceEEC
db5bdcd855 feat: backport after and before parameter when fetching a reaction's users (#2218)
Commits:
- f40a5e9f88
- 5cd42695ae
2018-01-04 01:07:14 +01:00
Yukine
fc5d4438f8 backporting the fix for RTP header extensions (#2185) 2017-12-23 12:29:06 +01:00
Isabella
9f0417c09d fix(Guild#createChannel): default to text (#2168)
update docs


doc fixes


real fix


stuf
2017-12-12 06:33:48 +01:00
Isabella
1c34819d47 fix(UserGuildSettingsUpdate): not creating settings with new guilds (#2150) 2017-12-06 07:10:30 +01:00
Isabella
862b2ec3d4 Backport: Guild#createChannel (#2145)
* Backport: Guild#createChannel

* this should not return a buffer
2017-12-06 07:08:46 +01:00
Isabella
d705a0c7d0 fix(VoiceChannel#edit): incorrect bitrate (#2144) 2017-12-04 05:38:06 +01:00
Isabella
fb6d14d099 fix(guild#createChannel): new channel returning null (#2143)
forgot to return channel.
2017-12-04 05:37:51 +01:00
Isabella
22da595b50 fix(DMChannel): messages not being cached (#2122) 2017-11-21 09:43:53 +01:00
Isabella
cce2480bb5 feature(CategoryChannel): backport (#2117)
* feature(CategoryChannel): backport


fix


no

* ????

* bad ternary
2017-11-19 23:19:46 -05:00
Gus Caplan
69b7d5d58e Fix #1903 (#1904) 2017-09-07 16:25:55 +01:00
SpaceEEC
95e22c2f12 feat/fix: add DiscordAPIError#path and fixed Burst request handler handling api errors (#1867) 2017-09-01 16:05:22 +02:00
SpaceEEC
1fe201ae90 Backporting, doc/bug fixes as well deprecation (#1826)
* Backporting, doc/bug fixes as well deprecation

* Adress issue with not resettable icons/images
2017-08-25 15:14:05 +02:00
Gus Caplan
85d195da52 Fix docs on resolveImage 2017-08-23 05:40:58 +02:00
Isabella
17d7f5c723 resolveImage backport (#1822)
* add resolveImage

* add groupDMChannel#setIcon + icon getter

* doc fix

* crawl no kill pls

* *whistles*

* channe
2017-08-23 05:29:22 +02:00
Crawl
a85fc91630 make webpack over 9000 times better (#1816)
* webpack stuff

* even better

* Update browser.js
2017-08-22 19:57:59 +02:00
SpaceEEC
0b22d9a774 Backporting Attachments (#1817) 2017-08-22 00:39:27 +02:00
SpaceEEC
f7664b01a2 Backports (#1813)
* Backported OAuth2Application 201ecd25a2

* Backported retry on 500 57b6980313

* Backported b8034525e3 and fa5c4efa2b
2017-08-21 22:25:21 +02:00
SpaceEEC
be4ccb3686 Backporting audit log reasons and createRole with position for 11.2 (#1810)
* Backporting audit log reasons and createRole with position for 11.2

* Sending kick reason via header rather than via query
2017-08-21 22:21:18 +02:00
SpaceEEC
618fa2b104 functions for setTimeout should get the context bound and not applied (#1673) 2017-08-20 22:26:04 +02:00
Crawl
2478092d44 More docs cleanup 2017-08-20 22:15:51 +02:00
Crawl
c7d1507e19 Docs cleanup 2017-08-20 22:08:37 +02:00
iCrawl
5dc83a1b03 Git pls 2017-08-12 11:28:47 +02:00
Crawl
cba4cc2400 Audio bitrate support (#1439)
* Audio bitrate support

Note: not implemented for VoiceBroadcasts

* Fix default args, auto bitrate

* Late night typos are the best

* Changes bitrate to kbps for VoiceChannel stuff

* Add methods to manipulate bitrate while encoding
2017-08-12 11:23:47 +02:00
aemino
7aa791eaaa Ignore setSpeaking requests when VC isn't connected (#1638) 2017-08-12 11:16:11 +02:00
iCrawl
8a9b6cbdb5 Stop doubling the message key 2017-07-31 01:32:44 +02:00
iCrawl
bdc61a4068 Wrong operator in flattenErrors 2017-07-31 01:29:46 +02:00
SpaceEEC
a56a24d042 Fixed DiscordAPIError#message sometimes being undefined 2017-07-31 01:26:42 +02:00
bdistin
e7ebb23f14 Fix guildMembersChunk documents for v11.1-dev (#1734) 2017-07-30 15:00:01 +02:00
Crawl
26e5ef3205 Update deps and fix webpack 2017-07-16 14:34:23 +02:00
Drahcirius
4ce4dc019e setTimeout should use args (#1623) 2017-06-29 19:53:11 +01:00
Will Nelson
f1a74f214e make token not enumerable (#1620) 2017-06-29 19:52:58 +01:00
Gus Caplan
85ec7c64bc update docs for discord api error (#1575)
* aaaaa

* Update DiscordAPIError.js
2017-06-29 19:52:44 +01:00
aemino
b5de89a973 Fix VoiceConnection#authenticateFailed race condition (#1601) 2017-06-29 19:52:22 +01:00
aemino
1ed6bbc4b4 Remove unused VoiceBroadcast#guaranteeOpusEngine (fixes #1556) (#1563) 2017-06-05 06:54:56 +02:00
aemino
2116fba4c2 Opus engine fetching: don't ignore non-missing errors (#1555)
* Opus engine fetching: don't ignore non-missing errors

* typo fix
2017-06-01 10:32:12 +02:00