Add dotenv configuration to multiple files for environment variable management

This commit is contained in:
Adam Iannazzone 2026-02-07 15:43:08 -05:00
parent cfc6084602
commit 0a5dadb610
4 changed files with 9 additions and 0 deletions

View file

@ -10,5 +10,8 @@
},
"dependencies": {
"discord.js": "^14.16.3"
},
"overrides": {
"undici": "^6.23.0"
}
}

View file

@ -1,3 +1,5 @@
require('dotenv').config();
const { REST, Routes } = require('discord.js');
const { command } = require('./commands/claim-donation');

View file

@ -1,3 +1,5 @@
require('dotenv').config();
const { Client, GatewayIntentBits, Events } = require('discord.js');
const { handleCommand, handleModal, MODAL_ID } = require('./commands/claim-donation');
const { getAccessToken, TOKEN_PATH } = require('./services/token-store');

View file

@ -1,3 +1,5 @@
require('dotenv').config();
const http = require('node:http');
const crypto = require('node:crypto');
const { execSync } = require('node:child_process');