This commit is contained in:
Tutur33
2024-03-02 21:15:14 +01:00
parent 90da5b1a97
commit 95daf7ef0f
10 changed files with 804 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
const { Collection } = require('discord.js')
const { Client } = require('discord.js-selfbot-v13');
const loadEvents = require("./loadEvents");
const loadCommands = require("./loadCommands");
module.exports = function run(token: string) {
const client = new Client({ checkUpdate: false });
client.events = new Collection();
client.commands = new Collection();
console.log(`${loadEvents(client, '..\\events')} events loaded`);
console.log(`${loadCommands(client, '..\\commands')} commands loaded`);
client.login(token);
};