public DiscordServerInformation(string Path) { DPath = Path; UPath = System.IO.Path.Combine(DPath, "Users"); S = ServerSetting.GetInfo(System.IO.Path.Combine(DPath, "serverconfig.json")); Id = S.ServerID; Console.WriteLine($"Loading Server User Data"); U = UserDictionary.Get(UPath); }
public void Save() { UserDictionary.Save(UPath, U.Values.ToArray()); }