mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 17:28:27 -04:00
docs: Version upped to 5.1.13, updated CHANGELOG.md
fix: Fixed seq comment in creds
This commit is contained in:
@@ -2,6 +2,13 @@
|
|||||||
|
|
||||||
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
|
Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.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
|
## [5.1.12] - 03.10.2024
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
<Nullable>enable</Nullable>
|
<Nullable>enable</Nullable>
|
||||||
<ImplicitUsings>true</ImplicitUsings>
|
<ImplicitUsings>true</ImplicitUsings>
|
||||||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
|
||||||
<Version>5.1.12</Version>
|
<Version>5.1.13</Version>
|
||||||
|
|
||||||
<!-- Output/build -->
|
<!-- Output/build -->
|
||||||
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
<RunWorkingDirectory>$(MSBuildProjectDirectory)</RunWorkingDirectory>
|
||||||
|
@@ -6,7 +6,7 @@ namespace NadekoBot.Common;
|
|||||||
public sealed class Creds : IBotCreds
|
public sealed class Creds : IBotCreds
|
||||||
{
|
{
|
||||||
[Comment("""DO NOT CHANGE""")]
|
[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/""")]
|
[Comment("""Bot token. Do not share with anyone ever -> https://discordapp.com/developers/applications/""")]
|
||||||
public string Token { get; set; }
|
public string Token { get; set; }
|
||||||
@@ -164,7 +164,7 @@ public sealed class Creds : IBotCreds
|
|||||||
public GrpcApiConfig GrpcApi { get; set; }
|
public GrpcApiConfig GrpcApi { get; set; }
|
||||||
|
|
||||||
[Comment("""
|
[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; }
|
public SeqConfig Seq { get; set; }
|
||||||
|
|
||||||
|
@@ -140,9 +140,9 @@ public sealed class BotCredsProvider : IBotCredsProvider
|
|||||||
creds.BotCache = BotCacheImplemenation.Memory;
|
creds.BotCache = BotCacheImplemenation.Memory;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (creds.Version < 11)
|
if (creds.Version < 12)
|
||||||
{
|
{
|
||||||
creds.Version = 11;
|
creds.Version = 12;
|
||||||
File.WriteAllText(CREDS_FILE_NAME, Yaml.Serializer.Serialize(creds));
|
File.WriteAllText(CREDS_FILE_NAME, Yaml.Serializer.Serialize(creds));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user