Did you import Structures like I did above?
const { Structures } = require('discord.js');
Ya, It's in line 2, But when I 'node .' it still doesn't run due to the error
Did you install the master branch of discord.js?
npm install discord.js#master
I tried to but it says that the '#' is an invalid character or smth
Sorry, it's
npm install discordjs/discord.js
And you need git in order for this to work
hello nir, I want to ask what is the purpose of git? and how to install it. sorry i am a beginner
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Did you import Structures like I did above?
const { Structures } = require('discord.js');
Ya, It's in line 2, But when I 'node .' it still doesn't run due to the error
Did you install the master branch of discord.js?
npm install discord.js#master
I tried to but it says that the '#' is an invalid character or smth
Sorry, it's
npm install discordjs/discord.js
And you need git in order for this to work
hello nir,
I want to ask what is the purpose of git? and how to install it. sorry i am a beginner