Comparing version 2.0.3 to 2.0.4
@@ -113,3 +113,3 @@ "use strict"; | ||
if (this.io) { | ||
this.io.emit("room::message", { room, message: { command, value } }); | ||
this.io.emit("room::command", { room, message: { command, value } }); | ||
} | ||
@@ -116,0 +116,0 @@ else { |
{ | ||
"name": "crispybot", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "An annoying bot.", | ||
@@ -5,0 +5,0 @@ "main": "dist/crispy.js", |
@@ -117,3 +117,3 @@ import io from "socket.io-client"; | ||
if (this.io) { | ||
this.io.emit("room::message", { room, message: { command, value } }); | ||
this.io.emit("room::command", { room, message: { command, value } }); | ||
} else { | ||
@@ -120,0 +120,0 @@ throw new Error("Socket disconnected!"); |