diff --git a/package.json b/package.json index abd64e6..1b1993c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@squeebot/core", - "version": "3.3.0", + "version": "3.3.1", "description": "Squeebot v3 core for the execution environment", "main": "lib/index.js", "module": "lib/", diff --git a/src/types/message.ts b/src/types/message.ts index 4db0860..93ca7a1 100644 --- a/src/types/message.ts +++ b/src/types/message.ts @@ -1,14 +1,15 @@ import { Protocol } from './protocol'; export enum EMessageType { - message = 0, - roomJoin = 1, - roomLeave = 2, - roomKick = 3, - nameChange = 4, - edit = 5, - protocolStart = 6, - protocolExit = 7, + message = 'message', + roomJoin = 'room_join', + roomLeave = 'room_leave', + roomKick = 'room_kick', + nameChange = 'name_change', + edit = 'edit', + protocolStart = 'protocol_start', + protocolExit = 'protocol_exit', + custom = 'custom' } /**