Add testing appsettings.json

This commit is contained in:
Daniel_I_Am 2020-06-08 22:12:05 +02:00
parent 1f221feef3
commit d98086a455
No known key found for this signature in database
GPG Key ID: 80C428FCC9743E84
2 changed files with 42 additions and 0 deletions

View File

@ -16,4 +16,12 @@
<ProjectReference Include="..\ChaosBot\ChaosBot.csproj" />
</ItemGroup>
<ItemGroup>
<Content Include="appsettings.json">
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<CopyToPublishDirectory>PreserveNewest</CopyToPublishDirectory>
</Content>
</ItemGroup>
</Project>

View File

@ -0,0 +1,34 @@
{
"Bot": {
"Name": "ChaosBot",
"Version": "1.0",
"Database": "ChaosBotSQL.db"
},
"Discord": {
"Token": "INVALID_TOKEN",
"Prefix": "!"
},
"Servers": {},
"NLog": {
"extensions": {
"NLog.Web.AspNetCore": {
"assembly": "NLog.Web.AspNetCore"
}
},
"targets": {
"loggerconsole": {
"type": "console"
}
},
"rules": [
{
"logger": "*",
"minLevel": "Trace",
"writeTo": "loggerconsole"
}
]
},
"WebServer": {
"Port": 8000
}
}