Skip to content

should_add_buttons if page is only one  #55

@deesiigneer

Description

@deesiigneer

Summary

adding state change capabilities should_add_buttons to ButtonMenuPages

What is the feature request for?

nextcord.ext.menus

The Problem

if there is only one page, the buttons are not displayed
image

The Ideal Solution

add to the class ButtonMenuPages, should_add_buttons, as with inherit_buttons or disable_buttons_after, in which you can explicitly specify the state of the function to display buttons, even if there is only one page

The Current Solution

Change the return of the is_paginating function to True
image

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions