add settings

This commit is contained in:
Дмитрий Шиманский
2023-11-11 23:37:41 +03:00
parent 7ce56c1388
commit 119e367e56
3 changed files with 31 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
using Discord.Interactions;
using Discord.WebSocket;
using DiscordApp.Database;
using DiscordApp.Justice.Commands;
using Microsoft.VisualBasic;
using Newtonsoft.Json;
using System.Reflection;
@@ -40,7 +41,9 @@ namespace DiscordApp
private async Task ReadyAsync()
{
HttpClient http = new HttpClient();
await handler.RegisterCommandsGloballyAsync(true);
while (true)
{