[fix] paginator editing works properly now

This commit is contained in:
derpystuff 2022-05-26 00:15:19 +02:00
parent a68b840af7
commit 41721f941f
13 changed files with 32 additions and 37 deletions

View file

@ -62,11 +62,10 @@ module.exports = {
while(fields.length) {
pages.push({embeds:[createLyricsPage(context, search, fields.splice(0,3))]})
}
const message = context.message
pages = formatPaginationEmbeds(pages)
const paging = await paginator.createPaginator({
message,
context,
pages
});
return;