Fixed .cash bank interaction not being ephemeral

This commit is contained in:
Kwoth
2022-06-30 22:09:26 +02:00
parent a8e00a19ba
commit 2e4de7723e
3 changed files with 10 additions and 3 deletions

View File

@@ -2,6 +2,12 @@
Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.com/en/1.0.0/) except date format. a-c-f-r-o
## [4.2.13] - 30.06.2022
### Fixed
- Fixed `.cash` bank interaction not being ephemeral anymore
## [4.2.12] - 30.06.2022 ## [4.2.12] - 30.06.2022
### Fixed ### Fixed
@@ -19,7 +25,7 @@ Experimental changelog. Mostly based on [keepachangelog](https://keepachangelog.
- Fixed currency generation working only once - Fixed currency generation working only once
## [4.2.9] - 25.06.2022 ## [4.2.9] - 25.06.2022
### Fixed ### Fixed
- Fixed `creds_example.yml` misssing from output directory - Fixed `creds_example.yml` misssing from output directory

View File

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

View File

@@ -58,7 +58,8 @@ public static class SocketMessageComponentExtensions
bool ephemeral = false) bool ephemeral = false)
=> smc.RespondAsync(plainText, => smc.RespondAsync(plainText,
embed: embed?.Build(), embed: embed?.Build(),
embeds: embeds?.Map(x => x.Build())); embeds: embeds?.Map(x => x.Build()),
ephemeral: ephemeral);
public static Task RespondAsync( public static Task RespondAsync(
this SocketMessageComponent ch, this SocketMessageComponent ch,