Files
selfbot-discord/main.ts
T
2024-03-02 21:15:14 +01:00

13 lines
325 B
TypeScript

require('dotenv').config()
const run = require("./fonctions/run");
const runAsync = async () => {
if (process.env.TOKENS) {
const tokens = process.env.TOKENS.split(',');
Promise.all(tokens.map(token => run(token)));
} else {
console.error("Environment variable 'TOKENS' is not defined.");
}
};
runAsync();