Compare commits

..

No commits in common. "abc55e81a668411b8d0528cb0ce6b79fabbecf10" and "09d344b394b88cc96d10e7531064336da07f43e5" have entirely different histories.

4 changed files with 4 additions and 8 deletions

4
package-lock.json generated
View File

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

View File

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

View File

@ -109,7 +109,6 @@ function onConnect(data, bot) {
}
function onRooms({ rooms, users }, bot) {
console.log('rooms', rooms);
logger.info(`Joined ${rooms.map((room) => room.name).join(', ')}`);
/* eslint-disable no-param-reassign */

View File

@ -1,11 +1,8 @@
const config = require('config');
function onCommand(args, context) {
console.log(context);
context.bot.socket.transmit('message', {
roomId: context.room?.id,
recipient: context.message.user?.username,
roomId: context.room.id,
body: 'Shutting down... :sleeping:',
style: config.style,
});