Discord Bot web UI first preview

This commit is contained in:
2023-04-08 13:18:25 +03:00
parent 0a2dff0c6d
commit 810a527cc1
86 changed files with 74906 additions and 0 deletions

View File

@@ -51,6 +51,11 @@ public static class Config
_dictionary = PrivateReadConfig(file).GetAwaiter().GetResult();
}
public async void Save()
{
await Functions.SaveToJsonFile("./Data/Resources/config.json", _dictionary);
}
public virtual void Add(TKey key, TValue value)
{
_dictionary.Add(key, value);