Commit Graph

667 Commits

Author SHA1 Message Date
Jacob
015eb9c546 add Webhook structure (#764) 2016-10-01 21:02:48 -07:00
abalabahaha
76dd4f74da Fix arbitrary ffmpeg 2016-10-02 12:44:59 +09:00
Jacob
c00d209014 add webhooks v8 (#759)
* add webhook structure and getChannelWebhooks as well as getServerWebhooks

* add sendMessage

* add the ability to edit create and delete hooks

* remove server wide cache and add getter.
2016-10-01 11:53:14 +01:00
abalabahaha
d22ca969db Add more undefined checks 2016-09-27 15:36:15 +09:00
abalabahaha
ba0c8c45fc Fix potentially long websocket messages 2016-09-25 08:30:08 +09:00
abalabahaha
3bc6ea455d Fix voice channel joining 2016-09-19 03:41:08 +09:00
abalabahaha
53ecaab12a Default message.content to normal message 2016-09-18 09:46:46 +09:00
abalabahaha
34323c869e Gateway v6 support 2016-09-18 09:26:29 +09:00
abalabahaha
d96f5d1e30 Userbots on gateway v5 2016-09-18 08:50:32 +09:00
abalabahaha
4139401f1b Experimental gateway v5 support 2016-09-18 08:14:26 +09:00
abalabahaha
e3c7fd70e1 Attempting gateway v4 2016-09-18 07:59:35 +09:00
Brian Tanner
3e39d54933 change role hasPermission to return true for administrator (#525)
* change role hasPermission to return true for administrator rather than manageRoles

* add administrator to Role.serialize()
2016-08-20 14:00:30 -07: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
Hugo Holmqvist
e42178181d Fixes some bool options (#521)
* Fix boolean options

* viewlad

* grunt
2016-08-16 09:50:27 -07:00
Zachary Vacura
3b594fd86d Added nonce support to 'sendMessage' 2016-08-15 16:21:32 -05:00
abalabahaha
fe95e31f48 Return booleans in memberHasRole() 2016-08-07 08:10:04 +09:00
Manuel Kraus
8085f5bde3 Fix data undefined error (#502) 2016-08-06 16:08:23 -07: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
Brian Tanner
0a648e80c9 handle ffmpeg/avconv not found (#501) 2016-08-06 08:18:12 -07:00
Manuel Kraus
1624daa730 Update ChannelPerimssions.serialise() (#497) 2016-08-04 22:29:06 -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
b05e18871a Fill out browser and device IDENTIFY properties 2016-07-31 06:52:35 +09:00
abalabahaha
1049a1d70a Add OAuth Application Endpoint constant 2016-07-29 01:17:19 -07:00
abalabahaha
810059200c Add getOAuthApplication() 2016-07-29 01:05:01 -07:00
abalabahaha
34f71eaba1 Properly reference server IDs when ratelimiting 2016-07-29 09:06:31 +09:00
abalabahaha
95db1d611b Fix reference to nonexistent property 2016-07-29 07:03:47 +09:00
abalabahaha
41dab17ec0 Fix deleteMessage ratelimiting 2016-07-29 06:58:22 +09:00
abalabahaha
d956780d18 Fix incorrect reference 2016-07-29 06:30:07 +09:00
abalabahaha
b95058399e Enable autoReconnect by default 2016-07-29 05:56:50 +09:00
abalabahaha
952cfc0456 Experimental active ratelimits (adapted from Eris) 2016-07-29 05:37:43 +09:00
abalabahaha
dc939c48ee Fix using deleteChannel on private channels 2016-07-28 04:36:04 +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
Manuel Kraus
cd2642c293 Fix updateChannel crashing (#456) 2016-07-12 03:13:19 +08:00
Jesse Bryan
7ae7a9aa34 Added a voiceSpeaking event, fired when a user in a voiceChannel starts or stops speaking. (#452)
* Added an event for the voice speaking packet.

* Updated the docs to reflect the voiceSpeaking event addition.

* Fixed some spacing issues in the VoiceConnection.js file.

* Moved the speaking boolean to the User object.
2016-07-12 03:12:27 +08:00
abalabahaha
620d8cbf15 Fix close event reference 2016-06-29 14:25:23 +09:00
abalabahaha
c8ba6b5265 Add WS close code errors 2016-06-29 14:11:46 +09: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
Manuel Kraus
ba51df918c Add pinning (#434)
Added methods:
pinMessage()
unpinMessage()
getPinnedMessages()

Added params for getChannelLogs:
around
2016-06-18 11:21:52 +09:00
Brian Tanner
9c9768f772 fix Endpoints bug created in constants pr (#432) 2016-06-18 06:42:00 +09:00
Brian Tanner
fe3f6c7d20 Change the way constants are exported (#431) 2016-06-18 02:24:50 +09:00
Manuel Kraus
0e4612d7ab Add client.getMessage() (#428)
* Add client.getMessage

* Add shortcuts

* build it..

* Add missing ~ in note docs

* ............
2016-06-16 07:31:02 +09:00
Manuel Kraus
0f4566dd23 Add notes (#423) 2016-06-15 13:04:47 +09:00
Brian Tanner
4e8ac47f27 fix econnreset in playRawStream (#427) 2016-06-14 13:20:26 +09:00
abalabahaha
644061e881 Unminify lib files 2016-06-13 16:00:43 -07:00
Brian Tanner
d9fa561dd9 fix presence updates not emitting game changes, closes #420 (#421) 2016-06-10 11:34:28 +09:00
abalabahaha
2cd1104d3d 8.0.0 2016-06-09 11:41:04 +09:00