Learn to make a Discord bot with JavaScript using Node.js from scratch.
* DevDungeon Discord – https://discord.gg/JWsSHJC
* Written Tutorial – https://www.devdungeon.com/content/javascript-discord-bot-tutorial
* Unicode Emojis – https://unicode.org/emoji/charts/full-emoji-list.html
* Official Documentation – https://discord.js.org
Original source
17 responses to “JavaScript Discord Bot Tutorial”
best discord bot tutorial I have seen so far. Thank you Sir!
This is by far the best discord bot beginner tutorial.
'npm' is not recognized as an internal or external command,
operable program or batch file.
HOW DO I FIX THIS? It doesn't change the terminal to node and keeps it to cmd. When I enter the command, it doesn't change to node. I already have node.js
why does node my_bot.js doesnt work
var draw = function(){ text(“Help Me”, 50 50) }; JAVASCRIPT BOIIIII
I did: node mybot.js nothing happened.
I have this error:
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name
, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ npm install discord.js
+ ~~~
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
(Problem fixed cuz i was using the powershell terminal the whole time)
Now it's this:
'npm' is not recognized as an internal or external command,
operable program or batch file.
Just a PSA; when working on the custom command change the "if (arguments.length == 0) {" to "if (arguments.length <= 0) {" if you are having issues, good luck.
help pls http://prntscr.com/ltffai
when i run node bot.js it dose nothing any just adds another line to it
here is what i get: https://hastebin.com/dinuqonama.coffeescript
Thanks for a written tutorial, didn't watch but will like simply bc written tutorials are awesome!
You are a great teacher!
(Don't know if you're aware, I know you're just doing a tutorial) there's a serverchannel property that tells you the ID of #general. Also there's discord.js-commando, is it any good? I appreciate that you read the code outloud.
The node DarnlThomas. Didnt work for me and the }) its says the ) is red
i lov you
Great video! I went looking to make a bot and most videos did not work but this was the only video that did work, keep up the good videos.
This didn't work when I did node (Filename) It didn't work please help.