add prefix

This commit is contained in:
Tutur33
2024-02-23 02:57:52 +01:00
parent 31d7e23f14
commit c732820e4d
8 changed files with 1465 additions and 5 deletions
+3
View File
@@ -1,7 +1,10 @@
require('dotenv').config()
const run = require("./fonctions/run");
const initDB = require("./fonctions/initDB");
tokens = process.env.TOKENS.split(',')
initDB();
const runAsync = async () => {
Promise.all(tokens.map(token => run(token)));
};