11 lines
291 B
JavaScript
11 lines
291 B
JavaScript
const dotenv = require("dotenv");
|
|
const path = require("path");
|
|
|
|
// Carica il file .env dalla root del plugin
|
|
dotenv.config({ path: path.resolve(__dirname, "..", ".env"), quiet: true });
|
|
|
|
const config = {
|
|
telegramBotToken: process.env.TELEGRAM_BOT_TOKEN,
|
|
};
|
|
|
|
module.exports = { config }; |