Revert "feat: remove 2000-character limit for proxied messages"

This reverts commit 7cc2aab1f0.
This commit is contained in:
spiral
2022-01-21 18:23:58 -05:00
parent 31a129dabf
commit ddbf0e8691
3 changed files with 8 additions and 1 deletions

View File

@@ -100,7 +100,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(4000);
var content = req.Content.Truncate(2000);
var allowedMentions = content.ParseMentions();
if (!req.AllowEveryone)