Code A Discord Bot in Less Than 40 mins - Full Tutorial in 1 Single Video (NO EXPERIENCE REQUIRED)

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 16

  • @EvenMoreCode
    @EvenMoreCode  4 дні тому +1

    I’m finally back after disappearing for a while!
    I’m looking forward to making more high quality videos, please comment any suggestions for content that you want to see from me!

  • @cool_HABIBI
    @cool_HABIBI 4 дні тому

    no way bro is back

  • @ayero.
    @ayero. 4 дні тому

    He’s backkk😭🙏

  • @Phage-
    @Phage- 4 дні тому

    The legend is back!

  • @JakobsMusicCorner
    @JakobsMusicCorner 4 дні тому

    Welcome back! Are you going to be posting more often again?

    • @EvenMoreCode
      @EvenMoreCode  4 дні тому

      Yes sir! Let me know if you have any requests for future topics I should cover

  • @j4kloes
    @j4kloes 3 дні тому

    Hey! I have just made my discord bot but my commands dont show on the server. Any ideas on why?

    • @EvenMoreCode
      @EvenMoreCode  3 дні тому

      Hey! Did you deploy your commands? 28:33 is where we deploy the commands in the video

    • @j4kloes
      @j4kloes День тому

      @@EvenMoreCode now having issues with keeping bot up, ping keeps going down

    • @EvenMoreCode
      @EvenMoreCode  День тому

      @@j4kloes What do you mean ping keeps going down? Like you lose internet?

  • @sebas9111
    @sebas9111 13 годин тому

    client.commands = new Collection();
    ^
    ReferenceError: Collection is not defined, i get this error when i try to reload the bot at the very end

    • @EvenMoreCode
      @EvenMoreCode  13 годин тому +1

      Hmm are you importing “Collection” from “discord.js” on line 3?

    • @sebas9111
      @sebas9111 13 годин тому

      i think i fixed all my errors but now its giving
      const commandFiles = fs.readdirSync(commandsPath).filter(file.endswith('.js'));
      ^
      ReferenceError: file is not defined

    • @EvenMoreCode
      @EvenMoreCode  5 годин тому

      The line filtering out all the non javasxript files should be interating through the files, so this line should be modified to be like this:
      fs.readdirSync(commandsPath).filter(file => file.endswith(‘.js’));
      Notice the difference inside the .filter

    • @sebas9111
      @sebas9111 5 годин тому

      @@EvenMoreCode lifesaver i’ll fix it when i get home and see if i get any other errors