From 34f5dec6140895a25d01c02526bf6ef584c5e6e4 Mon Sep 17 00:00:00 2001 From: TrueDoctor Date: Mon, 11 Sep 2017 21:28:13 +0200 Subject: improved gui --- DiscoBot/Misc.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'DiscoBot/Misc.cs') diff --git a/DiscoBot/Misc.cs b/DiscoBot/Misc.cs index c310148..3876321 100644 --- a/DiscoBot/Misc.cs +++ b/DiscoBot/Misc.cs @@ -12,7 +12,7 @@ namespace DiscoBot { int count = 1, d,mod=0; var Output = new StringBuilder(); - List strings = input.Split('d').ToList(); + List strings = input.Split('w','d').ToList(); count = Convert.ToInt32(strings[0]); strings = strings[1].Split(' ').ToList(); d = Convert.ToInt32(strings[0]); @@ -24,7 +24,7 @@ namespace DiscoBot { var roll = dice.Roll(d); sum += roll; - Output.Append(roll + " "); + Output.Append("["+roll + "] "); } if (count > 1) Output.Append("sum: " + (sum)); -- cgit v1.2.3-54-g00ecf