discord-client/webpack/lib/content-controller.js

22 lines
414 B
JavaScript
Raw Normal View History

2018-03-22 13:57:03 +00:00
export class ContentController{
/* (1) Construct default attributes
*
---------------------------------------------------------*/
constructor(){
/* (1) Initialize content data */
this.messages = [];
this.users = [];
}
/* (2) Getters
*
---------------------------------------------------------*/
get cid(){ return gs.get.channel.current; }
get rid(){ return gs.get.room.text.current; }
}