Readded navigational props to interfaces
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace Discord
|
||||
DateTimeOffset SyncedAt { get; }
|
||||
IntegrationAccount Account { get; }
|
||||
|
||||
IGuild Guild { get; }
|
||||
ulong GuildId { get; }
|
||||
ulong RoleId { get; }
|
||||
IUser User { get; }
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user