You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use pagination in my help command, the first page loads fine but when I try and click the emoji to change to the second page I get the "(node:19744) UnhandledPromiseRejectionWarning: DiscordAPIError: Cannot send an empty message" Error any help?
The text was updated successfully, but these errors were encountered:
When I try to use pagination in my help command, the first page loads fine but when I try and click the emoji to change to the second page I get the "(node:19744) UnhandledPromiseRejectionWarning: DiscordAPIError: Cannot send an empty message" Error any help?
Plenty of people, including myself, are using this without this problem.
The error you're getting indicates that one of the embeds in your pages array that you're passing in is blank/empty, so when you switch page it tries to edit the message to be that embed, but the embed is blank / can't be sent.
Can't help you with this error unless you show the code where you're creating your array of embeds that get passed into the paginationEmbed call.
When I try to use pagination in my help command, the first page loads fine but when I try and click the emoji to change to the second page I get the "(node:19744) UnhandledPromiseRejectionWarning: DiscordAPIError: Cannot send an empty message" Error any help?
The text was updated successfully, but these errors were encountered: