diff --git a/index.js b/index.js index f145a0d..551b5d0 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,5 @@ -// const { Client, WebhookClient, MessageEmbed, } = require('discord.js-selfbot-v13'); -const { Client, Attachment, MessageEmbed, Message, Intents, WebhookClient } = require('discord.js'); -const client = new Client({ intents: [Intents.FLAGS.GUILDS, Intents.FLAGS.GUILD_MESSAGES]}); +const { Client, WebhookClient, MessageEmbed, } = require('discord.js-selfbot-v13'); +const client = new Client(); const config = require('./config.json'); if(!config.token) return console.log('No token provided.'); @@ -72,4 +71,4 @@ if(config.channels.includes(message.channel.id)) { } }); -client.login(config.token); \ No newline at end of file +client.login(config.token);