@evolvejs/core
Version:
An advanced Discord API wrapper with TS and JS support
26 lines (25 loc) • 565 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.EmbedVideoBuilder = void 0;
class EmbedVideoBuilder {
setURL(url) {
this.url = url.toString();
return this;
}
setHeight(height) {
this.height = height;
return this;
}
setWidth(width) {
this.width = width;
return this;
}
build() {
return {
url: this.url,
height: this.height,
width: this.width,
};
}
}
exports.EmbedVideoBuilder = EmbedVideoBuilder;