Allow custom select options in SimpleMenu #6455
Labels
Category: Core - API - Utils Package
This is related to stuff in `redbot.core.utils`
Status: PRs Welcome
No one is currently assigned to this issue, but we'd be grateful if anyone made a PR.
Type: Enhancement
Something meant to enhance existing Red features.
Type of feature request
API functionality
Description of the feature you're suggesting
SimpleMenu should allow custom names for the pages instead of the hardcoded "Page X".
The most straight forward solution I can see is to take an optional list of names when creating the menu and if its given, use it instead of generating the "Page X" list.
My cog currently "hacks" the existing behavior using
(menu_items is a list of tuples of (name,content) in this case)
Anything else?
I can write a pull request myself if needed.
The text was updated successfully, but these errors were encountered: