fix: check correct length for fronthistory embed
This commit is contained in:
		@@ -100,7 +100,7 @@ namespace PluralKit.Bot
 | 
				
			|||||||
                                $"**{membersStr}** ({sw.Timestamp.FormatZoned(system.Zone)}, {switchSince.FormatDuration()} ago)\n";
 | 
					                                $"**{membersStr}** ({sw.Timestamp.FormatZoned(system.Zone)}, {switchSince.FormatDuration()} ago)\n";
 | 
				
			||||||
                        }
 | 
					                        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                        if (sb.Length + stringToAdd.Length >= 1024)
 | 
					                        if (sb.Length + stringToAdd.Length >= 4096)
 | 
				
			||||||
                            break;
 | 
					                            break;
 | 
				
			||||||
                        sb.Append(stringToAdd);
 | 
					                        sb.Append(stringToAdd);
 | 
				
			||||||
                    }
 | 
					                    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user