Commit Graph

2587 Commits

Author SHA1 Message Date
RogueException
9954536fcc Removed UDP Provider 2017-04-26 12:19:50 -03:00
RogueException
649bf27557 Fixed nullref in UDPClient.SetCancelToken 2017-04-26 12:06:46 -03:00
RogueException
7b99c6003d Updated test dependencies 2017-04-26 10:35:56 -03:00
RogueException
a306d83283 Added net45 TFM 2017-04-26 10:25:08 -03:00
RogueException
f8b9acc4a1 Use implicit package references (#626) 2017-04-26 10:03:23 -03:00
RogueException
582b8f9637 Added ChannelName/GuildName to IInvite 2017-04-26 09:45:19 -03:00
RogueException
41d9788411 Isolated Analyzers and Relay projects 2017-04-25 09:25:19 -03:00
Christopher F
be6abe1161 Throw when the client isn't logged in instead of connected
The previous commit prevents any connections, since the initial presence update is sent while the client is still in the 'connecting' state, rather than the 'connected' state.

This resolves the original issue by preventing a nullref, and the more recent issue by only throwing a detailed exception when the CurrentUser is null (the client isn't logged in).
2017-04-24 21:53:41 -04:00
Christopher F
f759f942f8 Throw a preemptive exception when sending presence data before connect
This prevents a later, less detailed nullref, when attempting to set the CurrentUser's presence data.

This also removes a redundant CurrentUser assignment in the SetGameAsync method, since this will be set later on in the SendStatusAsync method.
2017-04-24 20:34:18 -04:00
Christopher F
431b7fbd9f Visual Studio C#7 suggestions 2017-04-23 15:23:06 -04:00
Christopher F
6000b15c4d C#7 TODOs 2017-04-23 15:13:31 -04:00
Christopher F
3dfa54e56e Merge pull request #615 from BenjaVR/dev
Added Jetbrains Rider installing guide
2017-04-23 14:21:50 -04:00
RogueException
1c6eebf875 Ensure command completes before cleaning up 2017-04-22 08:04:33 -03:00
RogueException
e762dddfbb Added SnowflakeUtils 2017-04-19 14:50:33 -03:00
RogueException
ff67c0d9c3 Removed unused canceltoken 2017-04-19 14:49:04 -03:00
Benjamin
c7ea29f1f0 Added Jetbrains Rider installing guide 2017-04-18 19:51:29 +02:00
Confruggy
5dba95fe59 Update ChannelHelper.cs (#606)
* Update ChannelHelper.cs

* typo
2017-04-15 19:04:07 -03:00
Christopher F
660d4b0bf6 Add an upper limit to prune length when banning a user (#611)
Messages may only be pruned between 0 and 7 days, otherwise a 400 will be thrown.
2017-04-15 19:03:19 -03:00
RogueException
8d9e11c08a Exposed IAudioClient.SetSpeakingAsync 2017-04-10 18:00:42 -03:00
RogueException
d2a7be91e5 Added experimental jitter buffer 2017-04-09 01:06:42 -03:00
RogueException
79fd14a95f Various audio fixes 2017-04-09 01:05:52 -03:00
RogueException
aca8def0cb ModuleBase should map to ICommandContext 2017-04-08 18:38:58 -03:00
RogueException
39b0a998c8 Fixed a few audio constants 2017-04-08 18:35:57 -03:00
RogueException
6a0c57cfe4 Add range checks to new overload 2017-04-08 17:24:02 -03:00
RogueException
0ce313c408 Added int constructor to Color 2017-04-08 17:15:57 -03:00
RogueException
e92cfd20ac Audio bugfixes and improvements. 2017-04-08 17:12:10 -03:00
RogueException
424216b793 Disable FEC decoding 2017-04-08 15:44:00 -03:00
RogueException
1d57d0cba6 Add support for invites without attached users 2017-04-08 02:50:19 -03:00
RogueException
22a7b7dbba Support more incoming RTP packets types 2017-04-08 02:34:12 -03:00
RogueException
b62c9dc315 Added UdpLatency to IAudioClient 2017-04-07 22:53:27 -03:00
RogueException
ee4cde69a4 Added UDP keepalives and latency 2017-04-07 22:52:07 -03:00
RogueException
65154e0d4a Enable FEC decoding 2017-04-07 21:28:03 -03:00
RogueException
483d26093b Bump up Opus PLP to 30 2017-04-07 21:14:54 -03:00
RogueException
d2a4f1f09b Strip RTP header during read 2017-04-07 18:35:51 -03:00
RogueException
3d657f8379 Added NuGet shield 2017-04-07 06:03:39 -03:00
RogueException
90c22bb07f Added webhook package and updated compilation deps 2017-04-07 05:59:33 -03:00
RogueException
284af7b6e2 Support large DeleteMessages collections 2017-04-07 05:49:14 -03:00
RogueException
a6469e9021 Add support for void-returning commands 2017-04-07 05:48:33 -03:00
RogueException
bceb72dd92 Typo 2017-04-06 20:57:46 -03:00
RogueException
17ba8fe4d0 Better handle the primary alias. 2017-04-06 20:50:48 -03:00
RogueException
d60d1e4a03 Fixed Webhook avatarUrls 2017-04-06 20:30:21 -03:00
RogueException
cbb38bd101 Hide Entity.Discord property 2017-04-06 20:30:11 -03:00
RogueException
33cd1a6c9f Scan base types during DI injection 2017-04-06 20:29:42 -03:00
RogueException
0d361def93 Fixed a couple incoming audio bugs 2017-04-06 16:18:21 -03:00
RogueException
653502c371 Changed GuildUser.Roles to ReadOnlyCollection 2017-04-06 00:10:25 -03:00
RogueException
6192228378 Raise GuildMembersDownloaded for non-large guilds 2017-04-06 00:03:34 -03:00
RogueException
14f0535a43 Improved typereader not found message 2017-04-05 23:53:20 -03:00
RogueException
eed0598f99 Destroy audio stream when a user disconnects 2017-04-04 00:59:16 -03:00
RogueException
c49118e25f Fixed several audio stream issues 2017-04-04 00:47:34 -03:00
RogueException
ac0a31c3be Send speaking during audio connect 2017-04-03 23:57:11 -03:00