nextcord / nextcord-ext-menus

A nextcord menu and pagination extension that makes working with reaction menus and button component menus a bit easier
https://menus.docs.nextcord.dev
MIT License
26 stars 9 forks source link

feat: support send pages after defer #30

Closed DenverCoder1 closed 2 years ago

DenverCoder1 commented 2 years ago

The current implementation of MenuPages uses interaction.response.send_message to send the initial message which does not work if defer was used beforehand.

This changes the implementation to use the helper function Interaction.send so that it will work even if defer was used beforehand.


Can be tested with:

pip install -U git+https://github.com/DenverCoderOne/nextcord-ext-menus@pages-defer --force-reinstall