Skip to content

Commit d602a51

Browse files
smabukcsharpfritz
authored andcommitted
Add a space between repetitions (#248)
1 parent b878df4 commit d602a51

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Fritz.Chatbot/Commands/HypeCommand.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ public async Task Execute(IChatService chatService, string userName, ReadOnlyMem
3838

3939
var sb = new StringBuilder();
4040
for (var i=0; i<repeatCount; i++) {
41+
if (i!=0)
42+
{
43+
sb.Append(" ");
44+
}
4145
sb.Append(hypeText);
4246
}
4347

0 commit comments

Comments
 (0)