Open vbondarets opened 1 year ago
I got this error while trying to run app.js file
const Discord = require('discord.js'); const allowUserBotting = require('discord.js.userbot'); const client = new Discord.Client({ intents: [ Discord.GatewayIntentBits.Guilds, Discord.GatewayIntentBits.GuildMessages ]}) // Remember to set correct node_modules_path if it's not working. allowUserBotting(client); client.login('my_token');
client.on('ready', () => { console.log(Logged in ${clien.user.tag}) })
Logged in ${clien.user.tag}
And I also tried to add node.modules path but it didn't help
I got this error while trying to run app.js file
const Discord = require('discord.js'); const allowUserBotting = require('discord.js.userbot'); const client = new Discord.Client({ intents: [ Discord.GatewayIntentBits.Guilds, Discord.GatewayIntentBits.GuildMessages ]}) // Remember to set correct node_modules_path if it's not working. allowUserBotting(client); client.login('my_token');
client.on('ready', () => { console.log(
Logged in ${clien.user.tag}
) })