Commit Graph

82 Commits

Author SHA1 Message Date
abalabahaha
2b1fcf168c Deminify files 2016-10-02 13:25:00 +09:00
abalabahaha
d0e38c721d 8.2.0 2016-10-02 13:23:34 +09:00
Brian Tanner
fdfd41dd8c add .toObject() method to structures (#522)
* add .toObject() method to structures

* add compiled PMChannel change from last commit

* uncomment members in VoiceChannel toObject method
2016-08-16 09:53:07 -07:00
Zachary Vacura
3b594fd86d Added nonce support to 'sendMessage' 2016-08-15 16:21:32 -05:00
abalabahaha
d656c68e75 Add private message delete bucket 2016-08-07 08:03:26 +09:00
Zman840
c0ef815f9d added emoji support (#503) 2016-08-06 15:29:17 -07:00
abalabahaha
2b7f88ae3a Unminify files 2016-08-05 08:11:45 +09:00
abalabahaha
da31ae589a 8.1.0 2016-08-02 07:21:33 +09:00
abalabahaha
952cfc0456 Experimental active ratelimits (adapted from Eris) 2016-07-29 05:37:43 +09:00
Jesse Bryan
45d61f24db Removed Client#setChannelNameAndTopic and any relevant references (fixed). (#464)
* Removed undeed functions relating to channelName and channelTopic.

* Compiled the last commit.
2016-07-14 09:05:44 +08:00
Jacob
f49f1ab3c8 fix voice state updates (#461)
* fix voice state updates

* use .has for backwards compatability and consistency
2016-07-14 08:31:19 +08:00
Évelyne Lachance
1577075e52 Cache now returns null when using get(cacheID) with invalid ID (#441)
* Cache now returns `null` when using get(cacheID) where the ID is invalid.

* Documented `get(id)`

* Adjusted version in conf.py to 8.0.0
2016-06-26 13:30:24 +09:00
Manuel Kraus
d7026f80a4 Cache.remove fix (#437) 2016-06-22 01:36:32 +09:00
abalabahaha
644061e881 Unminify lib files 2016-06-13 16:00:43 -07:00
abalabahaha
2cd1104d3d 8.0.0 2016-06-09 11:41:04 +09:00
abalabahaha
6cd0561014 Possibly fix #404, #405, #409 2016-06-03 18:36:17 -07:00
Programmix
2194632b7d Potential FFMPEG process fix (#381)
I am by no means sure that this will work. This is an experimental fix.
Please review it carefully; I’m not the best at working with
audio/streams.
2016-05-27 23:09:16 -07:00
Manuel Kraus
8bee117445 Fix bulk deletion error if < 2 messages
Also return error if no server (dm)
2016-05-24 23:44:26 +02:00
Mees van Dijk
afc4c93119 Fixed Cache.has function (#344)
* Fixed Cache.has function

* Fixed Cache.has function

* Fixed Cache.has function

and ran grunt --dev
2016-05-12 16:27:13 -07:00
abalabahaha
963b22e6ce Fix #331 2016-05-08 00:09:58 -07:00
abalabahaha
533d49d7d4 Fix potential permissionsOf crash 2016-04-16 23:51:49 -07:00
abalabahaha
9083893d79 7.0.1 2016-04-16 10:49:48 -07:00
abalabahaha
ecc35eecda Ratelimiter inconsistency fix 2016-04-13 02:06:18 -07:00
abalabahaha
6b189cf3af 7.0.0 2016-04-13 00:47:48 -07:00
abalabahaha
b069f818d9 Unoverlap allow when denying a permission overwrite 2016-03-19 22:54:49 -07:00
Michael Petö
462adfbad3 Add ability to pause and resume audio thats being played 2016-03-19 21:54:25 +01:00
abalabahaha
8614d4b2a5 Less CPU on cache update 2016-03-15 22:04:52 -07:00
abalabahaha
f0dd0cabdf 6.1.0 2016-03-15 22:04:52 -07:00
abalabahaha
e525e3b722 Copy paste fail 2016-03-15 22:04:52 -07:00
abalabahaha
42bedbeee4 Attempt to fix cache crash 2016-03-15 22:04:44 -07:00
abalabahaha
47ecc934f1 Attempting forceFetchUser callback 2016-02-20 18:33:36 -08:00
abalabahaha
f49600af17 Use USER_UPDATE 2016-02-14 13:19:07 -08:00
hydrabolt
315ae22a7f potential server_member_update bugfix? 2016-02-13 21:04:47 +00:00
Aaron Scherer
3c64cfce4a Adding volume wrapper 2016-02-10 09:53:05 -08:00
Amish Shah
4b8f85d44a Exposed Discord.Cache 2016-02-04 21:09:30 +00:00
abalabahaha
9173ded903 Minor patching 2016-02-02 05:59:55 -08:00
abalabahaha
6f7bd987b8 Allow get/getAll to take a function only 2016-01-31 22:37:31 -08:00
abalabahaha
580f260933 Support for regex/function in get/getAll 2016-01-31 22:30:02 -08:00
meew0
634a5bd737 Fix the webdists, this fixes #170.
Particular problems and how they were resolved:
 - The `fs-extra` module, used exclusively by TokenCacher, didn't have a browser version. I rewrote TokenCacher to not use fs-extra (see fdd4cfc7cc)
 - TokenCacher wouldn't work in the browser anyway due to lack of a file system. I made a shim (`Util/TokenCacher-shim.js`) that implements all TokenCacher functionality as null implementations, this causes `login` to always make a request.
 - Compressed packets couldn't be parsed because neither node's Buffers nor zlib were working correctly. Initially I tried to make a browser-only parser class that parses compressed `Blob` packets, but this didn't work out, so I just disabled compression by default.
2016-01-30 14:17:27 +01:00
meew0
fdd4cfc7cc Remove the TokenCacher fs-extra dependency, rewrite init code 2016-01-30 12:09:41 +01:00
meew0
6f31130726 Rebuild lib after @enebe-nb's changes 2016-01-15 15:15:25 +01:00
abalabahaha
718f0b9543 Rebuilt lib for dev and getInvite 2016-01-02 18:24:55 -08:00
Amish Shah
9c8e6eed24 5.3.2 web dists 2016-01-01 18:40:57 +00:00
Amish Shah
2000b62b36 fixed references to update items 2016-01-01 18:27:08 +00:00
meew0
7860828a5d Rebuild 2015-12-31 22:57:33 +01:00
Amish Shah
b927b223bb 5.3.1 2015-12-26 18:35:08 +00:00
Amish Shah
8d0fc8e0a6 Resilience to abusers of the API
For some reason there's a way to join text channels via the Discord API but not the Discord Client, so this commit
prevents the Client from crashing by checking to see if the channels are voice channels.
2015-12-26 18:32:46 +00:00
Amish Shah
f9f7a568fc 5.3.0 web dists 2015-12-26 18:21:04 +00:00
abalabahaha
830cc64828 Fixed #105 and built 2015-12-26 15:10:32 +00:00
Amish Shah
7819dcb3d1 browserified 5.2.0 2015-12-23 22:58:25 +00:00