Make tags actually persist through restarts
This commit is contained in:
parent
dd177fa012
commit
2e77b6d563
|
@ -16,7 +16,7 @@ namespace DeukBot4.MessageHandlers.CommandHandler
|
|||
public class ServerTags
|
||||
{
|
||||
private readonly Dictionary<string, string> Tags = new Dictionary<string, string>();
|
||||
private ulong ServerId { get; set; }
|
||||
private ulong ServerId { get; }
|
||||
|
||||
public ServerTags(ulong serverId)
|
||||
{
|
||||
|
@ -24,6 +24,7 @@ namespace DeukBot4.MessageHandlers.CommandHandler
|
|||
}
|
||||
|
||||
public ServerTags(ulong serverId, Dictionary<string, string> tags)
|
||||
:this(serverId)
|
||||
{
|
||||
Tags = tags;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue