This commit is contained in:
2024-11-14 21:03:08 +01:00
parent 460308d555
commit 821e742527
5 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ export default class ToggleFogCommand {
) {}
public listen(): void {
this.socket.on('chat:send_message', this.handleAlertCommand.bind(this))
this.socket.on('chat:message', this.handleAlertCommand.bind(this))
}
private async handleAlertCommand(data: TypePayload, callback: (response: boolean) => void): Promise<void> {