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

cannot send an empty message #64

Open
just-rich opened this issue Jul 3, 2022 · 1 comment
Open

cannot send an empty message #64

just-rich opened this issue Jul 3, 2022 · 1 comment

Comments

@just-rich
Copy link

/home/pi/discordbots/aichat/node_modules/discord.js/src/rest/RequestHandler.js:170
return reject(new DiscordAPIError(request.path, data, request.method, res.status));
^

DiscordAPIError: Cannot send an empty message
at RequestHandler.execute (/home/pi/discordbots/aichat/node_modules/discord.js/src/rest/RequestHandler.js:170:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
method: 'post',
path: '/channels/872522078098686053/messages',
code: 50006,
httpStatus: 400
}

@Yash-Kavaiya
Copy link

Can you specify where you face above error (Is in Dialogflow ?)

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