ToString on types of IEmote should return a chat formatted string

This commit is contained in:
Christopher F
2017-06-27 08:49:46 -04:00
parent ea685b4f23
commit 1d612f15c8
3 changed files with 4 additions and 2 deletions

View File

@@ -19,5 +19,7 @@
/// The unicode representation of this emote.
/// </summary>
public string Name { get; }
public override string ToString() => Name;
}
}

View File

@@ -58,6 +58,6 @@ namespace Discord
}
private string DebuggerDisplay => $"{Name} ({Id})";
public override string ToString() => Name;
public override string ToString() => $"<:{Name}:{Id}>";
}
}

View File

@@ -20,7 +20,7 @@ namespace Discord
RoleIds = roleIds;
}
public override string ToString() => Name;
private string DebuggerDisplay => $"{Name} ({Id})";
public override string ToString() => $"<:{Name}:{Id}>";
}
}