embeds[0].description[BASE_TYPE_REQUIRED]: This field is required V14
const banEmbed = {
"content": "",
"tts": false,
"embeds": [
{
"title": banCaseCounter +
"color": 2326507, "fields": [
| UNBAN | ${targetUserTag}
,
"description": "User has been banned.", "color": 2326507, "fields": [
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!full code
Full error :
There was an error when banning: DiscordAPIError[50035]: Invalid Form Body
embeds[0].description[BASE_TYPE_REQUIRED]: This field is required
stack trace?
Is all I get. How can I "improve" my error logging?