Preview environment

typealias BufferResolvable

export type BufferResolvable = Buffer | string;

Data that can be resolved to give a Buffer. This can be:* A Buffer* The path to a local file* A URL When provided a URL, discord.js will fetch the URL internally in order to create a Buffer. This can pose a security risk when the URL has not been sanitized

Union Members

Bufferstring