diff --git a/CHANGELOG.md b/CHANGELOG.md
index 468e134..57750cc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,13 @@
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.1.0/) except date format. a-c-f-r-o
+## [5.1.13] - 03.10.2024
+
+### Fixed
+
+- Grpc api server will no longer start unless enabled in creds
+- Seq comment in creds fixed
+
## [5.1.12] - 03.10.2024
### Added
diff --git a/src/EllieBot/EllieBot.csproj b/src/EllieBot/EllieBot.csproj
index 3a496b0..2a5f94c 100644
--- a/src/EllieBot/EllieBot.csproj
+++ b/src/EllieBot/EllieBot.csproj
@@ -4,7 +4,7 @@
enable
true
en
- 5.1.12
+ 5.1.13
$(MSBuildProjectDirectory)
diff --git a/src/EllieBot/_common/Creds.cs b/src/EllieBot/_common/Creds.cs
index 169cf24..15f7d9f 100644
--- a/src/EllieBot/_common/Creds.cs
+++ b/src/EllieBot/_common/Creds.cs
@@ -6,7 +6,7 @@ namespace EllieBot.Common;
public sealed class Creds : IBotCreds
{
[Comment("""DO NOT CHANGE""")]
- public int Version { get; set; } = 11;
+ public int Version { get; set; } = 12;
[Comment("""Bot token. Do not share with anyone ever -> https://discordapp.com/developers/applications/""")]
public string Token { get; set; }
@@ -165,7 +165,7 @@ public sealed class Creds : IBotCreds
public GrpcApiConfig GrpcApi { get; set; }
[Comment("""
- Url to
+ Url and api key to a seq server. If url is set, bot will try to send logs to it.
""")]
public SeqConfig Seq { get; set; }
diff --git a/src/EllieBot/_common/Impl/BotCredsProvider.cs b/src/EllieBot/_common/Impl/BotCredsProvider.cs
index fa05f8f..8a25288 100644
--- a/src/EllieBot/_common/Impl/BotCredsProvider.cs
+++ b/src/EllieBot/_common/Impl/BotCredsProvider.cs
@@ -137,12 +137,12 @@ public sealed class BotCredsProvider : IBotCredsProvider
var creds = Yaml.Deserializer.Deserialize(File.ReadAllText(CREDS_FILE_NAME));
if (creds.Version <= 5)
{
- creds.BotCache = BotCacheImplemenation.Redis;
+ creds.BotCache = BotCacheImplemenation.Memory;
}
- if (creds.Version <= 9)
+ if (creds.Version < 12)
{
- creds.Version = 10;
+ creds.Version = 12;
File.WriteAllText(CREDS_FILE_NAME, Yaml.Serializer.Serialize(creds));
}
}