.divorce no longer has a cooldown

Added .waifuclaims / .claims command which lists your waifus (name, price and ids)
Timely now shows patreon multiplier bonus if there is any, (alongside boost)
This commit is contained in:
Toastie 2024-11-07 19:04:47 +13:00
parent 04a22e5995
commit 11ed2aaba8
Signed by: toastie_t0ast
GPG key ID: 27F3B6855AFD40A4
5 changed files with 98 additions and 22 deletions
src/EllieBot/Modules/Gambling

View file

@ -354,11 +354,16 @@ public partial class Gambling : GamblingModule<GamblingService>
await _cs.AddAsync(ctx.User.Id, val, new("timely", "claim"));
if (booster)
var msg = GetText(strs.timely(N(val), period));
if (booster || percentBonus > float.Epsilon)
{
var msg = GetText(strs.timely(N(val), period))
+ "\n\n"
+ $"*+{N(Config.BoostBonus.BaseTimelyBonus)} bonus for boosting {userInfo.guild}!*";
msg += "\n\n";
if (booster)
msg += $"*+{N(Config.BoostBonus.BaseTimelyBonus)} bonus for boosting {userInfo.guild}!*";
if (percentBonus > float.Epsilon)
msg +=
$"*+{percentBonus:P0} bonus for the [Patreon](https://patreon.com/elliebot) pledge! <:hart:746995901758832712>*";
await Response().Confirm(msg).Interaction(inter).SendAsync();
}