Commit Graph

117 Commits

Author SHA1 Message Date
Brandon Smith
76d019997e Fixed underline function 2015-09-05 16:28:27 -03:00
Brandon Smith
c2e0c052aa Added missing file to net45 project 2015-09-05 16:28:00 -03:00
Brandon Smith
5d82aa7001 Renamed MessageHelper to Format, added Bold, Italics, Underline and Strikeout methods. 2015-09-05 16:27:21 -03:00
Brandon Smith
cd408fea49 Moved mentions to MessageHelper, added Escape() 2015-09-05 16:17:52 -03:00
Brandon Smith
8f01cda069 Moved Opus files 2015-09-05 16:17:44 -03:00
Brandon Smith
5b30117a7a Added UserStatus string enum 2015-09-05 15:59:42 -03:00
Brandon Smith
6a9eb0815e Reorganized project structure 2015-09-05 15:58:00 -03:00
Brandon Smith
53effb9acf 0.6.1-beta2 2015-09-05 03:41:37 -03:00
Brandon Smith
52590e4153 Better voice error handling, moved several properties into DiscordVoiceSocket 2015-09-05 03:39:58 -03:00
Brandon Smith
1d24efbf35 Minor doc edit. 2015-09-04 22:56:15 -03:00
Brandon Smith
bd803b622a Added WaitVoice 2015-09-04 22:53:45 -03:00
Brandon Smith
144fe7b570 Added buffer length to outgoing audio 2015-09-04 22:14:24 -03:00
Brandon Smith
320a155499 Removed leftover lock, started adding Task result to SendPCMFrame. 2015-09-04 20:44:23 -03:00
Brandon Smith
0cde7c3dd2 Moved voice functions from API to base file. 2015-09-04 20:34:30 -03:00
Brandon Smith
f0933c75a0 Revert "Do not allow ObjectDisposed exceptions to trigger disconnectreason"
This reverts commit f6dacb7a84.
2015-09-04 19:33:44 -03:00
Brandon Smith
f6dacb7a84 Do not allow ObjectDisposed exceptions to trigger disconnectreason 2015-09-04 19:32:26 -03:00
Brandon Smith
8f7492c246 Don't destroy disconnectReason so quickly 2015-09-04 19:25:01 -03:00
Brandon Smith
5b432769fb Preserve stack trace for websocket errors 2015-09-04 19:21:03 -03:00
Brandon Smith
ce2a4dfa2b Don't activate the canceltoken in websockets before the disconnectreason has been set. 2015-09-04 19:07:05 -03:00
Brandon Smith
7376769581 Minor version edit 2015-09-04 02:38:19 -03:00
Brandon Smith
3438843900 0.6.1-beta1 2015-09-04 02:36:26 -03:00
Brandon Smith
751c8b1bd6 Updated HttpClient to 2.2.29 2015-09-03 21:54:20 -03:00
Brandon Smith
1236c85fba Clean up state during disconnect better. Don't allow UDP disposed errors to trigger the DisconnectReason. 2015-09-03 21:11:35 -03:00
Brandon Smith
94ec2ab5ca Remove more undeeded JoinVoiceServer parameters 2015-09-03 20:32:04 -03:00
Brandon Smith
ccbdf8f63c Don't require Server parameter when Channel is passed to JoinVoiceServer 2015-09-03 20:27:09 -03:00
Brandon Smith
e7b9a589b9 More reconnect tweaks 2015-09-03 20:16:25 -03:00
Brandon Smith
e1895e40cb Don't reset wasDisconnectUnexpected before using it. 2015-09-03 20:13:41 -03:00
Brandon Smith
1dca0bee24 Removed a few redundant debug events 2015-09-03 20:08:27 -03:00
Brandon Smith
61644d1f77 Added better WebSocket disconnect support 2015-09-03 20:03:47 -03:00
Brandon Smith
6343e8bfe9 Bumped up the default timeout from 5s to 10s 2015-09-01 21:38:11 -03:00
Brandon Smith
7f8b61f728 Dont parse commands if there are none configured. 2015-09-01 19:34:27 -03:00
Brandon Smith
e3af3988b9 Don't crash when null config is passed to DiscordClient 2015-09-01 19:31:30 -03:00
Brandon Smith
e6be52e83b Use better exceptions during websocket errors 2015-09-01 19:17:54 -03:00
Brandon Smith
999e62f81e Remove unnecessary DNXCore checks 2015-09-01 17:11:06 -03:00
Brandon Smith
4e29ff1ae6 I guess Mono doesn't support AllowNatTraversal? 2015-09-01 17:09:08 -03:00
Brandon Smith
6040920c23 v0.6.0 2015-09-01 15:58:08 -03:00
Brandon Smith
82d909a7c7 Refactor tools have failed me 2015-08-30 17:08:56 -03:00
Brandon Smith
738f5fa849 More cleanup 2015-08-30 17:08:24 -03:00
Brandon Smith
7f04af4db3 Unhid PrivateChannel 2015-08-30 16:55:16 -03:00
Brandon Smith
66d8eab986 Changed GetPMChannel to GetOrCreatePMChannel, added SendPrivateMessage, hid User.PrivateChannel 2015-08-30 16:46:52 -03:00
RogueException
597462857c Refactored DiscordClient, added argument validations to API and connection functions 2015-08-28 05:57:58 -03:00
Pat Murphy
d0a6108529 Adding argument null check in sendmessage 2015-08-27 15:55:22 -07:00
RogueException
8aee46153e Typo 2015-08-27 18:06:22 -03:00
RogueException
dc9552b9a0 Cleaned up websocket debug statements 2015-08-27 17:55:01 -03:00
RogueException
cb88b69a7f Added XHRRawOutput, XHRTiming and VoiceInput debug types 2015-08-27 17:38:24 -03:00
RogueException
adff96e1cf Fixed some edge cases, made Http (now called JsonHttpClient) instanced. 2015-08-27 17:06:38 -03:00
RogueException
26c603531a Fixed several command errors 2015-08-27 15:47:28 -03:00
RogueException
20e267cfa4 Added some more debug data, fixed potential crashes. 2015-08-27 13:55:15 -03:00
RogueException
2e85ed2899 Added EnableDebug option and a lot of debug events 2015-08-27 05:55:19 -03:00
RogueException
2086a0fa04 0.6 beta2 - Added api/gateway 2015-08-26 22:47:28 -03:00