Chris Rhodes
|
457b03f66e
Fix deadlock because I'm dumb.
|
8 years ago |
Chris Rhodes
|
79247272ff
Handler updates, no backwards incompatible API changes.
|
8 years ago |
Bruce Marriner
|
a5130cff51
Added large_threshold to connection and set to 250, closes #41
|
8 years ago |
Bruce
|
296a118712
Merge pull request #113 from iopred/develop
|
8 years ago |
Bruce Marriner
|
eec0faa7b3
Handle VOICE_SERVER_UPDATE better, closes #115
|
8 years ago |
Bruce Marriner
|
b38745945b
Added support for leaving voice channel, closes #118
|
8 years ago |
Bruce Marriner
|
60149f70bb
Allow calling ChannelVoiceJoin even after connected to voice, closes
|
8 years ago |
Chris Rhodes
|
d22b7ffc90
Clean up mutexes around s.handlers so they exist only in discord.go
|
8 years ago |
Chris Rhodes
|
b083ce00c7
Un-expose handlers. Clean up Session struct.
|
8 years ago |
Chris Rhodes
|
6fa99712ef
Finish converting large switch statement into a map of functions.
|
8 years ago |
Chris Rhodes
|
8ffaa85b0b
Thread safety and more events.
|
8 years ago |
Chris Rhodes
|
fb6ae92555
Add basic support for mapped event handlers.
|
8 years ago |
Chris Rhodes
|
7d112b562e
Mirror the Voice guard.
|
8 years ago |
Chris Rhodes
|
b2c76de22e
Merge remote-tracking branch 'bwmarrin/develop' into voice
|
8 years ago |
Chris Rhodes
|
7858f999b1
Handle nil errors and default handler properly.
|
8 years ago |
Bruce Marriner
|
348d9482d0
Removed unneeded blank line :)
|
8 years ago |
Bruce Marriner
|
1a0e4c05fa
Call user callback for VOICE_STATE_UPDATE events, closes #101
|
8 years ago |
Chris Rhodes
|
40b969d7c3
VoiceServerUpdate and VoiceStateUpdate
|
8 years ago |
Bruce Marriner
|
edc09778a7
Linting.
|
8 years ago |
Bruce Marriner
|
546cd85303
error strings should not end with punctuation.
|
8 years ago |
Bruce Marriner
|
6bb417af7a
Removed unreachable (and unneeded) code x3!
|
8 years ago |
Bruce Marriner
|
5ae93327e3
Removed unreachable (and unneeded) code.
|
8 years ago |
Bruce Marriner
|
457d27b35e
Removed unreachable (and unneeded) code.
|
8 years ago |
Chris Rhodes
|
fd32614a63
Make compression optional, clean up some comments and unused fields.
|
8 years ago |
Chris Rhodes
|
5a3740df0c
:poop:
|
8 years ago |
Chris Rhodes
|
a08dde4262
Support zlib compression.
|
8 years ago |
Chris Rhodes
|
25a1b2ea48
Close.
|
8 years ago |
Chris Rhodes
|
e94e14e9d2
Support ShouldReconnectOnError with exponential backoff up to 10 minutes.
|
8 years ago |
Chris Rhodes
|
ddddfa3644
Prevent heartbeat from sending on nil websocket.
|
8 years ago |
Chris Rhodes
|
d6d6c749ea
Prevent listen from reading from nulled out web socket.
|
8 years ago |