This commit is contained in:
tungdo0602
2025-06-30 22:23:32 +07:00
parent 2e4542c069
commit fd9c0e0d0f
11 changed files with 206 additions and 210 deletions

View File

@@ -43,7 +43,7 @@ class BaseMessageComponent {
/** /**
* @param {BaseMessageComponent|BaseMessageComponentOptions} [data={}] The options for this component * @param {BaseMessageComponent|BaseMessageComponentOptions} [data={}] The options for this component
* * @param {MessageComponentOptions} [componentData={}] The raw data for component * @param {MessageComponentOptions} [componentData={}] The raw data for component
*/ */
constructor(data, componentData = {}) { constructor(data, componentData = {}) {
/** /**

View File

@@ -3,7 +3,7 @@
class UnfurledMediaItem { class UnfurledMediaItem {
/** /**
* @property {string} [url] Supports arbitrary urls and `attachment://<filename>` references * @property {string} [url] Supports arbitrary urls and `attachment://<filename>` references
*/ */
/** /**
* @param {UnfurledMediaItem | APIUnfurledMediaItem} [data={}] The data * @param {UnfurledMediaItem | APIUnfurledMediaItem} [data={}] The data
*/ */

View File

@@ -1805,11 +1805,7 @@ exports.RelationshipTypes = createEnum([
'IMPLICIT', 'IMPLICIT',
]); ]);
exports.SeparatorSpacingSizes = createEnum([ exports.SeparatorSpacingSizes = createEnum([null, 'SMALL', 'LARGE']);
null,
'SMALL',
'LARGE',
]);
exports._cleanupSymbol = Symbol('djsCleanup'); exports._cleanupSymbol = Symbol('djsCleanup');