Simplified chatMetadata based classes.
This commit is contained in:
parent
b8de76b448
commit
db3ec58ad9
3 changed files with 9 additions and 13 deletions
|
|
@ -27,12 +27,7 @@ class chat extends chatMetadata{
|
|||
*/
|
||||
constructor(user, flair, highLevel, msg, type, links){
|
||||
//Call derived constructor
|
||||
super(flair, highLevel, msg, type, links);
|
||||
|
||||
/**
|
||||
* User who sent the message
|
||||
*/
|
||||
this.user = user;
|
||||
super(user, flair, highLevel, msg, type, links);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue