mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Extract system/member guild settings and refactor DB access
(also refactor MemberAvatar now that I'm here)
This commit is contained in:
parent
ed511a6236
commit
a915ddb41c
13 changed files with 247 additions and 272 deletions
19
PluralKit.Core/Models/MemberGuildSettings.cs
Normal file
19
PluralKit.Core/Models/MemberGuildSettings.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#nullable enable
|
||||
namespace PluralKit.Core
|
||||
{
|
||||
public class MemberGuildSettings
|
||||
{
|
||||
public int Member { get; }
|
||||
public ulong Guild { get; }
|
||||
public string? DisplayName { get; }
|
||||
public string? AvatarUrl { get; }
|
||||
|
||||
public MemberGuildSettings() { }
|
||||
|
||||
public MemberGuildSettings(int member, ulong guild)
|
||||
{
|
||||
Member = member;
|
||||
Guild = guild;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue