forked from EllieBotDevs/elliebot
.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:
parent
04a22e5995
commit
11ed2aaba8
5 changed files with 98 additions and 22 deletions
src/EllieBot/Modules/Gambling
|
@ -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();
|
||||
}
|
||||
|
|
Reference in a new issue