Compare commits

...

2 Commits

Author SHA1 Message Date
ThePendulum dc8830feea 1.8.2 2022-10-20 00:07:50 +02:00
ThePendulum ec1fc7b553 Fixed point initation. 2022-10-20 00:07:48 +02:00
5 changed files with 8 additions and 5 deletions

View File

@ -7,6 +7,9 @@ module.exports = {
username: 'Aisha',
realName: 'Aisha',
},
style: {
color: 'var(--message-56)',
},
operators: ['admin'],
server: 'irc.libera.chat',
port: 6697,

4
package-lock.json generated
View File

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

View File

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

View File

@ -1,7 +1,7 @@
'use strict';
const config = require('config');
const irc = require('irc-upd');
const irc = require('irc');
const logger = require('simple-node-logger').createSimpleLogger();
const { argv } = require('yargs');
// const timers = require('timers/promises');

View File

@ -22,7 +22,7 @@ async function initPoints(identifier) {
logger.info('Creating new points file');
await fs.writeFile(`./points-${identifier}.json`, '{}');
initPoints();
await initPoints(identifier);
}
}
}