Commit Graph

55 Commits

Author SHA1 Message Date
Christopher F
030422fa1d Add support for channel categories (#907)
commit a85c5814a74e473e95fe172f0379cbc7f9f951d8
Author: Christopher F <computerizedtaco@gmail.com>
Date:   Sat Jan 6 22:25:48 2018 -0500

    Code cleanup

commit 4b243fd3dd99152b4ebc7ee01d704bd8e57eeee1
Author: Christopher F <computerizedtaco@gmail.com>
Date:   Sat Jan 6 22:08:28 2018 -0500

    Add support for channel categories (#907)

    commit 41ed9106f2b05530acbf06b245c9aa618011d815
    Author: mrspits4ever <spits.lucas@gmail.com>
    Date:   Thu Dec 14 20:02:57 2017 +0100

        removed mentioning support for RestCategoryChannel, added channels property to SocketCategoryChannel

    commit 71142c310847886dff80c49e9357dd0786d67a1b
    Merge: 4589d731 678a7238
    Author: mrspits4ever <spits.lucas@gmail.com>
    Date:   Wed Dec 13 21:17:53 2017 +0100

        Merge branch 'dev' of https://github.com/RogueException/Discord.Net into feature/channel-categories

    commit 4589d73187871c98485ed25c6d223706927af7ec
    Author: mrspits4ever <spits.lucas@gmail.com>
    Date:   Wed Dec 13 21:17:46 2017 +0100

        adressed requested changes

    commit d59b038efa048b2279602e2015ddd2c185e58d63
    Author: pegasy <pegasy@users.noreply.github.com>
    Date:   Mon Sep 25 18:53:23 2017 +0200

        Renamed classes / properties / methods to use CategoryChannel instead of ChannelCategory to be consistant with how text / voice channels are named.

    commit 5c4777dc8cc443108f2e7e4afae98824c9a32b1f
    Author: pegasy <pegasy@users.noreply.github.com>
    Date:   Sun Sep 24 19:08:25 2017 +0200

        removed Guild from class name for ChannelCategory
        Renamed all properties to use Category instead of Parent
        Throw exception on GetUsers / GetInvites etc for categories

    commit e18bd8c799d2327270021c05866cb2e97ad4671b
    Author: pegasy <pegasy@users.noreply.github.com>
    Date:   Sun Sep 24 15:49:51 2017 +0200

        Add support for channel categories (as its own channel type)
2018-01-06 22:27:51 -05:00
Alex Gravely
7b2ddd027c Add missing REST Webhook implemenation (#843)
* Add Webhook API models, REST implementation, and Socket bridges.

* Remove token overrides from REST.

Leaving that as a Webhook package only feature.

* Add Webhook API models, REST implementation, and Socket bridges.

* Remove token overrides from REST.

Leaving that as a Webhook package only feature.

* Webhook core implementation.

* Webhook REST implementation.

* Webhook client implementation.

* Add channel bucket id.
2017-12-23 15:17:20 -05:00
Christopher F
9979a027d5 Change default InviteAge to 24 hours
Resolves #859
2017-11-10 15:39:33 -05:00
enzosk8
da335b95c4 Fix general typos (#852) 2017-11-05 22:05:19 -05:00
Alex Gravely
e00f17fe55 Move DeleteMessagesAsync from IMessageChannel to ITextChannel (#829) 2017-10-01 15:37:13 -04:00
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