Simplified chatMetadata based classes.

This commit is contained in:
rainbow napkin 2025-10-24 00:26:29 -04:00
parent b8de76b448
commit db3ec58ad9
3 changed files with 9 additions and 13 deletions

View file

@ -27,12 +27,7 @@ class message extends chatMetadata{
*/
constructor(user, recipients, flair, highLevel, msg, type, links){
//Call derived constructor
super(flair, highLevel, msg, type, links);
/**
* Name of user who sent the message
*/
this.user = user;
super(user, flair, highLevel, msg, type, links);
/**
* Array of usernames who are supposed to receive the message