mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
bot: add color change command
This commit is contained in:
parent
12e14c420c
commit
cf2598baa5
4 changed files with 34 additions and 7 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue