Q:

fields.flat is not a function discord.js

Re-Install Node.js because Discord.js Embeds only work on node version 12 and up
1
// Patched into :
static normalizeFields(...fields) {
    return fields
      .reduce((acc, val) => acc.concat(val), [])
      .map(field =>
        this.normalizeField(
          field && field.name,
          field && field.value,
          field && typeof field.inline === 'boolean' ? field.inline : false,
        ),
      );
  }
0

New to Communities?

Join the community