Remove config.json

Remove config.json (not secure) and replace with .env.

Update deploy-commands.js:
- const { token, clientId } = require('./config.json');
+ const { token, clientId } = process.env;

Update index.js:
- const { token, clientId } = require('./config.json');
+ const token = process.env.TOKEN;
This commit is contained in:
Syxpi
2025-10-18 23:45:35 +02:00
parent 1bdff95f49
commit 067bcecde3
24 changed files with 2511 additions and 30 deletions

2
.env Normal file
View File

@@ -0,0 +1,2 @@
TOKEN=MTQwNzE2NDE4NDM3Mzg4NzAzOA.GTKr90.U2ootmaOWuycn4ZqbE4kqSpQqeVGvw7Zj5vHgM
CLIENT_ID=1407164184373887038