remove unneeded comments
parent
0aea3d1bd2
commit
f9753b25fb
|
@ -30,14 +30,6 @@ export default class RichEmbed implements EmbedOptions {
|
||||||
fields?: {name: string, value: string, inline?: boolean}[]
|
fields?: {name: string, value: string, inline?: boolean}[]
|
||||||
|
|
||||||
constructor(data: EmbedOptions = {}) {
|
constructor(data: EmbedOptions = {}) {
|
||||||
/*
|
|
||||||
let types: {
|
|
||||||
title?: string, type?: string, description?: string, url?: string, timestamp?: Date, color?: number, fields?: {name: string, value: string, inline?: boolean}[]
|
|
||||||
footer?: { text: string, icon_url?: string, proxy_icon_url?: string}, image?: { url?: string, proxy_url?: string, height?: number, width?: number },
|
|
||||||
thumbnail?: { url?: string, proxy_url?: string, height?: number, width?: number }, video?: { url?: string, height?: number, width?: number },
|
|
||||||
provider?: { name?: string, url?: string}, author?: { name?: string, url?: string, proxy_icon_url?: string, icon_url?: string}
|
|
||||||
};
|
|
||||||
*/
|
|
||||||
this.title = data.title;
|
this.title = data.title;
|
||||||
this.description = data.description;
|
this.description = data.description;
|
||||||
this.url = data.url;
|
this.url = data.url;
|
||||||
|
|
Loading…
Reference in New Issue