discord.js-selfbot-v13/src/util/Embeds.js

49 lines
1018 B
JavaScript
Raw Normal View History

2022-03-19 10:37:45 +00:00
'use strict';
/**
* @typedef {Object} EmbedData
* @property {?string} title
* @property {?EmbedType} type
* @property {?string} description
* @property {?string} url
* @property {?string} timestamp
* @property {?number} color
* @property {?EmbedFooterData} footer
* @property {?EmbedImageData} image
* @property {?EmbedImageData} thumbnail
* @property {?EmbedProviderData} provider
* @property {?EmbedAuthorData} author
* @property {?EmbedFieldData[]} fields
*/
/**
* @typedef {Object} EmbedFooterData
* @property {string} text
* @property {?string} iconURL
*/
/**
* @typedef {Object} EmbedImageData
* @property {?string} url
*/
/**
* @typedef {Object} EmbedProviderData
* @property {?string} name
* @property {?string} url
*/
/**
* @typedef {Object} EmbedAuthorData
* @property {string} name
* @property {?string} url
* @property {?string} iconURL
*/
/**
* @typedef {Object} EmbedFieldData
* @property {string} name
* @property {string} value
* @property {?boolean} inline
*/