ToString on types of IEmote should return a chat formatted string
This commit is contained in:
@@ -19,5 +19,7 @@
|
||||
/// The unicode representation of this emote.
|
||||
/// </summary>
|
||||
public string Name { get; }
|
||||
|
||||
public override string ToString() => Name;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -58,6 +58,6 @@ namespace Discord
|
||||
}
|
||||
|
||||
private string DebuggerDisplay => $"{Name} ({Id})";
|
||||
public override string ToString() => Name;
|
||||
public override string ToString() => $"<:{Name}:{Id}>";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Discord
|
||||
RoleIds = roleIds;
|
||||
}
|
||||
|
||||
public override string ToString() => Name;
|
||||
private string DebuggerDisplay => $"{Name} ({Id})";
|
||||
public override string ToString() => $"<:{Name}:{Id}>";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user