Skip to content
This repository was archived by the owner on Jun 22, 2021. It is now read-only.
This repository was archived by the owner on Jun 22, 2021. It is now read-only.

Optimize the Paginator class for submenus #20

Description

@collectioncard

Currently, the paginator class goes straight for a submenu if there is only one result on the main menu. This is intended behavior. The issue is that we still send the first menu over and then immediately send the second menu to discord and edit the message. Not only is this sending more data, but the user can see the first menu for a brief second before the message is edited.

Proposal: We should make the paginator class go straight into a submenu if it meets the criteria instead of doing what it currently does.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions