Chris Rhodes
|
0e9b8b8714
|
Small cleanup for initial error handling.
|
2015-12-31 12:44:02 -08:00 |
|
Chris Rhodes
|
03379f7128
|
Fix OnReady.
|
2015-12-31 12:40:36 -08:00 |
|
Chris Rhodes
|
f1fc2f0996
|
Add GuildBan handling in wsapi. Closes #24.
Also refactor event handling so error logging is unified.
|
2015-12-31 12:33:46 -08:00 |
|
Bruce
|
5c64020544
|
Merge pull request #37 from iopred/updatestatus
Make update status a little more idiomatic.
|
2015-12-29 12:58:48 -06:00 |
|
Bruce Marriner
|
6991af8500
|
Added support for USER_SETTINGS_UPDATE websocket event, closes #11
|
2015-12-29 12:45:30 -06:00 |
|
Chris Rhodes
|
b5bfa454d0
|
Do not send game if one is not provided (instead of not sending game.name)
|
2015-12-29 10:35:00 -08:00 |
|
Chris Rhodes
|
974d5862a4
|
Make update status a little more idiomatic.
This also reduces the line count a smidge.
|
2015-12-28 19:05:42 -08:00 |
|
Bruce Marriner
|
bb4f63775e
|
Updated to support new Discord method of sending game playing data, closes #34
|
2015-12-23 23:51:20 -06:00 |
|
Bruce Marriner
|
0360acbaa0
|
Added support for USER_UPDATE websocket event, closes #28
|
2015-12-21 11:24:48 -06:00 |
|
Bruce Marriner
|
a878a5d306
|
Added comments
|
2015-12-20 00:12:40 -06:00 |
|
Bruce Marriner
|
332141b083
|
Updated VoiceChannelJoin func to use struct for data sent over websocket. Also returns an error now.
|
2015-12-18 20:51:48 -06:00 |
|
Bruce Marriner
|
d59d47967c
|
Converted to using structs for data websocket handshake. Also using VERSION variable in $browser setting
|
2015-12-18 15:09:34 -06:00 |
|
Bruce Marriner
|
383b4645da
|
Finished support for sending presense/game status updates. Closes #18
|
2015-12-18 13:44:56 -06:00 |
|
Bruce Marriner
|
f402265fd7
|
OnReady event will be handled if no callback is set by user. README updated.
|
2015-12-06 19:05:13 -06:00 |
|
Bruce Marriner
|
5c2e3c6866
|
Added DataReady to data websocket
|
2015-11-25 19:30:58 -06:00 |
|
Bruce Marriner
|
e384d2d66f
|
Few notes, also, send 1st data websocket heartbeat immediately.
|
2015-11-25 08:47:15 -06:00 |
|
Bruce Marriner
|
87f433e2d8
|
VOICE_STATE_UPDATE should not fall though to Default right now.
|
2015-11-24 13:42:03 -06:00 |
|
Bruce Marriner
|
35e3966b91
|
Reworded top comment
|
2015-11-23 10:16:23 -06:00 |
|
Bruce Marriner
|
abe55ecca7
|
Some improvements to comments.
|
2015-11-23 09:45:40 -06:00 |
|
Bruce Marriner
|
3e605c64a6
|
Moving all structs to structs.go for now.
|
2015-11-22 14:21:41 -06:00 |
|
Bruce Marriner
|
d9aeb4926d
|
Experimental voice code added :)
|
2015-11-18 08:18:46 -06:00 |
|
Bruce Marriner
|
f655167761
|
Several updates to make library more idiomatic Go
|
2015-11-16 21:39:39 -06:00 |
|
Bruce Marriner
|
91207ece15
|
Large additions to REST API and Websocket API.
|
2015-11-16 13:05:56 -06:00 |
|
Bruce Marriner
|
a3903aaa50
|
Fixes to GuildRole events
|
2015-11-14 21:23:01 -06:00 |
|
Bruce Marriner
|
05ff822438
|
Stop trying to fight Discord's Int's as Strings and just use strings.
|
2015-11-14 21:02:35 -06:00 |
|
Bruce Marriner
|
3794c1a31e
|
Added Guild Role Update handler
|
2015-11-13 19:38:35 -06:00 |
|
Bruce Marriner
|
f885ce38d2
|
Added support for GUILD_UPDATE event
|
2015-11-13 09:48:56 -06:00 |
|
Bruce Marriner
|
3d9e980619
|
Several bug fixes causing json unmarshal errors.
|
2015-11-13 09:36:11 -06:00 |
|
Bruce Marriner
|
074d1bcdae
|
Huge update to Websocket support.
Changed "Server" to "Guild" to remain consistant with Discords
API naming.
|
2015-11-12 23:25:48 -06:00 |
|
Bruce Marriner
|
e8b77083df
|
Inital implementation for callback funcs handling Websocket events
|
2015-11-12 09:59:37 -06:00 |
|
Bruce Marriner
|
2c3ca777f9
|
Clean up, notes
|
2015-11-09 14:22:36 -06:00 |
|
Bruce Marriner
|
fff4fa20e9
|
Clean up
|
2015-11-08 21:57:49 -06:00 |
|
Bruce Marriner
|
e6789fde74
|
Inital add of Websockets
|
2015-11-08 21:42:16 -06:00 |
|
Bruce Marriner
|
adac11495a
|
Inital addition of Websocket handling. Lots of moving things around.
|
2015-11-08 19:26:46 -06:00 |
|