Updated 1023-byte limits to 2048

This commit is contained in:
barelyprofessional
2026-03-04 21:15:21 -06:00
parent 896477787d
commit 545c880dba
3 changed files with 4 additions and 4 deletions

View File

@@ -405,7 +405,7 @@ public class ChatBot
/// <param name="lengthLimit">Length limit to enforce in bytes</param>
/// <param name="autoDeleteAfter">Length of time until the message is auto deleted, null to disable. Starts counting from when the message is echoed by Sneedchat</param>
/// <returns>An object you can use to check the status of the message and get its ID for editing/deleting later</returns>
public async Task<SentMessageTrackerModel> SendChatMessageAsync(string message, bool bypassSeshDetect = false, LengthLimitBehavior lengthLimitBehavior = LengthLimitBehavior.TruncateNicely, int lengthLimit = 1023, TimeSpan? autoDeleteAfter = null)
public async Task<SentMessageTrackerModel> SendChatMessageAsync(string message, bool bypassSeshDetect = false, LengthLimitBehavior lengthLimitBehavior = LengthLimitBehavior.TruncateNicely, int lengthLimit = 2048, TimeSpan? autoDeleteAfter = null)
{
var settings = await SettingsProvider
.GetMultipleValuesAsync([
@@ -501,7 +501,7 @@ public class ChatBot
/// <param name="autoDeleteAfter">Length of time until the message is auto deleted, null to disable. Starts counting from when the message is echoed by Sneedchat</param>
/// <returns>An object you can use to check the status of the message and get its ID for editing/deleting later</returns>
public SentMessageTrackerModel SendChatMessage(string message, bool bypassSeshDetect = false,
LengthLimitBehavior lengthLimitBehavior = LengthLimitBehavior.TruncateNicely, int lengthLimit = 1023, TimeSpan? autoDeleteAfter = null)
LengthLimitBehavior lengthLimitBehavior = LengthLimitBehavior.TruncateNicely, int lengthLimit = 2048, TimeSpan? autoDeleteAfter = null)
{
return SendChatMessageAsync(message, bypassSeshDetect, lengthLimitBehavior, lengthLimit, autoDeleteAfter).Result;
}