Chris Rhodes
|
bf9dda8404
Use json.Unmarshal in event handling so errors are better.
|
8 年之前 |
Chris Rhodes
|
8be21fb539
Fix unmarshall error with Invite, improve error logging.
|
8 年之前 |
Bruce Marriner
|
836e78d3d9
Pass struct along with OnEvent event.
|
8 年之前 |
Chris Rhodes
|
4d4f8f7741
Always handle the raw event.
|
8 年之前 |
jonas747
|
d1f25d8561
Changed fmt.Print to log.Print
|
8 年之前 |
Bruce Marriner
|
b1ac010731
Unexported WaitUntilConnected
|
8 年之前 |
Bruce Marriner
|
513facf391
More cleanup, moving things around..
|
8 年之前 |
Bruce Marriner
|
3ffbbdcc56
Unexport UDPConn as it is no longer needed externally.
|
8 年之前 |
Bruce Marriner
|
397d04b1ff
Fix a couple bugs I just created.
|
8 年之前 |
Bruce Marriner
|
c359bf8395
Cleanup
|
8 年之前 |
Bruce Marriner
|
383a3cf1e0
Delete voice connection from map on error
|
8 年之前 |
Bruce Marriner
|
ee07ed8afe
Only return valid existing voice connections
|
8 年之前 |
Bruce Marriner
|
7ec5304bc9
ChannelVoiceJoin now waits for the connection.
|
8 年之前 |
Bruce Marriner
|
50cc4df965
Some, slightly messy, fixes to get voice -working-.
|
8 年之前 |
andrei
|
5dc0b9f2a1
Add connect timeout, fix ChannelVoiceJoin "leaking" connections
|
8 年之前 |
andrei
|
b48e8c992e
Track voice state changes, expose stuff, add channel changing
|
8 年之前 |
andrei
|
1fc0e2053b
Add support for multiple voice connections
|
8 年之前 |
Chris Rhodes
|
abc0e5b095
Work around a Discord server issue.
|
8 年之前 |
Bruce Marriner
|
94f0aacc0a
websocket heartbeat is now simplier. Closes #121
|
8 年之前 |
Chris Rhodes
|
457b03f66e
Fix deadlock because I'm dumb.
|
8 年之前 |
Chris Rhodes
|
79247272ff
Handler updates, no backwards incompatible API changes.
|
8 年之前 |
Bruce Marriner
|
a5130cff51
Added large_threshold to connection and set to 250, closes #41
|
8 年之前 |
Bruce
|
296a118712
Merge pull request #113 from iopred/develop
|
8 年之前 |
Bruce Marriner
|
eec0faa7b3
Handle VOICE_SERVER_UPDATE better, closes #115
|
8 年之前 |
Bruce Marriner
|
b38745945b
Added support for leaving voice channel, closes #118
|
8 年之前 |
Bruce Marriner
|
60149f70bb
Allow calling ChannelVoiceJoin even after connected to voice, closes
|
8 年之前 |
Chris Rhodes
|
d22b7ffc90
Clean up mutexes around s.handlers so they exist only in discord.go
|
8 年之前 |
Chris Rhodes
|
b083ce00c7
Un-expose handlers. Clean up Session struct.
|
8 年之前 |
Chris Rhodes
|
6fa99712ef
Finish converting large switch statement into a map of functions.
|
8 年之前 |
Chris Rhodes
|
8ffaa85b0b
Thread safety and more events.
|
8 年之前 |