Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnhandledPromiseRejectionWarning: DiscordAPIError: Cannot send an empty message #34

Open
18TB opened this issue Jul 26, 2021 · 1 comment

Comments

@18TB
Copy link

18TB commented Jul 26, 2021

I am getting this issue when trying to change pages, I have sent the pages individually using message.send() and they have all worked, however as soon as trying to do it as a pagination it says the error. I will attach screenshots anyways.

Code Image

Individual Image

@psibean
Copy link

psibean commented Aug 8, 2021

This definitely seemed to be an issue as you weren't the only one encountering it, a fix for it can be found here.

However, I'd recommend using my version of this package via npm install @psibean/discord.js-pagination and updating to discord.js v13. Be sure to read the updated readme if you go with mine.

@mavdotj mavdotj mentioned this issue Dec 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants