Merge branch 'Kieteyuku-v3-patch-34025' into 'v3'

Use … in TrimTo to decrease necessary deletions

See merge request Kwoth/nadekobot!171
This commit is contained in:
Kwoth
2021-10-09 17:42:24 +00:00

View File

@@ -1,4 +1,4 @@
using Newtonsoft.Json; using Newtonsoft.Json;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.IO; using System.IO;
@@ -50,7 +50,7 @@ namespace NadekoBot.Extensions
} }
else else
{ {
return string.Concat(str.Take(maxLength - 3)) + "..."; return string.Concat(str.Take(maxLength - 1)) + "";
} }
} }