Fixed format error when removing currenc level up reward
This commit is contained in:
parent
43ed332f84
commit
62a2c7689f
@ -109,7 +109,7 @@ namespace NadekoBot.Modules.Xp
|
|||||||
_service.SetCurrencyReward(Context.Guild.Id, level, amount);
|
_service.SetCurrencyReward(Context.Guild.Id, level, amount);
|
||||||
|
|
||||||
if (amount == 0)
|
if (amount == 0)
|
||||||
await ReplyConfirmLocalized("cur_reward_cleared", level).ConfigureAwait(false);
|
await ReplyConfirmLocalized("cur_reward_cleared", level, _bc.BotConfig.CurrencySign).ConfigureAwait(false);
|
||||||
else
|
else
|
||||||
await ReplyConfirmLocalized("cur_reward_added", level, Format.Bold(amount + _bc.BotConfig.CurrencySign)).ConfigureAwait(false);
|
await ReplyConfirmLocalized("cur_reward_added", level, Format.Bold(amount + _bc.BotConfig.CurrencySign)).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user