make controlChannelId an .env variable

This commit is contained in:
Wizzard 2024-03-02 19:12:59 -05:00
parent 47ae231370
commit 39472fd969
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
OBS_PASSWORD=4444 OBS_PASSWORD=4444
tokenAddress=1287981y925hjskklsjatkls tokenAddress=1287981y925hjskklsjatkls
DISCORD_TOKEN=21987578912592781598 DISCORD_TOKEN=21987578912592781598
STATS_CHANNEL_ID=982157698127589 STATS_CHANNEL_ID=982157698127589
controlChannelId=8297368926738979

View File

@ -12,7 +12,7 @@ const obsWebSocketUrl = 'ws://localhost:4444';
const password = process.env.OBS_PASSWORD; const password = process.env.OBS_PASSWORD;
const discordToken = process.env.DISCORD_TOKEN; const discordToken = process.env.DISCORD_TOKEN;
const controlChannelId = "1203520978148134953"; const controlChannelId = process.env.controlChannelId;
let currentToken = process.env.tokenAddress; let currentToken = process.env.tokenAddress;
let statsMessageId = process.env.STATS_MESSAGE_ID || null; let statsMessageId = process.env.STATS_MESSAGE_ID || null;
const statsChannelId = process.env.STATS_CHANNEL_ID; const statsChannelId = process.env.STATS_CHANNEL_ID;