fixed .timely awarding multiple times on selfhosts

This commit is contained in:
Toastie 2025-04-05 20:13:30 +13:00
parent ffe4e64387
commit 0e41cb7cc2
Signed by: toastie_t0ast
GPG key ID: 0861BE54AD481DC7

View file

@ -215,8 +215,7 @@ public partial class Gambling : GamblingModule<GamblingService>
await Response().Error(strs.timely_none).SendAsync();
return;
}
await _cs.AddAsync(ctx.User.Id, val, new("timely", "claim"));
if (Config.Timely.ProtType == TimelyProt.Button)
{
var interaction = CreateTimelyInteraction();