fix: pipeline

This commit is contained in:
Kwoth
2024-06-17 04:18:06 +00:00
parent b08ff62406
commit d7daa5f2af

View File

@@ -198,9 +198,6 @@ public partial class Gambling : GamblingModule<GamblingService>
return;
}
var inter = CreateRemindMeInteraction(period);
var result = await _ps.TryGetFeatureLimitAsync(_timelyKey, ctx.User.Id, 0);
var patron = await _ps.GetPatronAsync(ctx.User.Id);
@@ -208,6 +205,8 @@ public partial class Gambling : GamblingModule<GamblingService>
val += (int)(val * percentBonus);
var inter = CreateRemindMeInteraction(period);
await _cs.AddAsync(ctx.User.Id, val, new("timely", "claim"));
await Response().Confirm(strs.timely(N(val), period)).Interaction(inter).SendAsync();