Commit Graph

1393 Commits

Author SHA1 Message Date
Lewdcario
8f9e911b5f fix: RichEmbed timestamp cloning 2018-03-02 18:52:43 -06:00
Lewdcario
363ead922a fix: bulkDelete discarding non-cached messages 2018-03-02 12:17:10 -06:00
Lewdcario
96e88f3cef docs: incorrect returns 2018-03-01 22:38:55 -06:00
Lewdcario
fcdffcf623 docs: improvements & examples 2018-03-01 20:47:18 -06:00
Lewdcario
acdf43a872 fix: GuildAuditLogs using Guild#fetchInvites 2018-03-01 20:37:19 -06:00
Lewdcario
38f5288be8 docs: Message#type 2018-03-01 20:12:14 -06:00
Lewdcario
f64e924f0d fix: export CategoryChannel 2018-03-01 20:09:05 -06:00
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
Lewdcario
b79722a77b docs: remove trailing commas 2018-02-27 17:43:51 -06:00
Lewdcario
2b24b10246 docs: trailing commas 2018-02-27 11:13:56 -06:00
Isabella
af3517594f docs: improvements 2018-02-27 10:43:31 -06:00
Pascal
c6f92c1bc5 fix: if present, wait for libsodium-wrappers' ready to support v0.7.3 2018-02-26 11:35:51 +01:00
Kyra
b7851bad37 perf(Collection): Performance improvements (#2342)
* Update Collection.js

* ESLint
2018-02-21 22:03:40 +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
Lasse Niermann
1f14758e0c docs(ClientUser): mark email field as user account only property (#2306)
* Store Mail - User Account Only

Added that info

* docs(ClientUser): mark email field as nullable
2018-02-01 20:06:59 +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
Pascal
8df1ac9920 fix(startTyping): return, to not overwrite already existing entries 2018-01-22 14:09:27 +01:00
Cynthia Lin
00e2f39ea1 fix(client#voiceConnections): Incorrect docs description (#2280) 2018-01-20 22:09:39 -06:00
Pascal
b5ff309bf9 fix(CategoryChannel): set the type to 'category' and document its type 2018-01-20 23:27:18 +01:00
MaySoMusician
8cbefcc081 [v11.3.x] Fix param to setPresence in setActivity (#2270)
ClientUser#setPresence in master branch (latest) calls client.presences.setClientPresence, but that in v11.3 does not
so i change parameter sent to setPresence for clearing the game activity, from activity:null to game:null,
for now until setPresence gets updated
2018-01-18 02:39:54 -06:00
Isabella
932980e91f fix(guild#createRole): incorrect guild reference 2018-01-16 08:28:08 -06:00
Isabella
f62fa05389 fix(Message#addReaction): incorrect regex (#2247) 2018-01-13 17:22:23 +00:00
Isabella
2efe2d28f2 fix(Channel#startTyping): less breaking (#2232)
* fix(Channel#startTyping): less breaking

* silent

* appelation suggestion

* space suggestion
2018-01-11 16:18:40 +00:00
Frangu Vlad
0821acfa99 Fix iter issues (#2237) 2018-01-09 21:17:46 +01:00
Isabella
d94ead70f8 fix(avatarURL): gifs not being animated (#2195) 2018-01-05 21:33:50 +00:00
Isabella
8226752098 fix(voiceStateUpdate): incorrect members.size (#2231) 2018-01-05 21:28:57 +00:00
Michel Nguyen
e883afa0ee docs: fix guildChannel#toString() example (#2203)
* fix the docs

* don't log something what you don't log
2018-01-04 01:17:40 +01:00
SpaceEEC
659e89e8cd feat: backport animated emojis support (#2217)
Commit: 84e4dd6a99
2018-01-04 01:16:50 +01:00
Isabella
c79823002b docs: improve examples (#2200)
* docs: improve examples


another

* remove conflict

* some nuances

* backport
2018-01-04 01:14:36 +01: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
Isabella
b3eb1bba24 backport(Channel#startTyping): returns Promise (#2208) 2018-01-04 01:02:22 +01:00
Yukine
fc5d4438f8 backporting the fix for RTP header extensions (#2185) 2017-12-23 12:29:06 +01:00
Isabella
6683c40a6f fix(bulkDelete): stop rejections when filterOld=true (#2178)
* fix(bulkDelete): stop rejections when filterOld=true

* gus suggestion
2017-12-21 09:31:47 +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
cd066849ad feature(ClientUser): deprecate ClientUser#setGame in favour of ClientUser#setActivity (#2127)
* feature(ClientUser): backported ClientUser#setPresence

* fix ternary

* deprecation stuff
2017-11-29 23:29:37 -05:00
Isabella
e40c3f8cd0 fix(GuildAuditLogs): backport (#2123) 2017-11-21 09:45:26 +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