Commit Graph

50 Commits

Author SHA1 Message Date
Alex Gravely
ec03883e26 Create unspecified channel object for unknown channel types (#811)
* Partial fix of #810, addresses critical connection issues.

* Implement fix for REST.

* Implement fix on RestChannel.
2017-09-09 15:56:03 +01:00
Christopher F
608bc359ee Removed IChannel#Nsfw, added to ITextChannel 2017-08-29 17:26:36 -04:00
Christopher F
182f00f8ce Reworked IChannel.IsNsfw to support the new API flag (#771)
IChannel.IsNsfw will now return false when being used on any channel
that is not an ITextChannel. When being used on an ITextChannel, this
will now account for the API flag, and fall back to the channel name.

(this is gross design, thanks discord)
2017-08-28 16:45:53 -04:00
Alex Gravely
8c2a46e9e7 Add ulong overload to IMessageChannel.DeleteMessagesAsync (#649) 2017-06-15 12:05:41 -03:00
RogueException
4a128b326b Increment globaluser refs on private channel creation 2017-05-04 13:14:35 -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
a306d83283 Added net45 TFM 2017-04-26 10:25:08 -03: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
RogueException
e762dddfbb Added SnowflakeUtils 2017-04-19 14:50:33 -03:00
RogueException
b1caec5f59 Add better support for invisible users 2017-04-02 15:08:28 -03:00
RogueException
f0202e4d4e Improved warnings for unknown entities 2017-04-02 14:38:05 -03:00
RogueException
158ce0f922 Started adding IAudioClient incoming stream creation/destruction events 2017-03-31 03:59:12 -03:00
RogueException
254c83ecff Started adding audio receive 2017-03-15 23:40:25 -03:00
Christopher F
2db60749ca Add IsUnique parameter to CreateChannelInvite
Resolves #469
2017-02-25 16:17:58 -05:00
RogueException
d9fd0c34e4 Fixed bugs with creating invites 2017-02-07 19:48:09 -04:00
RogueException
fe35400498 Cleanup 2017-01-24 11:42:28 -04:00
RogueException
ea0044cb87 Made IVoiceChannel.UserLimit nullable 2017-01-24 11:37:39 -04:00
RogueException
e2934abe29 Made API models internal. Removed Discord.Net.API. 2017-01-01 23:28:42 -04:00
RogueException
2877653a09 Readded outgoing audio 2016-12-30 00:41:29 -04:00
RogueException
572c0e6c6b Renamed new params classes to XXXProperties 2016-12-23 16:57:29 -04:00
RogueException
8f87b2cc71 Added support for .NET Standard 1.1 and 1.2 2016-12-16 05:52:46 -04:00
RogueException
53ee30c648 Virtual channels should not be exposed to socket classes. Dont store guild in messages. 2016-11-18 14:14:11 -04:00
RogueException
c2722cf7c4 SendMessage should accept EmbedBuilder directly 2016-11-14 20:05:43 -04:00
Christopher F
bad7d827c3 Modify SendMessage to include an embeds field 2016-11-13 00:51:40 -05:00
RogueException
3458a0ce75 Merge pull request #324 from LassieME/patch-issue-323
Fix #323
2016-10-20 04:02:06 -03:00
RogueException
313c957a34 Default isTTS to false on Send methods 2016-10-20 03:55:14 -03:00
Sindre Langhus
98088519d1 Update SocketChannelHelper.cs 2016-10-19 14:14:55 +02:00
RogueException
c497f95d35 Readded navigational props to interfaces 2016-10-15 12:58:32 -03:00
RogueException
82ee6c5aaa Fixed error when calling GetMessagesAsync with no cached messages 2016-10-12 15:32:22 -03:00
RogueException
37f0d8c7e8 Fixed nullrefs when message cache is disabled 2016-10-10 22:11:07 -03:00
RogueException
6bdc0c09ca Cleaned up TODOs 2016-10-08 18:44:59 -03:00
RogueException
21c38412ad Changed snowflake GetCreatedAt() -> CreatedAt 2016-10-08 18:38:41 -03:00
RogueException
49070f3075 Went a tad overboard 2016-10-08 17:00:20 -03:00
RogueException
5c33e28757 Added missing ConfigureAwaits 2016-10-08 16:59:17 -03:00
RogueException
01205d911d Fixed null refs when message cache is disabled 2016-10-08 16:01:47 -03:00
RogueException
16c67e79e9 Added RPC channel and guild entities, Get and Select methods 2016-10-08 03:09:26 -03:00
RogueException
090a1bc736 Added IMessage.Tags 2016-10-06 09:06:04 -03:00
RogueException
0b47d5bd2e Improved GetMessages with cache enabled 2016-10-06 05:37:45 -03:00
RogueException
472412e232 Readded IMessageChannel.TriggerTypingAsync 2016-10-06 04:24:24 -03:00
RogueException
f41df1f966 Exposed RequestOptions 2016-10-06 02:44:41 -03:00
RogueException
7e246f942e Cleaned up virtual methods 2016-10-06 00:02:13 -03:00
RogueException
51a476c1fa Added GetCachedMessages 2016-10-05 02:58:04 -03:00
RogueException
91154ba1d6 Defaulted concurrency level for concurrent collections 2016-10-05 02:26:15 -03:00
RogueException
a93ddbaeb2 Cleaned up paged enumerables 2016-10-04 14:16:18 -03:00
RogueException
1f03be7650 Fixed Add/RemoveMessage null errors 2016-10-04 10:24:16 -03:00
RogueException
8aa1050b93 Cleaned up usings 2016-10-04 09:01:57 -03:00
RogueException
4678544fed Added remaining gateway events, added IAudioChannel, added CacheModes 2016-10-04 07:32:26 -03:00
RogueException
dd86f03306 Started converting websocket and rpc classes 2016-09-28 04:12:47 -03:00
RogueException
6319933ed0 Concrete class prototype 2016-09-22 21:15:37 -03:00