fix: check correct length for fronthistory embed
This commit is contained in:
parent
c31ea56bc9
commit
a546ebc888
@ -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…
Reference in New Issue
Block a user