Hide the page selector with paginated messages?
I'd love some help hiding this selector in my paginated message, I've looked through the docs but I'm unable to see a solution, thanks!
https://ss.clanware.org/sg21mE.png
Solution:Jump to solution
https://www.sapphirejs.dev/docs/Documentation/api-utilities/classes/sapphire_discord_js_utilities.PaginatedMessage#setactions & https://www.sapphirejs.dev/docs/Documentation/api-utilities/classes/sapphire_discord_js_utilities.PaginatedMessage#defaultactions
Or set the default actions globally because it's a static...
3 Replies
You can filter the default actions like this.
Full code here: https://github.com/BenSegal855/Steve-V3/blob/dev/src/commands/Info/stats.ts#L33-L40
oh that code also gets rid of the first and last page buttons
Solution
https://www.sapphirejs.dev/docs/Documentation/api-utilities/classes/sapphire_discord_js_utilities.PaginatedMessage#setactions & https://www.sapphirejs.dev/docs/Documentation/api-utilities/classes/sapphire_discord_js_utilities.PaginatedMessage#defaultactions
Or set the default actions globally because it's a static
Thank you