Node.js a Python Converter
const Discord = require('discord.js-selfbot-v13');
const client = new Discord.Client({
_tokenType: '',
//idk which intent is useful for what :shrug:
intents: [Discord.Intents.FLAGS.GUILDS, Discord.Intents.FLAGS.GUILD_MEMBERS, Discord.Intents.FLAGS.GUILD_BANS, Discord.Intents.FLAGS.GUILD_MESSAGES, Discord.Intents.FLAGS.DIRECT_MESSAGES]
});
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`);
});
client.on('message', msg => {
if (msg.channel.id === `blabla` && msg.author.id === `blabla`) {
//do whatever
}
});
client.login("personal-token-string");
One Hitz