fix: Blackjack and .pick command responses will no longer reply as the original message will always be deleted

This commit is contained in:
Kwoth
2024-05-13 10:48:05 +00:00
parent 876d63fd8b
commit 35fd5c415d
2 changed files with 4 additions and 4 deletions

View File

@@ -50,12 +50,12 @@ public partial class Gambling
bj.GameEnded += Bj_GameEnded; bj.GameEnded += Bj_GameEnded;
bj.Start(); bj.Start();
await Response().Confirm(strs.bj_created(ctx.User.ToString())).SendAsync(); await Response().NoReply().Confirm(strs.bj_created(ctx.User.ToString())).SendAsync();
} }
else else
{ {
if (await bj.Join(ctx.User, amount)) if (await bj.Join(ctx.User, amount))
await Response().Confirm(strs.bj_joined(ctx.User.ToString())).SendAsync(); await Response().NoReply().Confirm(strs.bj_joined(ctx.User.ToString())).SendAsync();
else else
{ {
Log.Information("{User} can't join a blackjack game as it's in {BlackjackState} state already", Log.Information("{User} can't join a blackjack game as it's in {BlackjackState} state already",

View File

@@ -27,7 +27,7 @@ public partial class Gambling
if (picked > 0) if (picked > 0)
{ {
var msg = await Response().Confirm(strs.picked(N(picked))).SendAsync(); var msg = await Response().NoReply().Confirm(strs.picked(N(picked))).SendAsync();
msg.DeleteAfter(10); msg.DeleteAfter(10);
} }