using System.Collections.ObjectModel;
using System.Diagnostics;
namespace Noikoio.RegexBot.ConfigItem
{
///
/// Represents known information about a Discord guild (server) and other associated data
///
class ServerConfig
{
private readonly ulong _id;
private EntityList _moderators;
private ReadOnlyDictionary _modData;
public ulong? Id => _id;
public EntityList Moderators => _moderators;
public ReadOnlyDictionary ModuleConfigs => _modData;
public ServerConfig(ulong id, EntityList moderators, ReadOnlyDictionary modconf)
{
_id = id;
_moderators = moderators;
_modData = modconf;
Debug.Assert(_moderators != null && _modData != null);
}
}
}