How to Make a Discord Bot #1 (Discord.js Tutorial)

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • In this video, learn how to set up your first very own Discord bot.
    NOTE: If you're having issues with your configuration file, make sure the file path in the code is preceded with ./ so the line will look like this
    const { TOKEN, ID } = require('./config.json');
    Node.js Download: nodejs.org/en/...
    Discord Dev Portal: / discord
    Help with Discord.js: discordjs.guide/
    Leave a comment if you need help or guidance, and I'll try to respond.
    #fade, #fffadedev, #discordjs, #nodejs, #programming, #discord, #discordbot, #tutorial

КОМЕНТАРІ • 8

  • @kuncung38
    @kuncung38 2 місяці тому +1

    If you gonna continue this until music bot, ill follow your journey!

  • @jewdev
    @jewdev 2 місяці тому

    using atom in 2024 is crazy

  • @85ds
    @85ds Місяць тому

    hey i got issue w the command prompt and when i type F: it says " The system cannot find the drive specified." any other way to do the last part without using command prompt

  • @Godxzy8
    @Godxzy8 2 місяці тому +1

    in the cmd part at the end im getting an error of
    const { TOKEN, ID } - require('./config.json');
    ^^^^^^^^^^^^^^
    SyntaxError: Missing initializer in destructuring declaration
    where may have i gone wrong and how can i fix it

    • @fffade
      @fffade  2 місяці тому

      If I'm reading correctly, it looks like you used a hyphen instead of an equals sign:
      const { TOKEN, ID } = require("./config.json");

  • @HarryDevV
    @HarryDevV 2 місяці тому +1

    theres an error telling me it cant find config.json even though I made it and the setup is just like yours

    • @HarryDevV
      @HarryDevV 2 місяці тому +1

      nevermind, figured out how to fix it. if anyone else is having this issue add "./" behind config.json in the index.js so it would look like "require('./index.js');

    • @fffade
      @fffade  2 місяці тому

      I'll add this to the description