Skip to content

Commit

Permalink
Fixed for CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyTech6 committed Sep 15, 2024
1 parent d4f6c05 commit 3a0dbab
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CrimsonFAQ.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
<FileVersion>0.1.10.0</FileVersion>
<InformationalVersion>0.1.10+1.Branch.main.Sha.c33d0879382e1a0da34861ec55914ba7e637a80e</InformationalVersion>
</PropertyGroup>
<Target Name="Thunderstore Copy to Dist" AfterTargets="AfterBuild" Condition=" '$(Configuration' == 'Release'">
<Copy SourceFiles="$(OutDir)\CrimsonFAQ.dll" DestinationFolder="$(SolutionDir)/dist" />
</Target>
<ItemGroup>
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.716" IncludeAssets="compile" />
<PackageReference Include="BepInEx.Core" Version="6.0.0-be.716" IncludeAssets="compile" />
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ You give each KeyResponse a "Key" and a "Response". Players can query for the ke
* Run server once to generate _CrimsonFAQ/responses.json_ and .cfg file
* Set your preferred prefix in the cfg file (i.e. **?**discord)

`
```json
[
{
"Key": "discord", // The key players input
"Response": "Join our discord at discord.gg/abc", // what the server responds with
"Response": "Join our discord at discord.gg/RBPesMj", // what the server responds with
"IsGlobal": true, // global will broadcast to everyone, false it will be private only
"GlobalCooldownMinutes": 30, // how often in minutes should it be broadcast global? If it is spammed, subsequential requests will be displayed only to requester
"GlobalLastUsed": "0001-01-01T00:00:00" // do not touch this
}
]
`
```

## Support

Expand Down
2 changes: 1 addition & 1 deletion Systems/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public static void CreateDatabaseFiles()
{
List<KeyResponse> template = new List<KeyResponse>();

KeyResponse response = new KeyResponse("discord", "Join our discord at discord.gg/abc", true, 30);
KeyResponse response = new KeyResponse("discord", "Join our discord at discord.gg/RBPesMj", true, 30);
template.Add(response);

var json = JsonSerializer.Serialize(template, new JsonSerializerOptions { WriteIndented = true});
Expand Down

0 comments on commit 3a0dbab

Please sign in to comment.