#i have no idea what im doing.. (visual studio code)

1 messages · Page 1 of 1 (latest)

scarlet shard
#

hi um i literally just started coding (3 hours ago), i'm trying to learn how to make custom discord bots as like a side project for some extra cash. i've been watching a lot of youtube videos and its telling me on visual studio code to use the thingy " npm init -y" but it says its not recognizable and i dont know what to do. i tried looking it up and going on reddit and stuff, even asking my other friends who code and i still havent gotten an answer can someone help me out tiktok_sweat_nervous

https://www.youtube.com/watch?v=JMmUW4d3Noc&t=147s this is the main video i'm going off of by the way! if anyone could help that would be greatly appreciated thanks !!!

Learn how to create and setup your own Discord bot with Discord JS v13.
🔥 Source code download ➡ https://wornoffkeys.com/code?yt=JMmUW4d3Noc
🧠 Learn website dashboards + bot monetization ➡ https://levelupyourbot.com

🙋‍♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord

📺 Watch more Discord.JS videos here:
https://wornof...

▶ Play video
molten crane
#

language you use?

#

There is for many different languages APIs for discord bots.
big examples are based on node.js (javascript), or python.
(the ones i saw ons earches so far)

scarlet shard
molten crane
#

thats what you need to decide before you start 😉

gusty falcon
#

yep, it's javascript (js)

molten crane
#

gimme a sec, i started that once too, a whil ago

gusty falcon
#

and JavaScript is a coding language

gusty falcon
#

like in the tutorial

molten crane
#

npm is a package installer.
So you are not stuck at the bot, but basically at the initial setup of your system for it.

Yes thats the most painful IMO.
Can you point out till where you have followed the tutorial and it worked for you?
(also that version is outdated i think, yeah 14.8 is the current version)

here is the docs written step by step also:
https://discordjs.guide/

scarlet shard
scarlet shard
#

im using visual studio code currently like in the video but i still have node js installed

molten crane
#

ahh i think the problem may be the environment vs code runs it in...
hmm..
ive heared of similiar problems on setting up stuff with VS Code, thast why i never used it :/
I wrote my bot with notepad++ and just starting it via console 😂

scarlet shard
molten crane
#

if you are stuck on setting up your environment, allways look from the start, till you get where you are.
Sometimes small steps are overseen

#

or different for newer versions

#

but sadly thats all help can give for now, cuz need to push on my own project a lot. GL tho!