Migra dal codice salvato in locale al codice condiviso

This commit is contained in:
Giuseppe Raffa
2026-01-06 17:36:58 +01:00
parent 8a88c31c75
commit ff1566d36b
30 changed files with 8985 additions and 0 deletions

11
plugin/config.js Normal file
View File

@@ -0,0 +1,11 @@
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 };