Draw fixed, version upped

This commit is contained in:
Kwoth
2022-06-29 17:53:15 +02:00
parent c66e0fb6b7
commit 11d9db99ff
3 changed files with 9 additions and 3 deletions

View File

@@ -2,7 +2,13 @@
Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
## [4.2.10] - 29.06.202
## [4.2.11] - 29.06.2022
### Fixed
- Fixed `.draw` command
## [4.2.10] - 29.06.2022
- Fixed currency generation working only once

View File

@@ -44,7 +44,7 @@ public partial class Gambling
var currentCard = cards.Draw();
cardObjects.Add(currentCard);
var cardName = currentCard.ToString().ToLowerInvariant().Replace(' ', '_');
images.Add(Image.Load(await File.ReadAllBytesAsync($"data/images/cards/{cardName}.png")));
images.Add(Image.Load(await File.ReadAllBytesAsync($"data/images/cards/{cardName}.jpg")));
}
using var img = images.Merge();

View File

@@ -7,7 +7,7 @@ namespace NadekoBot.Services;
public sealed class StatsService : IStatsService, IReadyExecutor, INService
{
public const string BOT_VERSION = "4.2.10";
public const string BOT_VERSION = "4.2.11";
public string Author
=> "Kwoth#2452";