JavaScript Discord Bot Tutorial




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”

  1. '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

  2. 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.

  3. (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.

Leave a Reply