Bruce Marriner
e1a88003e6
Will use current rate limit method for forseable future, closes #12
2016-02-20 15:56:07 -06:00
Bruce Marriner
94f0aacc0a
websocket heartbeat is now simplier. Closes #121
2016-02-20 15:19:55 -06:00
Bruce Marriner
a24247b6e8
Added Bitrate to Channel struct, closes #116
2016-02-20 14:51:02 -06:00
Bruce Marriner
d084cdd639
dgvoice isn't experimental, added link to dca.
2016-02-20 13:08:52 -06:00
Bruce Marriner
0b6a535302
Added section about branches
2016-02-20 12:44:23 -06:00
Bruce
e244177d27
Merge pull request #126 from iopred/docs
...
Fix for single threaded job queue feature.
2016-02-20 01:05:15 -06:00
Chris Rhodes
2840b56c51
Merge remote-tracking branch 'bwmarrin/develop' into docs
2016-02-19 23:00:48 -08:00
Chris Rhodes
457b03f66e
Fix deadlock because I'm dumb.
2016-02-19 23:00:41 -08:00
Bruce
290e3c6b87
Merge pull request #125 from iopred/docs
...
Handler updates.
2016-02-20 00:51:50 -06:00
Chris Rhodes
2b4b19cfd8
Fixed some test comment wording.
2016-02-19 22:44:06 -08:00
Chris Rhodes
c291988335
Bring back the Lock as it's technically correct.
2016-02-19 22:32:15 -08:00
Chris Rhodes
79247272ff
Handler updates, no backwards incompatible API changes.
...
AddHandler now returns a func that can remove the handler.
The handlers map is now guarded by its own mutex.
Moved eventMap to events.go for readability.
Improved documentation.
2016-02-19 22:28:21 -08:00
Bruce Marriner
f832d3da4a
Fix so opusSender exits better on close, closes #123
2016-02-19 16:09:16 -06:00
Bruce
bb612a0e8b
Merge pull request #122 from iopred/patch-2
...
Fix a Lock instead of RLock in initialize.
2016-02-19 13:34:44 -06:00
Chris Rhodes
32f8c03270
Fix a Lock instead of RLock in initialize.
2016-02-19 11:25:46 -08:00
Bruce Marriner
e0010ab0ba
Add limit and offset to GuildMembers, closes #105
2016-02-19 00:42:52 -06:00
Bruce Marriner
a5130cff51
Added large_threshold to connection and set to 250, closes #41
2016-02-18 22:18:03 -06:00
Bruce
f801d95c14
Merge pull request #114 from iopred/guilds
...
Partial support new GuildMember endpoints.
2016-02-18 21:56:07 -06:00
Bruce
296a118712
Merge pull request #113 from iopred/develop
...
Clean up mutexes around s.handlers so they exist only in discord.go
2016-02-18 21:48:31 -06:00
Bruce Marriner
eec0faa7b3
Handle VOICE_SERVER_UPDATE better, closes #115
2016-02-18 21:42:23 -06:00
Bruce Marriner
548d61c406
Add ability to cleaned close voice websocket and udp connections
2016-02-18 21:41:37 -06:00
Bruce Marriner
b38745945b
Added support for leaving voice channel, closes #118
2016-02-18 21:24:14 -06:00
Bruce Marriner
60149f70bb
Allow calling ChannelVoiceJoin even after connected to voice, closes
2016-02-18 02:24:29 -06:00
Chris Rhodes
ab2ab944bb
👌
2016-02-18 00:01:23 -08:00
Chris Rhodes
d22b7ffc90
Clean up mutexes around s.handlers so they exist only in discord.go
2016-02-17 23:17:31 -08:00
Bruce Marriner
22bb771120
Added func GuildMemberMove, closes #92
2016-02-18 00:39:53 -06:00
Chris Rhodes
0ea10a300b
Merge branch 'develop' into guilds
2016-02-15 20:20:53 -08:00
Bruce
81807304a4
Merge pull request #111 from iopred/blah
...
Return state errors. Because we're good citizens.
2016-02-15 22:09:37 -06:00
Chris Rhodes
4895ace11d
Return state errors. Because we're good citizens.
2016-02-15 20:07:01 -08:00
Bruce Marriner
aebfb09719
Baby Linting.
2016-02-15 21:50:41 -06:00
Bruce
28236b429c
Merge pull request #109 from iopred/map
...
BREAKING CHANGE -- Mapped Event Handlers
2016-02-15 21:43:59 -06:00
Bruce
0dea8696c0
Merge pull request #110 from iopred/guildleave
...
Support new guild leave API.
2016-02-15 20:59:15 -06:00
Chris Rhodes
32dc320386
👌
2016-02-15 18:39:43 -08:00
Chris Rhodes
0bd7fbf668
Support new leave API.
2016-02-15 18:38:15 -08:00
Chris Rhodes
b083ce00c7
Un-expose handlers. Clean up Session struct.
2016-02-14 21:58:29 -08:00
Chris Rhodes
88335b6f54
Small performance improvement. Added tests.
2016-02-14 19:01:45 -08:00
Chris Rhodes
6fa99712ef
Finish converting large switch statement into a map of functions.
2016-02-14 18:48:37 -08:00
Chris Rhodes
8ffaa85b0b
Thread safety and more events.
2016-02-14 13:41:56 -08:00
Chris Rhodes
fb6ae92555
Add basic support for mapped event handlers.
2016-02-14 13:17:20 -08:00
Bruce
363a28a3fb
Merge pull request #108 from iopred/tts
...
Support TTS. Closes #67
2016-02-14 15:05:36 -06:00
Chris Rhodes
64af0e5f4a
Support TTS. Closes #67
2016-02-13 18:28:29 -08:00
Chris Rhodes
ddc830a071
Add new guild endpoints.
2016-02-13 10:28:34 -08:00
Bruce
bf3f2c548a
Merge pull request #104 from iopred/sendfile
...
Support sending files.
2016-02-12 22:01:30 -06:00
Chris Rhodes
4a9689f953
Cleanup
2016-02-11 21:39:18 -08:00
Chris Rhodes
0344155b17
Support sending files.
2016-02-11 21:36:19 -08:00
Bruce
a9d0be6634
Merge pull request #102 from iopred/voice
...
VoiceServerUpdate and VoiceStateUpdate. Closes #103
2016-02-08 17:08:51 -06:00
Chris Rhodes
7d112b562e
Mirror the Voice guard.
2016-02-08 10:08:24 -08:00
Chris Rhodes
b2c76de22e
Merge remote-tracking branch 'bwmarrin/develop' into voice
2016-02-08 10:06:17 -08:00
Chris Rhodes
7858f999b1
Handle nil errors and default handler properly.
2016-02-08 10:03:32 -08:00
Bruce Marriner
348d9482d0
Removed unneeded blank line :)
2016-02-08 10:26:44 -06:00