Update FlowersHandler.cs
This commit is contained in:
parent
45cd83fb69
commit
4b1ccd8cbc
@ -22,10 +22,17 @@ namespace NadekoBot.Classes
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
var flows = "";
|
var flows = "";
|
||||||
for (var i = 0; i < amount; i++)
|
//Maximum displayed will be ~40
|
||||||
|
int i;
|
||||||
|
for (i = 0; i < 40 && i < amount; i++)
|
||||||
{
|
{
|
||||||
flows += NadekoBot.Config.CurrencySign;
|
flows += NadekoBot.Config.CurrencySign;
|
||||||
}
|
}
|
||||||
|
if (i < amount)
|
||||||
|
{
|
||||||
|
flows += $" and {amount - i} more {NadekoBot.Config.CurrencySign}!";
|
||||||
|
}
|
||||||
|
|
||||||
await u.SendMessage("👑Congratulations!👑\nYou received: " + flows).ConfigureAwait(false);
|
await u.SendMessage("👑Congratulations!👑\nYou received: " + flows).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user