This commit is contained in:
@@ -71,8 +71,6 @@ namespace PluginManager.Core
|
||||
commandServiceHandler = new CommandHandler(client, service, botPrefix);
|
||||
await commandServiceHandler.InstallCommandsAsync();
|
||||
|
||||
//wait for isReady to become true
|
||||
|
||||
await Task.Delay(2000);
|
||||
while (!isReady) ;
|
||||
|
||||
|
||||
@@ -86,12 +86,6 @@ namespace DiscordBot
|
||||
await languageManager.ListAllLanguages();
|
||||
|
||||
|
||||
Console_Utilities.ProgressBar pbar;
|
||||
IProgress<float> progress = null;
|
||||
Task t;
|
||||
int prg = 0;
|
||||
|
||||
|
||||
while (true)
|
||||
{
|
||||
Console.ForegroundColor = ConsoleColor.White;
|
||||
@@ -338,6 +332,7 @@ namespace DiscordBot
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
public static void SetLanguage(string LanguageName)
|
||||
{
|
||||
string langSettings = Functions.dataFolder + "Language.txt";
|
||||
@@ -417,6 +412,10 @@ namespace DiscordBot
|
||||
}
|
||||
return;
|
||||
}
|
||||
else if (args[0] == "test")
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
if (args.Length == 0)
|
||||
|
||||
Reference in New Issue
Block a user