Chris Rhodes
|
d6d6c749ea
Prevent listen from reading from nulled out web socket.
|
8 years ago |
Chris Rhodes
|
8b39278c3e
Get rid of Listen.
|
8 years ago |
Chris Rhodes
|
e8d8f03214
Clean up ready timing, fix potential race with starting heartbeats.
|
8 years ago |
Chris Rhodes
|
c4869d7a43
Remove handshake.
|
8 years ago |
Chris Rhodes
|
2a9538e9f1
I must stop doing last minute changes.
|
8 years ago |
Chris Rhodes
|
7a9b9428ee
Re-add old todo.
|
8 years ago |
Chris Rhodes
|
cd55a59ff9
Refactor open/close logic. Support OnConnect and OnDisconnect.
|
8 years ago |
Chris Rhodes
|
6b73b588ba
Message tracking.
|
8 years ago |
Chris Rhodes
|
0f38b22ca1
Message state tracking.
|
8 years ago |
Chris Rhodes
|
fce9a7dedc
Make unmarshal methods not on the struct, that was stupid.
|
8 years ago |
Chris Rhodes
|
3acc68d3ef
Fix wsapi
|
8 years ago |
Chris Rhodes
|
f15b389ac8
Return a consistent JSON Unmarshal error.
|
8 years ago |
Bruce Marriner
|
6274ab9053
Hackish fix so we don't try to close nil or closed channels.
|
8 years ago |
Bruce Marriner
|
093d3be770
More improvements to voice support
|
8 years ago |
Bruce Marriner
|
9583ef4e19
Return immediately if err getting gateway.
|
8 years ago |
Bruce Marriner
|
1b3817c7e1
First re-write of voice support. BREAKING CHANGE.
|
8 years ago |
Chris Rhodes
|
5544372242
I think I got it right this time ;)
|
8 years ago |
Chris Rhodes
|
f05f79e24d
Fix subtle difference between events with state tracking and not, when the handler is null.
|
8 years ago |
Chris Rhodes
|
764371c9ad
:ok_hand:
|
8 years ago |
Chris Rhodes
|
be8e0de5c6
Merge remote-tracking branch 'bwmarrin/develop' into stateperf
|
8 years ago |
Chris Rhodes
|
c842676deb
Don't unmarshall if it won't be used.
|
8 years ago |
Chris Rhodes
|
0d7b6f7e76
Convert structs and api to use pointers.
|
8 years ago |
Bruce Marriner
|
d998b1fac2
Normalize name capitalization
|
8 years ago |
Bruce Marriner
|
301fb980d3
Updated copyright year, cleaned up some comments.
|
8 years ago |
Bruce Marriner
|
a3ac679d76
Merge branch 'develop' of https://github.com/bwmarrin/Discordgo into develop
|
8 years ago |
Bruce Marriner
|
1a5c4b7b0d
Moved session close func to discord.go
|
8 years ago |
Bruce Marriner
|
b329c935ac
Added check to prevent data websocket Listen func from running more than one instance.
|
8 years ago |
Bruce Marriner
|
666cbeb6a6
Data websocket Heartbeat now uses a chan instead of bool to track state
|
8 years ago |
Chris Rhodes
|
cd01a34cdb
Handle GUILD_EMOJI_UPDATE and track Emoji in state.
|
8 years ago |
Bruce Marriner
|
ed1076361e
Changed the order of the heartbeat lock to be a little better.
|
8 years ago |