Commit Graph

152 Commits

Author SHA1 Message Date
Jacob
015eb9c546 add Webhook structure (#764) 2016-10-01 21:02:48 -07: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
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
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
Zman840
c0ef815f9d added emoji support (#503) 2016-08-06 15:29:17 -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
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
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
Manuel Kraus
ba51df918c Add pinning (#434)
Added methods:
pinMessage()
unpinMessage()
getPinnedMessages()

Added params for getChannelLogs:
around
2016-06-18 11:21:52 +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
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
Manuel Kraus
627bbaf4ec Fix server.afkTimout being undefined (#399) (#402) 2016-06-02 09:26:50 -07:00
abalabahaha
05def5b3f2 voiceSwitch, update user voiceChannel earlier 2016-06-01 15:57:05 -07:00
abalabahaha
1c8e773700 More if statements for bad state tracking 2016-06-01 15:36:27 -07:00
abalabahaha
afa2f33dfd Compensate for bad state tracking 2016-06-01 15:30:40 -07:00
abalabahaha
cf413bd472 Check for valid author 2016-06-01 13:11:04 -07:00
abalabahaha
bd15cc68ce createdAt 2016-05-31 18:52:41 -07:00
abalabahaha
f8bf945f9d serverChannel.permissionsOf() can take a role 2016-05-31 10:59:05 -07:00
abalabahaha
e6054c6ace Always fire messageUpdated, reset on login (#294,#295) 2016-05-31 10:24:19 -07:00
Manuel Kraus
b4dcd657cf Add role mentioning (#385)
* Add role mentioning

* Add to docs

* Forgot to save again
2016-05-28 20:46:16 -07:00
Programmix
0f9741bb14 Update channel improvements
Also documented two methods for voice connections. (pause and resume)
2016-05-23 12:28:17 -07:00
Programmix
fae03042cb User limit fix (#359)
* User limit fix

* Better request parameters
2016-05-22 22:36:08 -07:00
Nicholas Tay
bea1663052 Set bitrate for voice channels support (#363)
* Set bitrate for voice channels

* Docs for bitrate settings and values
2016-05-22 17:53:52 -07:00
Programmix
ab2c9d9a8d VoiceChannel user limit support 2016-05-21 09:50:48 -07:00
Programmix
d42cbd1c14 Add server property to the Message class
Extremely simple change, but I (and others) would probably find it a
nice shortcut.
2016-05-21 09:46:03 -07:00
Manuel Kraus
d2f0f4993e Add mentionable to role objects (#358) 2016-05-21 09:20:32 -07:00
abalabahaha
81cdb09363 Null roles fix 2016-05-13 20:14:01 -07:00
abalabahaha
e7882a38ee Testing alternate role resolving 2016-05-12 17:30:44 -07:00
abalabahaha
0e5a1d2df7 Some undefined checking 2016-05-11 16:42:18 -07:00
abalabahaha
42fd07c5e7 Whoops 2016-05-08 00:55:48 -07:00
abalabahaha
68c1e122c0 Revise member property handling 2016-05-08 00:21:36 -07:00
abalabahaha
af333ef4cc Some fixes 2016-05-08 00:16:20 -07:00
abalabahaha
2eca16dee6 Consistently rename selfMute/selfDeaf 2016-05-04 19:55:19 -07:00
abalabahaha
1f5002ae41 Nickname mention detecting, channel and role mentions in cleanContent 2016-04-30 13:01:06 -07:00
abalabahaha
249b6f919a Null unset nicks 2016-04-29 19:37:15 -07:00
abalabahaha
b47540d6eb Testing nickname support 2016-04-29 19:25:06 -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