hackclubnmit / workshops

Hack Club NMIT workshops library!
18 stars 25 forks source link

cannot send an empty message #64

Open just-rich opened 2 years ago

just-rich commented 2 years ago

/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 commented 11 months ago

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