🌟 CommandKit for Beginners - Discord.js Command & Event Handler

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 23

  • @ryanhmd8305
    @ryanhmd8305 Рік тому +1

    Wow, that's great! I remember your video on how to create an event handler, and knowing you've created a complete package to do it is a time saver. This will make my project much clearer. Thank you so much!

  • @musprodev
    @musprodev Рік тому +2

    You’re just one of the best JS devs

  • @euzyur
    @euzyur Рік тому

    After I discovered your channel, I significantly improved my programming. KEEP IT UP, you're amazing.

  • @cesarheuvelmans
    @cesarheuvelmans Рік тому

    Learning how to code discord bots with discordjs, this package is an absolute gamechanger! Thank you so much!
    You're also very good at explaining things in a logical manner. You have every point you want to discuss ready beforehand and get straight to the points without hopping from this to that. The Only thing I might think would help me learning whille watching your videos is; having title screens in between each chapter or 'step' which you're going to explain next. And prehaps also a title with which steps we're going to be discussing this video. It would allow my brain a pause of watching you do stuff in VSC and be like: "Oh, ok, we're heading into a next step, so I should pause here and recap if I didn't understand". Cause right now it's a bit too much of a constant stream of info.

    • @UnderCtrl
      @UnderCtrl  Рік тому +3

      Thanks for the feedback. I’ll definitely work on better structuring videos in the future

  • @kio2gamer
    @kio2gamer Рік тому +1

    its such a headache saver ngl

  • @m1dev
    @m1dev Рік тому

    Awesome vid as always!

  • @aoofer895
    @aoofer895 Рік тому

    Hey man, good job on making this tutorial it was really good but I have an idea for the next or after the next tutorial or video: You could make a tutorial on how to make advanced polls in discord.js with datasaving, discord buttons and percentages showing which one has more or less votes than the other. Have a good day and good luck with future tutorials!

  • @ntc_too
    @ntc_too Рік тому +1

    It works really good but the only sad part is when making a slash-command you can no longer use the auto complete (/**).

  • @violet_alex
    @violet_alex Рік тому

    Amazing, Keep it up ♥

  • @XStarReviews
    @XStarReviews Рік тому +1

    This video was perfect timing for me as I was looking for an easy way to keep my code organized! I hope this isn't a dumb question but, how did you get your terminal to start with commandkit before you entered stuff in the terminal? I'm still using powershell. Thank you in advance and if I figure it out I'll post the answer here

    • @XStarReviews
      @XStarReviews Рік тому

      On second thought, using "nodemon" works so I probably won't dig too deep on this lol

    • @UnderCtrl
      @UnderCtrl  Рік тому +1

      Thanks! I just hit the up arrow key to bring up the last used command

  • @imzackbtw
    @imzackbtw 10 місяців тому

    i am getting this error:
    TypeError: Cannot read properties of undefined (reading 'fetch')
    at registerDevCommands (C:\Users\user\OneDrive\Desktop\user\Code\bot
    ode_modules\commandkit\dist\index.js:303:32)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

  • @dan-chi2920
    @dan-chi2920 11 місяців тому

    Holy shit, thank U, now I know wtf that error was

  • @ShadowGamesCorp
    @ShadowGamesCorp 11 місяців тому

    hey bro loved the vid! do you think you can make another more in depth guide? that would be amazing

  • @blackmeet5546
    @blackmeet5546 Рік тому

    Can you pls expl. how to Code an command for creating Scheduls (events) with that discord Event Feature

  • @DemonX82
    @DemonX82 7 місяців тому

    How to use it with messageUpdate ?

  • @berrie8500
    @berrie8500 11 місяців тому

    Hi Dude, nice vids! im wondering how i can put de code for the reload also in validations en events? What do i need to add in the folders/file?

    • @UnderCtrl
      @UnderCtrl  11 місяців тому

      The reloading is handled by the "handler" object which you can get from the parameters in your event functions, and you can destructure it as "handler" in your validation function parameter.
      Resources:
      Events parameters explained: commandkit.js.org/guide/event-file-setup#parameters-explained
      Validation parameters explained: commandkit.js.org/guide/validation-file-setup#parameters-explained
      From there you can just reload commands, events, or validations using their appropriate methods e.g. handler.reloadCommands()

  • @TheOfficial_Elias
    @TheOfficial_Elias 10 місяців тому

    How do i connect MongoDB to it?

  • @jagi7976
    @jagi7976 Рік тому

    hey dude great videos. how would you set up parameters like a "/add 4 6" type of thing, using CommandKit?

    • @jagi7976
      @jagi7976 Рік тому

      Found it, the tutorial before this one about Autocomplete has a good example
      Thanks for the tutorials bro they've been super helpful