Files
discord.js/lib/Embeds/Embed.js
hydrabolt 95fe52cda1 Did this work?
idk
2015-11-20 22:23:06 +00:00

25 lines
537 B
JavaScript

"use strict";
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
var Embed = function Embed(data) {
_classCallCheck(this, Embed);
this.url = data.url;
this.type = data.type;
this.title = data.title;
this.thumbnail = data.thumbnail;
//width
//height
//url
//proxy_url
this.provider = data.provider;
//url
//name
this.description = data.description;
this.author = data.author;
//url
//name
};
module.exports = Embed;