Moved to json file format

This commit is contained in:
2022-06-04 18:55:29 +03:00
parent 8fcd33e734
commit 0b6b57cc84
39 changed files with 501 additions and 1712 deletions

View File

@@ -1,13 +1,14 @@
using Discord;
using Discord.Commands;
using Discord.WebSocket;
using System;
using System.Threading;
using System.Threading.Tasks;
using PluginManager;
using PluginManager.Others;
using static PluginManager.Others.Functions;
namespace PluginManager.Core
namespace DiscordBot.Discord.Core
{
internal class Boot
{
@@ -107,6 +108,17 @@ namespace PluginManager.Core
{
Console.Title = "ONLINE";
isReady = true;
new Thread(async () =>
{
while (true)
{
Config.SaveDictionary();
Thread.Sleep(10000);
}
}
).Start();
return Task.CompletedTask;
}

View File

@@ -13,7 +13,7 @@ using System.Linq;
using Discord;
using System;
namespace PluginManager.Core
namespace DiscordBot.Discord.Core
{
internal class CommandHandler
{