This commit is contained in:
TotallyTung
2025-06-24 12:32:58 +07:00
committed by GitHub
parent 70cc08c2c6
commit df3d768087
12 changed files with 17 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ const { MessageComponentTypes } = require('../util/Constants');
class TextDisplayComponent extends BaseMessageComponent {
constructor(data = {}) {
super({ type: 'TEXT_DISPLAY' });
super({ type: 'TEXT_DISPLAY' }, data);
this.content = data.content ?? null;
}