Compare commits

...

2 Commits

Author SHA1 Message Date
Niels Simenon b791147ce0 1.26.3 2023-04-11 01:31:14 +02:00
Niels Simenon 29ce536ffd Fixed IRC message target. 2023-04-11 01:31:12 +02: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.26.2",
"version": "1.26.3",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "schat2-clive",
"version": "1.26.2",
"version": "1.26.3",
"license": "ISC",
"dependencies": {
"better-sqlite3": "^8.3.0",

View File

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

View File

@ -118,7 +118,7 @@ async function getGames(bot, identifier) {
const curatedBody = curateMessageBody(body, game, key, options);
if (config.platform === 'irc') {
bot.client.say(roomId || recipient, curatedBody);
bot.client.say(/^#/.test(roomId) ? roomId : recipient, curatedBody);
}
if (config.platform === 'schat') {