internal Settings(LootsClient lootsClient) : base(lootsClient) { if (!File.Exists(SettingsFile)) { LoadDefault(); } Models.Settings settings = ReadConfig(); lootsClient.Cache.Settings = settings; lootsClient.Cache.ChannelOwnerOnly = (settings.UseChannelOwner == true && settings.UseModerators == false || settings.UseChannelOwner == false && settings.UseModerators == false); }
internal Counter(LootsClient lootsClient) : base(lootsClient) { if (!File.Exists(LootsFile)) { ResetCount(); } else { Log.Info("Loots file found, Do you want to continue the current count ? [Y / N]"); if (Log.AcceptOrDeny()) { LoadFile(); } else { Log.Info("Reset the loots count to 0"); ResetCount(); Log.Info($"The current loots count is: {LootsClient.Cache.LootsCount}"); } } }
protected LootsClientAccessor(LootsClient lootsClient) { LootsClient = lootsClient; }
internal ChatBot(LootsClient lootsClient) : base(lootsClient) { Connect(); }
internal Commands(LootsClient lootsClient) : base(lootsClient) { }
internal Cache(LootsClient lootsClient) : base(lootsClient) { }
internal Message(LootsClient lootsClient) : base(lootsClient) { placeHolders.Add("[lootscount]", lootsClient.Counter.GetCount); }