mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
fix: check correct length for fronthistory embed
This commit is contained in:
parent
c31ea56bc9
commit
a546ebc888
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ namespace PluralKit.Bot
|
|||
$"**{membersStr}** ({sw.Timestamp.FormatZoned(system.Zone)}, {switchSince.FormatDuration()} ago)\n";
|
||||
}
|
||||
|
||||
if (sb.Length + stringToAdd.Length >= 1024)
|
||||
if (sb.Length + stringToAdd.Length >= 4096)
|
||||
break;
|
||||
sb.Append(stringToAdd);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue