🚀 Create an ADVANCED Suggestions System (Discord.js)

Sdílet
Vložit
  • čas přidán 7. 09. 2024

Komentáře • 34

  • @aquadev__
    @aquadev__ Před rokem +2

    Hey UnderCntrl, Thanks to these brilliant tutorials I've been able to make a discord bot for my Unversities Computer Science Discord Server.

  • @Erwin_Boy
    @Erwin_Boy Před rokem +2

    Nice one i will defenitly use this for my server where i have my bot running. Keep doing the good work bro

  • @pogjeff42
    @pogjeff42 Před rokem +3

    On pc the progress bar fits perfectly but on mobile the emojis run over by one and create another line with one part of the bar on it. If anyone knows how to fix this then that would be helpful.

    • @UnderCtrl
      @UnderCtrl  Před rokem +2

      You can change the progress bar length in utils/formatResults.js. There’s a variable with the name progressBarLength, just lower it

  • @mh17239
    @mh17239 Před rokem

    Hey, great video, like the others I've learned a ton, it's been so helpful. When your adding imports from discord.js is that from the auto complete or are you just copy and pasting?

  • @breatheairx
    @breatheairx Před 11 měsíci +2

    Hey, amazing video, super helpful. But, in the 'handleSuggestions.js' AND 'formatResults.js' file there's an error: File ${commandFilePath} must export 'data'.

    • @breatheairx
      @breatheairx Před 11 měsíci

      ^ if you can help me, that would be great! thanks

  • @medfouratbaya946
    @medfouratbaya946 Před 5 měsíci

    Hey man is it possible if u could make a tutorial how to make a queue system to a, game or something?

  • @Best_Raul
    @Best_Raul Před rokem +1

    Thanks to you I've learned a lot of things about programming discord bots and JavaScript, before I started to see your tutorials I didn't know nothing about vscode and how it works. Now I am a bit more advanced and I can fix some errors and customize some of the code. Thank you, still doing content, you will get so far! Btw I have a question about the commands, I followed your video of command handler (not the library video) and I don't know how to add the context menu commands and text commands and normal text commands besides of slash commands. May I put them in normal files like the slash commands or what do I have to do? And where may I add a custom Rich Presence with the command handler? Sorry for the question but I still learning, thanks.

    • @UnderCtrl
      @UnderCtrl  Před rokem

      The command handler guide I made doesn't support context menu commands and legacy (message) commands. Considering you said you're a beginner, I'd suggest using the CommandKit library which was used in this video: commandkit.underctrl.io
      For the custom presence you'd usually create that inside your events/ready/ folder since you would want to set a presence status when your bot comes online.
      Thanks and good luck!

  • @notsopro1209
    @notsopro1209 Před 2 měsíci

    i got an error in the console saying upvote is not defined, can you help me

  • @Squl032
    @Squl032 Před rokem +1

    Why I clicked the button and it stuck at the interaction is not a button and the interaction doesn't have a custom id

    • @UnderCtrl
      @UnderCtrl  Před rokem

      Then cross check that you added a custom ID to all your buttons

  • @dinamitas
    @dinamitas Před rokem +1

    Hey, Underctrl, I was wondering what kind of plugins and themes are you using for the VSCode, it looks great!

    • @UnderCtrl
      @UnderCtrl  Před rokem +1

      The theme is the new default of vscode, I believe it’s called Dark Modern. Icon pack is vscode-icons

    • @dinamitas
      @dinamitas Před rokem

      @@UnderCtrl Btw, why didn't you use your own command handler in here?

    • @UnderCtrl
      @UnderCtrl  Před rokem +1

      @@dinamitas it is mine, I made that library

    • @dinamitas
      @dinamitas Před rokem

      @@UnderCtrl So I can use it with djs-commander also?

    • @UnderCtrl
      @UnderCtrl  Před rokem

      @@dinamitas yes

  • @rampageking5009
    @rampageking5009 Před rokem

    Hello Sir , can u check if your bot is successfully running the command to get discord active developer badge.. it suddenly stopped working.. it was working from last few months

  • @mh17239
    @mh17239 Před rokem

    Great video, question, at 10:18 when you start to type new slashCommandBuilder, you have an autocomplete that also does the import command at the top of the file. Mine definitely doesn't do that. How do you get that to work? If you talk about it in a previous vid, I must have missed it. Ive been watching almost all them!

    • @UnderCtrl
      @UnderCtrl  Před rokem

      Honestly that autocomplete works sometimes and sometimes it doesn’t. I never had to change any setting for that.

    • @mh17239
      @mh17239 Před rokem

      ​@@UnderCtrlI thought maybe it was just me, thank you!

  • @VeiTheOne
    @VeiTheOne Před rokem

    What did you use for all those auto completes like the try-catch, and clicking to add something to the import djs block?

    • @UnderCtrl
      @UnderCtrl  Před rokem

      The try-catch auto complete is built into the code editor. Try pressing Ctrl + Space and you'll get some auto complete suggestions.

    • @VeiTheOne
      @VeiTheOne Před rokem

      @@UnderCtrl Ayo, seriously?

  • @vitmalot7824
    @vitmalot7824 Před rokem +1

    Nice work. How do I add to disable voting buttons when rejected. I will be very grateful.

    • @UnderCtrl
      @UnderCtrl  Před rokem +1

      When editing the message AFTER an approve or reject button has been clicked, make sure you empty the components array. Thanks and good luck!

    • @vitmalot7824
      @vitmalot7824 Před rokem

      @@UnderCtrl I originally wanted to use .setDisabled on the voting buttons but this is also a solution. 😉

  • @LiamSirBean
    @LiamSirBean Před rokem

    How's life Under Ctrl

  • @MrCRACK1337
    @MrCRACK1337 Před rokem +1

    First

  • @wamellow
    @wamellow Před rokem +1

    what the 55 minutes

    • @UnderCtrl
      @UnderCtrl  Před rokem +3

      You can blame that one guy in the Discord for that.