import { Collection } from '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); };