mirror of
https://github.com/darksaid98/cadence-discord-bot.git
synced 2026-12-03 22:15:37 +00:00
fix: Fix .ENV file not being properly loaded
This commit is contained in:
1 parent
6999598c87
commit
1220ef171f
2 files changed
+8
-3
No files matched your search
+4
-1
@@ -1,6 +1,9 @@
|
||||
// .ENV file is loaded automatically by dotenv
|
||||
import 'dotenv/config';
|
||||
|
||||
// Only after loading .ENV file, we can load other modules
|
||||
import { Player } from 'discord-player';
|
||||
import { Client } from 'discord.js';
|
||||
import 'dotenv/config';
|
||||
import { randomUUID as uuidv4 } from 'node:crypto';
|
||||
import { Logger } from 'pino';
|
||||
import loggerModule from './services/logger';
|
||||
|
||||
Reference in new issue
Block a user