From d1394aff4912f62f9fb3f7554a96cd43bcdc04bd Mon Sep 17 00:00:00 2001 From: appelemac Date: Thu, 5 May 2016 15:52:08 +0200 Subject: [PATCH] changed format --- NadekoBot/Classes/FlowersHandler.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/NadekoBot/Classes/FlowersHandler.cs b/NadekoBot/Classes/FlowersHandler.cs index 516ba63e..86e4086b 100644 --- a/NadekoBot/Classes/FlowersHandler.cs +++ b/NadekoBot/Classes/FlowersHandler.cs @@ -21,17 +21,7 @@ namespace NadekoBot.Classes if (silent) return; - var flows = ""; - //Maximum displayed will be ~40 - int i; - for (i = 0; i < 40 && i < amount; i++) - { - flows += NadekoBot.Config.CurrencySign; - } - if (i < amount) - { - flows += $" and {amount - i} more {NadekoBot.Config.CurrencySign}!"; - } + var flows = amount +" " + NadekoBot.Config.CurrencySign; await u.SendMessage("đŸ‘‘Congratulations!đŸ‘‘\nYou received: " + flows).ConfigureAwait(false); }