This commit is contained in:
2023-04-09 20:47:21 +03:00
parent 244209093e
commit 0bbced3d58
4 changed files with 5 additions and 4 deletions

4
.vscode/launch.json vendored
View File

@@ -6,9 +6,9 @@
"type": "coreclr", "type": "coreclr",
"request": "launch", "request": "launch",
"preLaunchTask": "buildUI", "preLaunchTask": "buildUI",
"program": "${workspaceFolder}/DiscordBotPlugins/DiscordBotUI/bin/Debug/net7.0/DiscordBotUI.dll", "program": "${workspaceFolder}/DiscordBotPlugins/DiscordBotUI/bin/Debug/net6.0/DiscordBotUI.dll",
"args": [], "args": [],
"cwd": "${workspaceFolder}/DiscordBotPlugins/DiscordBotUI/bin/Debug/net7.0", "cwd": "${workspaceFolder}/DiscordBotPlugins/DiscordBotUI/bin/Debug/net6.0",
"stopAtEntry": false, "stopAtEntry": false,
"console": "externalTerminal", "console": "externalTerminal",
"serverReadyAction": { "serverReadyAction": {

View File

@@ -35,6 +35,7 @@ namespace DiscordBotUI.Controllers
while (!isReady) while (!isReady)
await Task.Delay(100); await Task.Delay(100);
await Task.Delay(2000); await Task.Delay(2000);
BotModel model = new BotModel(); BotModel model = new BotModel();

View File

@@ -3,7 +3,7 @@
<ProjectReference Include="..\..\PluginManager\PluginManager.csproj" /> <ProjectReference Include="..\..\PluginManager\PluginManager.csproj" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
<TargetFramework>net7.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings> <ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup> </PropertyGroup>

View File

@@ -17,7 +17,7 @@
<label>Bot Prefix</label> <label>Bot Prefix</label>
</div> </div>
<div class="user-box"> <div class="user-box">
<input asp-for=ServerID type="text" name="ServerID"> <input asp-for=ServerID type="text" name="ServerID" required="">
<label>Server ID</label> <label>Server ID</label>
</div> </div>