mirror of
https://github.com/diamondburned/arikawa.git
synced 2025-01-05 19:57:02 +00:00
discord: Raise embed description limit to 4096 characters (#243)
This commit is contained in:
parent
29a3094a75
commit
9651328b74
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue