mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
25 lines
537 B
JavaScript
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; |