**Is it possible to start the paginator with the group selector menu disabled? **
I'm using the PageTest class from the paginator example cogs file. Specifically the /pagetest groups slash command. When instancing the Paginator using:
paginator = pages.Paginator(
pages=page_groups,
show_menu=False,
menu_placeholder=f"{self.categories[0]}"
)
await paginator.respond(ctx.interaction, ephemeral=False)
if sum(pg.default is True for pg in self.page_groups) > 1:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
starting with show_menu=True works (this is the default way the example was set up).
if I start with show_menu=True then update the paginator with show_menu=False it removes the menu fine. I am guessing this has something to do with the paginator.respond?:
paginator = pages.Paginator(
pages=page_groups,
show_menu=True,
menu_placeholder=f"{self.categories[0]}"
)
await paginator.respond(ctx.interaction, ephemeral=False)
await asyncio.sleep(3)
await paginator.update(show_disabled=True, show_menu=False)
I would really like to be able to start this without the menu showing as a plan to have a button spawn the menu
More Code:
https://pastebin.com/FWiapTC2