How do I add fields to message embed objects?

I have this code: https://srcb.in/nDh1ScQ8Oz
I am trying to do report2.addField and it isn't working. It is saying
bot/commands/reports/report.js:61
        report2.addField([{ name: 'Message ID', value: `\`${reportNo}\`` }]);
                ^

TypeError: report2.addField is not a function
    at Object.execute (/root/bot/commands/reports/report.js:61:17)
I have no idea why.
Was this page helpful?