Add unit test project and some early tests

This commit is contained in:
Ske
2020-06-14 18:56:53 +02:00
parent 2d43c17f9e
commit 0f041c2e3c
6 changed files with 119 additions and 3 deletions

View File

@@ -24,5 +24,13 @@ namespace PluralKit.Core
: ServerName ?? DisplayName ?? Name;
public string? ProxyAvatar(MessageContext ctx) => ServerAvatar ?? Avatar ?? ctx.SystemAvatar;
public ProxyMember() { }
public ProxyMember(string name, params ProxyTag[] tags)
{
Name = name;
ProxyTags = tags;
}
}
}