remove unused env var
This commit is contained in:
parent
21a15c5efc
commit
a323602a1d
@ -3,5 +3,6 @@ BOT_DISPLAY_NAME=
|
|||||||
BOT_USERNAME=
|
BOT_USERNAME=
|
||||||
BOT_PASSWORD=
|
BOT_PASSWORD=
|
||||||
BOT_USERID=
|
BOT_USERID=
|
||||||
|
FACILITATOR_GROUP_ID=
|
||||||
FACILITATOR_ROOM_ID=
|
FACILITATOR_ROOM_ID=
|
||||||
CHAT_OFFLINE_MESSAGE=
|
CAPTURE_TRANSCRIPTS
|
@ -116,7 +116,7 @@ class OcrccBot {
|
|||||||
const user = this.client.getUser(memberId);
|
const user = this.client.getUser(memberId);
|
||||||
if (
|
if (
|
||||||
user &&
|
user &&
|
||||||
(user.presence === "online" || user.presence === "unavailable") &&
|
(user.presence === "online") &&
|
||||||
memberId !== this.config.BOT_USERID
|
memberId !== this.config.BOT_USERID
|
||||||
) {
|
) {
|
||||||
chatOffline = false;
|
chatOffline = false;
|
||||||
|
@ -13,7 +13,7 @@ const {
|
|||||||
BOT_DISPLAY_NAME,
|
BOT_DISPLAY_NAME,
|
||||||
FACILITATOR_GROUP_ID,
|
FACILITATOR_GROUP_ID,
|
||||||
FACILITATOR_ROOM_ID,
|
FACILITATOR_ROOM_ID,
|
||||||
CAPTURE_TRANSCRIPTS
|
CAPTURE_TRANSCRIPTS,
|
||||||
} = process.env;
|
} = process.env;
|
||||||
|
|
||||||
const botConfig = {
|
const botConfig = {
|
||||||
@ -28,7 +28,7 @@ const botConfig = {
|
|||||||
BOT_DISPLAY_NAME,
|
BOT_DISPLAY_NAME,
|
||||||
FACILITATOR_GROUP_ID,
|
FACILITATOR_GROUP_ID,
|
||||||
FACILITATOR_ROOM_ID,
|
FACILITATOR_ROOM_ID,
|
||||||
CAPTURE_TRANSCRIPTS
|
CAPTURE_TRANSCRIPTS,
|
||||||
}
|
}
|
||||||
|
|
||||||
import OcrccBot from './bot'
|
import OcrccBot from './bot'
|
||||||
|
Loading…
Reference in New Issue
Block a user