Merge pull request #269 from appelemac/patch-5

Non-spammy $$$ closes #267
This commit is contained in:
Master Kwoth 2016-05-05 15:54:32 +02:00
commit eb50b82ce6
2 changed files with 3 additions and 10 deletions

View File

@ -21,11 +21,8 @@ namespace NadekoBot.Classes
if (silent)
return;
var flows = "";
for (var i = 0; i < amount; i++)
{
flows += NadekoBot.Config.CurrencySign;
}
var flows = amount +" " + NadekoBot.Config.CurrencySign;
await u.SendMessage("👑Congratulations!👑\nYou received: " + flows).ConfigureAwait(false);
}

View File

@ -122,11 +122,7 @@ namespace NadekoBot.Modules.Gambling
return async e =>
{
var pts = GetUserFlowers(e.User.Id);
var str = $"`You have {pts} {NadekoBot.Config.CurrencyName}s".SnPl((int)pts) + "`\n";
for (var i = 0; i < pts; i++)
{
str += NadekoBot.Config.CurrencySign;
}
var str = $"`You have {pts} {NadekoBot.Config.CurrencySign}";
await e.Channel.SendMessage(str).ConfigureAwait(false);
};
}