mirror of
https://gitlab.com/Deukhoofd/DeukBot4.git
synced 2025-09-03 08:07:19 +00:00
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
|
public class ServerTags
|
||||||
{
|
{
|
||||||
private readonly Dictionary<string, string> Tags = new Dictionary<string, string>();
|
private readonly Dictionary<string, string> Tags = new Dictionary<string, string>();
|
||||||
private ulong ServerId { get; set; }
|
private ulong ServerId { get; }
|
||||||
|
|
||||||
public ServerTags(ulong serverId)
|
public ServerTags(ulong serverId)
|
||||||
{
|
{
|
||||||
@ -24,6 +24,7 @@ namespace DeukBot4.MessageHandlers.CommandHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
public ServerTags(ulong serverId, Dictionary<string, string> tags)
|
public ServerTags(ulong serverId, Dictionary<string, string> tags)
|
||||||
|
:this(serverId)
|
||||||
{
|
{
|
||||||
Tags = tags;
|
Tags = tags;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user