Commit Graph

2602 Commits

Author SHA1 Message Date
Christopher F
576a52cdc6 Restructure and replace emojis with a new emote system (#619) 2017-05-04 12:52:48 -03:00
RogueException
ba1982a3f9 Replaced DependencyMap with ServiceCollection and IServiceProvider (#625) 2017-05-04 12:52:26 -03:00
Christopher F
7f1fc286cf Add IChannel.Nsfw, RequireNsfw precondition (#633)
* Add IChannel.Nsfw, RequireNsfw precondition

* Refactored IChannel.Nsfw to IsNsfw, removed NsfwUtils

Per pull-request feedback

* proper nsfw channel check
2017-05-04 12:49:32 -03:00
RogueException
05f8f41567 Fixed PR check in appveyor.yml 2017-05-04 12:45:24 -03:00
RogueException
c40857bb1e Added personal myget 2017-05-02 02:05:57 -03:00
RogueException
4d7a97c37a Push artifacts from build script 2017-05-02 01:49:57 -03:00
RogueException
5ad2d7361d Added appveyor.yml, README edits (#639) 2017-05-02 01:03:04 -03:00
Sindre Langhus
90ac9027cf Replace Where+FirstOrDefault with FirstOrDefault in SocketClient (#636)
* Replace Where.FirstOrDefault with FirstOrDefault

* Replace Where+FirstOrDefault in ClientHelper
2017-04-30 21:29:12 -03:00
Bond-009
cb4f6e37f6 Overloaded AddModuleAsync with Type (#581)
* Overloaded AddModuleAsync with Type

* Overloaded RemoveModuleAsync with Type

* Use expression-bodied method for consistency
2017-04-29 04:42:47 -03:00
Confruggy
3365bbb043 Fixes ChannelTypeReader (#630) 2017-04-28 11:49:59 -03:00
Confruggy
4ca273dd4a Fixes RoleTypeReader (#631) 2017-04-28 11:49:50 -03:00
RogueException
ba1a9aaa18 UnstableRestClient should timeout instead of ignore requests 2017-04-26 13:09:08 -03:00
RogueException
bd85bbf30a Moved UserAgent to DiscordConfig 2017-04-26 13:06:34 -03:00
RogueException
c6ccddb4ce Added UnstableRestClientProvider 2017-04-26 13:06:13 -03:00
Bond-009
294ffa3729 Remove Discord.Net.Providers.UdpClient from pack.ps (#627)
This should fix the appveyor build.
2017-04-26 12:41:32 -03:00
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