linux updater
This commit is contained in:
@@ -43,8 +43,8 @@ public class Command
|
||||
|
||||
public class ConsoleCommand
|
||||
{
|
||||
public string CommandName { get; init; }
|
||||
public string Description { get; init; }
|
||||
public string Usage { get; init; }
|
||||
public Action<string[]> Action { get; init; }
|
||||
public string? CommandName { get; init; }
|
||||
public string? Description { get; init; }
|
||||
public string? Usage { get; init; }
|
||||
public Action<string[]>? Action { get; init; }
|
||||
}
|
||||
@@ -429,8 +429,8 @@ public class ConsoleCommandsHandler
|
||||
}
|
||||
else
|
||||
{
|
||||
Process.Start("./DiscordBot", "lp");
|
||||
HandleCommand("sd");
|
||||
//HandleCommand("sd");
|
||||
Console.WriteLine("This command can not be used outside of Windows yet. Please restart the bot using the manual way");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user