diff options
| author | Caleb <caleb.mabry.15@cnu.edu> | 2022-08-30 17:14:07 -0400 |
|---|---|---|
| committer | Caleb <caleb.mabry.15@cnu.edu> | 2022-08-30 17:14:07 -0400 |
| commit | c54b4545f663dc2ef4d62626360419a32ecf1f60 (patch) | |
| tree | c87e2f153eb92a633809f0c32a9ce18a6922ce0f | |
| parent | 39861acb94feaed7c7833597b14ab99e5acea42f (diff) | |
Beep bah boop three more down
| -rw-r--r-- | webAO/client.ts | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/webAO/client.ts b/webAO/client.ts index 17065ce..4a1f3f3 100644 --- a/webAO/client.ts +++ b/webAO/client.ts @@ -16,6 +16,9 @@ import vanilla_evidence_arr from "./constants/evidence.js"; import { handleCT } from './packets/handlers/handleCT' import { handleMC } from './packets/handlers/handleMC' import { handleRMC } from './packets/handlers/handleRMC' +import {handleEI} from './packets/handlers/handleEI' +import {handleSC} from './packets/handlers/handleSC' +import {handleCI} from './packets/handlers/handleCI' import chatbox_arr from "./styles/chatbox/chatboxes.js"; import iniParse from "./iniParse"; import getCookie from "./utils/getCookie"; @@ -218,9 +221,9 @@ class Client extends EventEmitter { this.on("CT", handleCT); this.on("MC", handleMC); this.on("RMC", handleRMC); - this.on("CI", this.handleCI.bind(this)); - this.on("SC", this.handleSC.bind(this)); - this.on("EI", this.handleEI.bind(this)); + this.on("CI", handleCI); + this.on("SC", handleSC); + this.on("EI", handleEI); this.on("FL", this.handleFL.bind(this)); this.on("LE", this.handleLE.bind(this)); this.on("EM", this.handleEM.bind(this)); |
