feat: remove 2000-character limit for proxied messages

This commit is contained in:
spiral 2022-01-14 15:08:39 -05:00
parent d58cc216c0
commit 7cc2aab1f0
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
3 changed files with 1 additions and 8 deletions

View file

@ -99,7 +99,7 @@ public class WebhookExecutorService
private async Task<Message> ExecuteWebhookInner(Webhook webhook, ProxyRequest req, bool hasRetried = false)
{
var guild = await _cache.GetGuild(req.GuildId);
var content = req.Content.Truncate(2000);
var content = req.Content.Truncate(4000);
var allowedMentions = content.ParseMentions();
if (!req.AllowEveryone)