Eccleria / ewibot

Discord bot for La Quête d'Ewilan server.
3 stars 0 forks source link

AdminLogs MessageDelete - description field is required #266

Open Eccleria opened 1 year ago

Eccleria commented 1 year ago
 Message supprimé 2023-11-02T14:28:21.131Z DiscordAPIError: Invalid Form Body
embeds[1].description: This field is required
    at RequestHandler.execute (/home/ewibot/ewibot/node_modules/discord.js/src/rest/RequestHandler.js:350:13)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async RequestHandler.push (/home/ewibot/ewibot/node_modules/discord.js/src/rest/RequestHandler.js:51:14)
    at async ThreadChannel.send (/home/ewibot/ewibot/node_modules/discord.js/src/structures/interfaces/TextBasedChannel.js:177:15)
    at async finishEmbed (file:///home/ewibot/ewibot/src/admin/utils.js:101:23)
    at async Client.onMessageDelete (file:///home/ewibot/ewibot/src/admin/listeners.js:558:25) {
  method: 'post',
  path: '/channels/1012365101594058762/messages',
  code: 50035,
  httpStatus: 400,
  requestData: {
    json: {
      content: undefined,
      tts: false,
      nonce: undefined,
      embeds: [Array],
      components: undefined,
      username: undefined,
      avatar_url: undefined,
      allowed_mentions: undefined,
      flags: undefined,
      message_reference: undefined,
      attachments: undefined,
      sticker_ids: undefined,
      thread_name: undefined
    },
    files: []
  }
}