[core] fully migrate to InteractionPaginator

This commit is contained in:
derpystuff 2022-05-22 17:55:16 +02:00
parent b1cc10c6ef
commit eb0ba140f3
15 changed files with 176 additions and 303 deletions

View file

@ -22,11 +22,6 @@ const categories = {
"dev": `${icon("analytics")} Development`
}
const reactions = {
previousPage: "⬅️",
nextPage: "➡️"
};
module.exports = {
name: 'help',
label: 'command',
@ -58,10 +53,9 @@ module.exports = {
pages = formatPaginationEmbeds(pages)
const message = context.message
const paging = await paginator.createReactionPaginator({
const paging = await paginator.createPaginator({
message,
pages,
reactions
pages
});
}
},