From 9e140505836ceeba84c96d2979ebc764d1a0d3db Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sat, 3 Jul 2021 20:50:26 +0300 Subject: [PATCH] stash commit --- package.json | 2 +- src/types/message.ts | 17 +++++++++-------- 2 files changed, 10 insertions(+), 9 deletions(-) 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' } /**