Add IGuildUser.Hirearchy, added docstrings

Property can be renamed as needed.
This commit is contained in:
james7132
2016-10-29 23:05:56 +00:00
parent 89e61fe7d7
commit 97a6bf6b6e
4 changed files with 21 additions and 10 deletions

View File

@@ -96,8 +96,8 @@ namespace Discord.Rest
throw new InvalidOperationException("Unable to return this entity's parent unless it was fetched through that object.");
}
}
public int CompareTo(IRole role) => this.Compare(role);
public int Hirearchy => this.GetHirearchy();
public int CompareTo(IRole role) => this.CompareRole(role);
//IVoiceState
bool IVoiceState.IsSelfDeafened => false;