Fixed SocketRole.CompareTo

This commit is contained in:
RogueException
2017-03-02 06:55:09 -04:00
parent 8c75e0d581
commit 1b0e47be42
3 changed files with 5 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ namespace Discord.Rest
public Task DeleteAsync(RequestOptions options = null)
=> RoleHelper.DeleteAsync(this, Discord, options);
public int CompareTo(IRole role) => this.Compare(role);
public int CompareTo(IRole role) => RoleUtils.Compare(this, role);
public override string ToString() => Name;
private string DebuggerDisplay => $"{Name} ({Id})";