mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
- Fixed counting parameters which have formats in response strings
- Almost finished porting localized string keys as methods - Compiles
This commit is contained in:
@@ -68,9 +68,9 @@ namespace NadekoBot.Modules.Gambling
|
||||
await ReplyErrorLocalizedAsync("not_enough", CurrencySign);
|
||||
return;
|
||||
}
|
||||
var msg = GetText(strs.waifu_claimed,
|
||||
var msg = GetText(strs.waifu_claimed(
|
||||
Format.Bold(target.ToString()),
|
||||
amount + CurrencySign);
|
||||
amount + CurrencySign));
|
||||
if (w.Affinity?.UserId == ctx.User.Id)
|
||||
msg += "\n" + GetText(strs.waifu_fulfilled(target, w.Price + CurrencySign));
|
||||
else
|
||||
@@ -292,7 +292,7 @@ namespace NadekoBot.Modules.Gambling
|
||||
.AddField(GetText(strs.changes_of_heart), $"{wi.AffinityCount} - \"the {affInfo}\"", true)
|
||||
.AddField(GetText(strs.divorces), wi.DivorceCount.ToString(), true)
|
||||
.AddField("\u200B", "\u200B", true)
|
||||
.AddField(GetText(strs.fans(wi.Fans.Count), fansStr, true))
|
||||
.AddField(GetText(strs.fans(wi.Fans.Count)), fansStr, true)
|
||||
.AddField($"Waifus ({wi.ClaimCount})", wi.ClaimCount == 0
|
||||
? nobody
|
||||
: string.Join("\n", wi.Claims.Shuffle().Take(30)), true)
|
||||
|
Reference in New Issue
Block a user