1
0
Fork 1
mirror of https://github.com/TeamOctolings/Octobot.git synced 2025-04-20 00:43:36 +03:00
Octobot/Data/GuildData.cs
Octol1ttle 0538cbb164
Save important data about scheduled events to disk
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
2023-06-02 17:08:55 +05:00

22 lines
756 B
C#

using System.Globalization;
namespace Boyfriend.Data;
public class GuildData {
public readonly GuildConfiguration Configuration;
public readonly string ConfigurationPath;
public readonly Dictionary<ulong, ScheduledEventData> ScheduledEvents;
public readonly string ScheduledEventsPath;
public GuildData(
GuildConfiguration configuration, string configurationPath,
Dictionary<ulong, ScheduledEventData> scheduledEvents, string scheduledEventsPath) {
Configuration = configuration;
ConfigurationPath = configurationPath;
ScheduledEvents = scheduledEvents;
ScheduledEventsPath = scheduledEventsPath;
}
public CultureInfo Culture => Configuration.Culture;
}