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",
"request": "launch",
"preLaunchTask": "buildUI",
"program": "${workspaceFolder}/DiscordBotPlugins/DiscordBotUI/bin/Debug/net7.0/DiscordBotUI.dll",
"program": "${workspaceFolder}/DiscordBotPlugins/DiscordBotUI/bin/Debug/net6.0/DiscordBotUI.dll",
"args": [],
"cwd": "${workspaceFolder}/DiscordBotPlugins/DiscordBotUI/bin/Debug/net7.0",
"cwd": "${workspaceFolder}/DiscordBotPlugins/DiscordBotUI/bin/Debug/net6.0",
"stopAtEntry": false,
"console": "externalTerminal",
"serverReadyAction": {

View File

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

View File

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

View File

@@ -17,7 +17,7 @@
<label>Bot Prefix</label>
</div>
<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>
</div>