Illegal embed in chunked paginators with few pages
Closed this issue · 0 comments
sschr15 commented
Description
When creating a paginator with chunkedPages
greater than 1 and one chunk's worth of pages or fewer, an embed with only a color and a (blank) description is sent to Discord, resulting in an invalid request.
Versions
Using Kordex 1.8.0-SNAPSHOT
pulled from a few days ago, and its corresponding Kord build, on Java 21
Code Examples
ephemeralSlashCommand {
name = "pages"
description = "Have a paginator problem"
action {
editingPaginator {
chunkedPages = 2
page {
title = "Hello"
description = "This is some text"
}
}.send()
}
}