Compare commits

...

2 Commits

Author SHA1 Message Date
ThePendulum 497e52be38 1.5.19 2021-11-29 18:44:48 +01:00
ThePendulum e614cd4b1c Checking message user exists before checking ID in Trivia. 2021-11-29 18:44:44 +01:00
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "schat2-clive",
"version": "1.5.18",
"version": "1.5.19",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "schat2-clive",
"version": "1.5.18",
"version": "1.5.19",
"license": "ISC",
"dependencies": {
"bhttp": "^1.2.8",

View File

@ -1,6 +1,6 @@
{
"name": "schat2-clive",
"version": "1.5.18",
"version": "1.5.19",
"description": "Game host for SChat 2-powered chat sites",
"main": "src/app.js",
"scripts": {

View File

@ -166,7 +166,7 @@ function onCommand(args, context) {
}
async function onMessage(message, context) {
if (!game || context.user.id === config.user.id) {
if (!game || context.user?.id === config.user?.id) {
return;
}