From 9651328b74d3b073a84cd48028f2e24453804919 Mon Sep 17 00:00:00 2001 From: Starshine System Date: Sun, 11 Jul 2021 22:19:54 +0200 Subject: [PATCH] discord: Raise embed description limit to 4096 characters (#243) --- discord/message_embed.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/message_embed.go b/discord/message_embed.go index 255b47c..63fefb6 100644 --- a/discord/message_embed.go +++ b/discord/message_embed.go @@ -83,8 +83,8 @@ func (e *Embed) Validate() error { return &OverboundError{len(e.Title), 256, "title"} } - if len(e.Description) > 2048 { - return &OverboundError{len(e.Description), 2048, "description"} + if len(e.Description) > 4096 { + return &OverboundError{len(e.Description), 4096, "description"} } if len(e.Fields) > 25 {