Compare commits
2 Commits
83a18e9377
...
5ec5711288
Author | SHA1 | Date |
---|---|---|
|
5ec5711288 | |
|
c4c2fa8472 |
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.12.2",
|
||||
"version": "1.12.3",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "schat2-clive",
|
||||
"version": "1.12.2",
|
||||
"version": "1.12.3",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"bhttp": "^1.2.8",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "schat2-clive",
|
||||
"version": "1.12.2",
|
||||
"version": "1.12.3",
|
||||
"description": "Game host for SChat 2-powered chat sites",
|
||||
"main": "src/app.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -151,7 +151,7 @@ function onCommand(args, context) {
|
|||
}
|
||||
|
||||
function onMessage(message, context) {
|
||||
const game = games.get(context.room.id);
|
||||
const game = games.get(context.room?.id);
|
||||
|
||||
if (message.type !== 'message' || context.user?.id === config.user?.id) { // stop listening to yourself
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue