bot: add color change command

This commit is contained in:
Ske
2019-05-11 23:56:56 +02:00
parent 12e14c420c
commit cf2598baa5
4 changed files with 34 additions and 7 deletions

View File

@@ -21,6 +21,12 @@ namespace PluralKit
if (str.Length < maxLength) return str;
return str.Substring(0, maxLength - ellipsis.Length) + ellipsis;
}
public static bool IsLongerThan(this string str, int length)
{
if (str != null) return str.Length > length;
return false;
}
}
public static class Emojis {