make controlChannelId an .env variable
This commit is contained in:
parent
47ae231370
commit
39472fd969
|
@ -1,4 +1,5 @@
|
|||
OBS_PASSWORD=4444
|
||||
tokenAddress=1287981y925hjskklsjatkls
|
||||
DISCORD_TOKEN=21987578912592781598
|
||||
STATS_CHANNEL_ID=982157698127589
|
||||
STATS_CHANNEL_ID=982157698127589
|
||||
controlChannelId=8297368926738979
|
2
main.js
2
main.js
|
@ -12,7 +12,7 @@ const obsWebSocketUrl = 'ws://localhost:4444';
|
|||
const password = process.env.OBS_PASSWORD;
|
||||
|
||||
const discordToken = process.env.DISCORD_TOKEN;
|
||||
const controlChannelId = "1203520978148134953";
|
||||
const controlChannelId = process.env.controlChannelId;
|
||||
let currentToken = process.env.tokenAddress;
|
||||
let statsMessageId = process.env.STATS_MESSAGE_ID || null;
|
||||
const statsChannelId = process.env.STATS_CHANNEL_ID;
|
||||
|
|
Loading…
Reference in New Issue