discord: Raise embed description limit to 4096 characters (#243)

This commit is contained in:
Starshine System 2021-07-11 22:19:54 +02:00 committed by GitHub
parent 29a3094a75
commit 9651328b74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 {