mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 14:57:54 +00:00
Add unit test project and some early tests
This commit is contained in:
parent
2d43c17f9e
commit
0f041c2e3c
6 changed files with 119 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue