Cleaned up emotePanel.js

This commit is contained in:
rainbow napkin 2025-09-30 04:39:39 -04:00
parent e2020406a7
commit a681bddbf7

View file

@ -27,6 +27,13 @@ class emotePanel extends panelObj{
constructor(client, panelDocument){
super(client, "Emote Palette", "/panel/emote", panelDocument);
this.defineListeners();
}
/**
* Defines network related listeners
*/
defineListeners(){
this.client.socket.on("personalEmotes", this.renderEmoteLists.bind(this));
}