Commit Graph

273 Commits

Author SHA1 Message Date
abalabahaha
c8ba6b5265 Add WS close code errors 2016-06-29 14:11:46 +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
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
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
Programmix
02f39e00bf Handle incomplete websocket message (#413)
Sometimes the VOICE_SERVER_UPDATE packet will contain a valid guild_id
but no token/endpoint.
2016-06-06 19:27:53 -07:00
Programmix
e59dd9b12a Use pre-parsed websocket messages (fixes #407) (#412) 2016-06-05 13:53:57 -07:00
abalabahaha
293f416e15 Actually return something 2016-06-03 19:16:09 -07:00
abalabahaha
6cd0561014 Possibly fix #404, #405, #409 2016-06-03 18:36:17 -07:00
Meishu
2bd7d9dc24 Fix misnamed variable in setChannelTopic (#403) 2016-06-03 18:31:34 -07:00
Brian Tanner
2ac679c169 unset game if empty string is passed (#408) 2016-06-03 12:16:51 -07:00
Brussell
636a095377 Add disableEveryone option (#400)
* Added support for new game objects

bot.setStreaming(name, url, type, callback); added
logic for Internal setStatus updated to check if string or object

* Add disableEveryone option

* forgot to compile

oh well, it can be squash merged
2016-06-01 21:35:32 -07:00
abalabahaha
0128a88e25 Don't construct messages from embeds 2016-06-01 15:42:35 -07:00
Programmix
883743e137 Update IDENTIFY properties (#397)
Programmix needs to double check his code before committing
2016-05-31 20:00:04 -07:00
abalabahaha
e6054c6ace Always fire messageUpdated, reset on login (#294,#295) 2016-05-31 10:24:19 -07:00
Brian Tanner
00e3708e78 add guild sharding support (#393)
* add guild sharding support

* squash if statements
2016-05-31 10:19:15 -07:00
abalabahaha
6bc2750f3d Let the WS handler handle leaving servers 2016-05-28 21:48:18 -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
abalabahaha
e912c72a95 Merge pull request #375 from GexoXYZ/374
Fix bulk deletion error if < 2 messages (#374)
2016-05-27 09:37:34 -07:00
Manuel Kraus
ad7ffcecb4 Beautify code style 2016-05-25 01:45:02 +02:00
Manuel Kraus
0a5ce3dcd5 Call deleteMessage if only one message 2016-05-25 01:40:18 +02: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
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
abalabahaha
fe1d0bb595 Add bot property to presence update 2016-05-21 09:56:43 -07:00
Programmix
ab2c9d9a8d VoiceChannel user limit support 2016-05-21 09:50:48 -07:00
abalabahaha
79ee493a39 Role data update fix 2016-05-21 09:44:24 -07:00
Manuel Kraus
d2f0f4993e Add mentionable to role objects (#358) 2016-05-21 09:20:32 -07:00
abalabahaha
48595ddd19 Add voice connection timeout 2016-05-20 20:50:49 -07:00
abalabahaha
9015bb8139 Map roles to role IDs if possible 2016-05-20 20:40:32 -07:00
abalabahaha
e1808804c9 serverMemberUpdated clarification and crash fix 2016-05-17 22:31:35 -07:00
abalabahaha
e6572caf6c guildCreateTimeout option 2016-05-16 15:01:50 -07:00
abalabahaha
1732cc71bd Don't push debug stuff 2016-05-13 20:20:01 -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
873f78b02a Avatar undefined check 2016-05-12 16:58:19 -07:00
abalabahaha
db7dca65b2 Fix #342, #321 2016-05-11 20:21:37 -07:00
abalabahaha
0e5a1d2df7 Some undefined checking 2016-05-11 16:42:18 -07:00
abalabahaha
d4b693c4b0 deleteMessages docs, fixes 2016-05-10 21:54:42 -07:00
Nicholas Tay
71db8555fe Bulk deletion of messages (#336) (#337) 2016-05-10 09:21:55 -07:00
abalabahaha
d73ebcdfd4 Don't remove unmutual-ed users 2016-05-08 22:03:57 -07:00
Brussell
0c38d47ef6 Added support for new game objects (#332)
bot.setStreaming(name, url, type, callback); added
logic for Internal setStatus updated to check if string or object
2016-05-08 09:47:22 -07:00
abalabahaha
2a1d516a28 Update lastMessageID 2016-05-08 00:23:52 -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
726c0e9ed5 Fix setting own nick 2016-05-08 00:03:29 -07:00
abalabahaha
9700f8577b roles have positions too 2016-05-02 17:44:22 -07:00