mirror of
https://github.com/arthur-pbty/selfbot-discord.git
synced 2026-06-03 15:07:35 +02:00
13 lines
325 B
TypeScript
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(); |