Readded navigational props to interfaces

This commit is contained in:
RogueException
2016-10-15 12:58:32 -03:00
parent 8ebc437674
commit c497f95d35
16 changed files with 98 additions and 22 deletions

View File

@@ -10,6 +10,8 @@ namespace Discord
/// <summary> Gets the position of this channel in the guild's channel list, relative to others of the same type. </summary>
int Position { get; }
/// <summary> Gets the guild this channel is a member of. </summary>
IGuild Guild { get; }
/// <summary> Gets the id of the guild this channel is a member of. </summary>
ulong GuildId { get; }
/// <summary> Gets a collection of permission overwrites for this channel. </summary>

View File

@@ -14,6 +14,7 @@ namespace Discord
DateTimeOffset SyncedAt { get; }
IntegrationAccount Account { get; }
IGuild Guild { get; }
ulong GuildId { get; }
ulong RoleId { get; }
IUser User { get; }

View File

@@ -9,8 +9,12 @@ namespace Discord
/// <summary> Gets the url used to accept this invite, using Code. </summary>
string Url { get; }
/// <summary> Gets the id of the the channel this invite is linked to. </summary>
/// <summary> Gets the channel this invite is linked to. </summary>
IChannel Channel { get; }
/// <summary> Gets the id of the channel this invite is linked to. </summary>
ulong ChannelId { get; }
/// <summary> Gets the guild this invite is linked to. </summary>
IGuild Guild { get; }
/// <summary> Gets the id of the guild this invite is linked to. </summary>
ulong GuildId { get; }

View File

@@ -20,7 +20,7 @@ namespace Discord
/// <summary> Gets the time of this message's last edit, if any. </summary>
DateTimeOffset? EditedTimestamp { get; }
/// <summary> Gets the id of the channel this message was sent to. </summary>
/// <summary> Gets the channel this message was sent to. </summary>
IMessageChannel Channel { get; }
/// <summary> Gets the author of this message. </summary>
IUser Author { get; }

View File

@@ -14,6 +14,8 @@ namespace Discord
string Nickname { get; }
GuildPermissions GuildPermissions { get; }
/// <summary> Gets the guild for this user. </summary>
IGuild Guild { get; }
/// <summary> Gets the id of the guild for this user. </summary>
ulong GuildId { get; }
/// <summary> Returns a collection of the ids of the roles this user is a member of in this guild, including the guild's @everyone role. </summary>