Skip to content
GitHub

ResponseFile

type alias in meocord/interface Since 4.1.0

type ResponseFile =
  | AttachmentBuilder
  | { name: string; data: Buffer | Uint8Array; description?: string }

A file a ResponseView carries: a discord.js AttachmentBuilder, or the file's name and its bytes.