Skip to content

Commit

Permalink
[release] 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Sella-GH committed Dec 15, 2024
1 parent 2d4731a commit 2f07591
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 2.1.2 - 2024-12-15
### Dependencies
- Updated [Npgsql](https://github.com/npgsql/npgsql) to version 9.0.2
- Updated [Npgsql.EntityFrameworkCore.PostgreSQL](https://github.com/npgsql/efcore.pg) to version 9.0.2

### Fixes
- `music get-song-history` works again
- The initial online check after creating an instance works again

## 2.1.1 - 2024-11-23
### Improvements
- The AzuraCast updater works fine now if a rolling release instance is expected to update to a stable release
Expand Down
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<PlatformTarget>AnyCPU</PlatformTarget>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<TargetFramework>net9.0</TargetFramework>
<UseArtifactsOutput>true</UseArtifactsOutput>
<UseArtifactsOutput>true</UseArtifactsOutput>
<WarningsAsErrors>nullable</WarningsAsErrors>
</PropertyGroup>

Expand All @@ -38,7 +38,7 @@
<PackageProjectUrl>https://github.com/Sella-GH/AzzyBot</PackageProjectUrl>
<RepositoryType>Git</RepositoryType>
<RepositoryUrl>https://github.com/Sella-GH/AzzyBot</RepositoryUrl>
<Version>2.1.1</Version>
<Version>2.1.2</Version>
</PropertyGroup>

<!-- Package stuff -->
Expand Down
2 changes: 1 addition & 1 deletion src/AzzyBot.Bot/Commands/AzuraCastCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -802,7 +802,7 @@ public async ValueTask GetSongHistoryAsync
string filePath = await FileOperations.CreateCsvFileAsync(exportHistory, fileName);
await using FileStream fileStream = new(filePath, FileMode.Open, FileAccess.Read);
await using DiscordMessageBuilder builder = new();
builder.WithContent($"Here is the song history for station **{Crypto.Decrypt(azuraStation.Name)}** on **{dateString}**.");
builder.WithContent($"Here is the song history for station **{azuraStation.Name}** on **{dateString}**.");
builder.AddFile(fileName, fileStream, AddFileOptions.CloseStream);
await context.EditResponseAsync(builder);

Expand Down
2 changes: 1 addition & 1 deletion src/AzzyBot.Bot/Commands/ConfigCommands.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public async ValueTask AddAzuraCastAsync
await context.DeleteResponseAsync();
await context.FollowupAsync(GeneralStrings.ConfigInstanceAdded);

dAzuraCast = await _dbActions.GetAzuraCastAsync(guildId, loadPrefs: true, loadGuild: true);
dAzuraCast = await _dbActions.GetAzuraCastAsync(guildId,loadChecks: true, loadPrefs: true, loadGuild: true);
if (dAzuraCast is null)
{
_logger.DatabaseAzuraCastNotFound(guildId);
Expand Down

0 comments on commit 2f07591

Please sign in to comment.