Bruce Marriner
|
8c301a4126
Clean up voice.go, should work better on other systems now, closes #31
|
8 years ago |
Bruce Marriner
|
b87add9152
All sent JSON data now using structs
|
9 years ago |
Bruce Marriner
|
0fbfc66554
Comments, example posible future main data struct
|
9 years ago |
Bruce Marriner
|
a878a5d306
Added comments
|
9 years ago |
Bruce Marriner
|
332141b083
Updated VoiceChannelJoin func to use struct for data sent over websocket. Also returns an error now.
|
9 years ago |
Bruce Marriner
|
d59d47967c
Converted to using structs for data websocket handshake. Also using VERSION variable in $browser setting
|
9 years ago |
Bruce Marriner
|
383b4645da
Finished support for sending presense/game status updates. Closes #18
|
9 years ago |
Bruce Marriner
|
bd1e20549a
Removed /guilds/:guild_id/members endpoint, closes #14
|
9 years ago |
Bruce Marriner
|
bb60b64ecb
Made User-Agent version a variable.
|
9 years ago |
Bruce Marriner
|
40a7e717f5
Added VERSION constant
|
9 years ago |
Bruce
|
626946ebd4
Merge pull request #16 from gdraynz/user-agent
|
9 years ago |
Guillaume Desvé
|
ec31caac1b
Add DiscordBot user agent
|
9 years ago |
Bruce Marriner
|
5b5c678d6c
Added link to Discord Chat to README.
|
9 years ago |
Bruce Marriner
|
478620480c
Moved examples into individual folders to make go test and travisCI happy.
|
9 years ago |
Bruce Marriner
|
c311538b49
Typo.
|
9 years ago |
Bruce Marriner
|
de3145cd36
Updated Examples section.
|
9 years ago |
Bruce Marriner
|
7d602565eb
Added example using the new helper func New()
|
9 years ago |
Bruce Marriner
|
d91292052e
Added basic example using the low level API functions.
|
9 years ago |
Bruce Marriner
|
1d06c4a3b8
Added helper func New() which greatly simplifies creating a new Discord session.
|
9 years ago |
Bruce Marriner
|
d8ef6cec31
Added link to another Discord Go package.
|
9 years ago |
Bruce Marriner
|
f402265fd7
OnReady event will be handled if no callback is set by user. README updated.
|
9 years ago |
Bruce Marriner
|
d9a9a765d8
Removed Cache variable from Session, as it's not used currently.
|
9 years ago |
Bruce Marriner
|
dd4aef7263
Added AutoMention option to parse MessageSend for any <@ID> tags.
|
9 years ago |
Bruce Marriner
|
c50848e6a9
Fixed example to actually stay connected :) Thanks Rivalo
|
9 years ago |
Bruce Marriner
|
5c2e3c6866
Added DataReady to data websocket
|
9 years ago |
Bruce Marriner
|
106c69f28a
Added VoiceReady support to voice
|
9 years ago |
Bruce Marriner
|
c77f7f3ff8
Added VoiceReady, DataReady, and UDPReady flags to Session struct
|
9 years ago |
Bruce Marriner
|
e384d2d66f
Few notes, also, send 1st data websocket heartbeat immediately.
|
9 years ago |
Bruce Marriner
|
9d42bf1cc6
Check that websocket exists before trying to send VoiceSpeaking
|
9 years ago |
Bruce Marriner
|
ea647f9a61
All REST API JSON now created via structs instead of interface or strings
|
9 years ago |