UNPKG

@evolvejs/core

Version:

An advanced Discord API wrapper with TS and JS support

26 lines (25 loc) 611 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EmbedFooterBuilder = void 0; class EmbedFooterBuilder { setText(text) { this.text = text; return this; } setIconUrl(url) { this.iconUrl = url.toString(); return this; } setProxyIconUrl(url) { this.proxyIconUrl = url.toString(); return this; } build() { return { text: this.text, icon_url: this.iconUrl, proxy_icon_url: this.proxyIconUrl, }; } } exports.EmbedFooterBuilder = EmbedFooterBuilder;