mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-24 02:03:54 +00:00
* Support for user mentions and incomplete support for role mentions * Improve formatting a bit * Implement a hack to get roles
20 lines
347 B
C#
20 lines
347 B
C#
namespace DiscordChatExporter.Models
|
|
{
|
|
public class Role
|
|
{
|
|
public string Id { get; }
|
|
|
|
public string Name { get; }
|
|
|
|
public Role(string id, string name)
|
|
{
|
|
Id = id;
|
|
Name = name;
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return Name;
|
|
}
|
|
}
|
|
} |