diff --git a/src/bot.js b/src/bot.js index 82c9046..efe5da1 100644 --- a/src/bot.js +++ b/src/bot.js @@ -126,8 +126,7 @@ class OcrccBot { if (chatOffline) { logger.log('info', "NO FACILITATORS ONLINE") - this.sendTextMessage(roomId, this.config.CHAT_OFFLINE_MESSAGE); - this.sendNotice(roomId, "Chat is offline") + this.sendNotice(roomId, "CHAT_OFFLINE") } } catch(err) { diff --git a/src/index.js b/src/index.js index 1a4d72b..eedd890 100644 --- a/src/index.js +++ b/src/index.js @@ -13,7 +13,6 @@ const { BOT_DISPLAY_NAME, FACILITATOR_GROUP_ID, FACILITATOR_ROOM_ID, - CHAT_OFFLINE_MESSAGE, CAPTURE_TRANSCRIPTS } = process.env; @@ -29,7 +28,6 @@ const botConfig = { BOT_DISPLAY_NAME, FACILITATOR_GROUP_ID, FACILITATOR_ROOM_ID, - CHAT_OFFLINE_MESSAGE, CAPTURE_TRANSCRIPTS }