Command Handler + Help Command | How to make a Discord Bot Without Downloading Anything

  Рет қаралды 59,673

Imagine Gaming Play

Imagine Gaming Play

2 жыл бұрын

In this video, we'll learn how to make a Command Handler and a help command for that handler!
Command handling is a way to organize your commands into different files so you don't have to worry about finding them in the mountains of code and you will also be able to keep your index.js clean.
We'll also cover an automated help command for that handler like if there's a new command, the help command will automatically add that.
Psst! there's also a bonus command in this video!
Watch the first part of the series:-
• How to make a Discord ...
Learn how to build & customize your own embeds and send them through your discord bot, it is also a part of this series:-
• Everything about Disco...
if you're struggling with something, join my discord server:-
/ discord
Channel Members/Donators
--
Loving my content? wanna support?
How about joining my channel membership, you'll receive amazing perks and I would be able to get some coffee too!
/ @imaginegamingplay
My socials, if you wanna talk:
Discord: / discord
Github: github.com/imaginegamingplay (I don't put source code there)
Instagram: / imaginegamingplay
Website: imagine.cf
Tags:-
discord.js
command handler
discord js v13 command handler
discord bot
thiscord bot command handler
command handling v13
command handler with help command
Thank you so much for watching, I'll see you in the next video.
Bye-bye!

Пікірлер: 380
@angliesmonoksidas
@angliesmonoksidas 2 жыл бұрын
Your videos are always so helping. Don't stop making them. You are legend!
@prabhatbhatia1974
@prabhatbhatia1974 2 жыл бұрын
I made my first bot inspired by you. Now my bot is very nice and had reached 78 servers. You keep growing. Best of Luck
@guardianpromotions6421
@guardianpromotions6421 2 жыл бұрын
How
@Thepylonzmbie
@Thepylonzmbie 2 жыл бұрын
What's your bot?
@etannn
@etannn 2 жыл бұрын
This is such a good series, it has helped me develop useful and amazing bots just using 1 video and 10 cups of coffee! I hope this never ends, not only does it guide you, but it also inspires you to make more and more bots and stuff!
@HighPingGamerSK
@HighPingGamerSK 4 ай бұрын
lol, 10 cups of coffe, you go brrrrrrrrrrrrrrrrrrrrrrrrrr
@pixelgames406
@pixelgames406 2 жыл бұрын
Thanks for the next part! You have very good editing and everyone sees, that you spend time on that. Cant wait for part 4. For the next part, i would like to see Moderator - Kick, ban, control spaming and more or Join and Leave messages. yk. Btw good Content and i thing that you will blow up!
@andromeda16384
@andromeda16384 2 жыл бұрын
Thank you for explaining every single line and what it does!
@yako2646
@yako2646 2 жыл бұрын
Love you videos keep it up
@OmgRodYT
@OmgRodYT 2 жыл бұрын
You are the only one whose code works! Thank you!
@alphamystical
@alphamystical 2 жыл бұрын
Thanks for this awesome tutorial! Really enjoyed it!
@SuitedAgent
@SuitedAgent Жыл бұрын
thanks ive been struggiling to find one and it was also really helpful when u explained most of it keep going
@PandeyAbhinavKumar
@PandeyAbhinavKumar 2 жыл бұрын
I was Waiting For this video
@10t3w2
@10t3w2 2 жыл бұрын
Love your videos and thanks for making this video
@zeko6389
@zeko6389 2 жыл бұрын
I used to make bots from your older tutorials and this new ones are 10x better!
@ImagineGamingPlay
@ImagineGamingPlay 2 жыл бұрын
On a scale of one to ten how much did I improve since the last videos
@nihal2659
@nihal2659 2 жыл бұрын
@@ImagineGamingPlay imma just go ahead and ay 11
@tienhoanggg
@tienhoanggg 2 жыл бұрын
best tutorial ever, thanks to you and your editor
@mfyz_0
@mfyz_0 2 жыл бұрын
FINALLY!!!, i have been waiting for this!! also the next time, try making a rob command and many more economy cmds. it would be nice!
@ayen7564
@ayen7564 2 жыл бұрын
thankyou! I just started and your videos are very helpful.
@ItsPepperTV
@ItsPepperTV 2 жыл бұрын
its also optional to use run: async(client, message, args) or async execute(client, message, args) but this is for a more complex handler
@yackennethxu
@yackennethxu Жыл бұрын
I'm hyped for part 4 even thought it's been a year
@ARYANBG
@ARYANBG 2 жыл бұрын
Great video :)) thanks tired of seeing other videos
@m_i_a_edits
@m_i_a_edits Жыл бұрын
Hey I love this series pls don't end it, it helped me a lot but I don't know how to code so could you make more parts adding more commands? Like economy, administration....
@Friend1
@Friend1 2 жыл бұрын
Bro this helped me sooooooo much idk how to thank you for this :DDD
@GLiTCheD-OUT
@GLiTCheD-OUT 2 жыл бұрын
this worked! thanks so much!
@semasebc8435
@semasebc8435 2 жыл бұрын
Can you make moderation commands and bot status in the next part? Keep making this awesome videos.
@DrakeZee
@DrakeZee 2 жыл бұрын
Keep it up with editing skills!
@FLaMEBoY07
@FLaMEBoY07 2 жыл бұрын
Legend is back
@Dyn0Official
@Dyn0Official 2 жыл бұрын
Igp I remember watching you since 500 subs When I was stupid and I was not knowing anything related to coding, Now my bot is in 55+ servers And my bot has dashboard & mongodb because of you!
@RomRomChoppa
@RomRomChoppa Жыл бұрын
Same here I Started watching since first vid
@bloxfruitsalt879
@bloxfruitsalt879 Жыл бұрын
Any of you guys appriciate how much work he puts in his vis
@MrBucket77
@MrBucket77 2 жыл бұрын
Yes, made more Commands and Tutorials!!!
@DameGami-mv8lh
@DameGami-mv8lh 2 жыл бұрын
after watching ✋ 🤚 many videos the only video i could successfully understand is this one :) thanks a lot
@ViridianKnightt
@ViridianKnightt 2 жыл бұрын
I love your videos, they've been such great help. Could make a video and show us how to make our bots greet new users when they join a server? If possible I'd like for my robot to DM users and welcome them. Keep up the good work!
@goldkup448
@goldkup448 2 жыл бұрын
Your video's are very helpful, I was wondering if you could do a video for how to create auto moderation and auto levelling system.
@JonLeonard
@JonLeonard 2 жыл бұрын
Hello! I just want to ask a question. How do I add a new line of text that is not code? Like text that is the respond of the bot to a command
@ImagineGamingPlay
@ImagineGamingPlay 2 жыл бұрын
@basicallyalias
@basicallyalias 2 жыл бұрын
// or
@prabhatbhatia1974
@prabhatbhatia1974 2 жыл бұрын
Finnally imagine found his channel and thought to use cmd handler. Nice
@TarMairon4854
@TarMairon4854 2 жыл бұрын
Hello sir! I want you to make a video on moderation which includes Warn, Mute, Kick, Ban, Reaction Roles, giveaways, and all. This will help everyone. Thank You and I hope you consider this. Anyhow, You are the best and keep making these videos.
@goldkup448
@goldkup448 2 жыл бұрын
I agree:)
@luxuryva
@luxuryva Жыл бұрын
i also agree
@r7opex
@r7opex Жыл бұрын
Same gere
@user-mbfhe73vdudpenaldog-gj1qq
@user-mbfhe73vdudpenaldog-gj1qq 8 ай бұрын
Warn, mute, kick and ban are easy but reaction roles.... Eh
@ytsg_shadow
@ytsg_shadow 2 жыл бұрын
I have a question can you make a part 4 of this series and tell us how to let a bot notifies people that a new video has been uploaded from or like this creator is streaming on any app like YT and sends a link to the vid or stream Please and keep on with the great work and don’t stop 😀
@janzukatami4492
@janzukatami4492 2 жыл бұрын
It so good!thank you!
@naziaperween8554
@naziaperween8554 2 жыл бұрын
yes please make a series in JavaScript
@pipedreams.
@pipedreams. 2 жыл бұрын
AMAZING! What are you doing for Part 4?
@BlackkPool3869
@BlackkPool3869 2 жыл бұрын
Your bot voice is amazing
@gunweizard6125
@gunweizard6125 2 жыл бұрын
I'd love to see a javascript series :)
@its_rooney
@its_rooney 2 жыл бұрын
I hope my comment gets notice ehe. Anyways I read some of the comments and I oso want you to make a turtorial on how to make welcome bots like they welcome them automatically. I wouldnt force you to doing too much to stress you out but ur videos inspired me to make a bot.
@maraudersupply9945
@maraudersupply9945 Жыл бұрын
Great videos, would be interested in seeing how you could have some sort of database that this bot can link to, as an example: a file that the bot can read and write to that holds column of server members names, and a column of values (example: a log for handling loot split payouts in a guild, i.e. who is owed what amount).
@jay9321
@jay9321 Жыл бұрын
Yes do a javascript series PLEASE
@kriskiril2224
@kriskiril2224 2 жыл бұрын
Perfect video.You can make a video how to make commands only work for specific roles and how to generate random codes and come to private message
@ubomb1242
@ubomb1242 2 жыл бұрын
If you could make a tutorial on economy (bal and daily commands) it would be really helpful, please do that
@szymonkorzeyt
@szymonkorzeyt 2 жыл бұрын
epic job, from your server Yung Losia
@banyun123
@banyun123 2 жыл бұрын
Your videos are so good! Can you make a video about how to let the bot create category and channels?
@Glowing1234
@Glowing1234 2 жыл бұрын
WE NEED MORE VIDEOS!
@Asiynn
@Asiynn 2 жыл бұрын
A better help command with different sections would be nice. Also how to have multiple folders and be able to use all of them to not have the commands folder too crowded
@itzdasrijan4899
@itzdasrijan4899 2 жыл бұрын
yeah make series on js pls
@mini_7387
@mini_7387 2 жыл бұрын
Imagine finally remembered his channel name
@notlimited2149
@notlimited2149 2 жыл бұрын
LOL finally edit: yes make a series
@nokomoko0
@nokomoko0 2 жыл бұрын
you definitely should make a series on javascript
@aaronj.
@aaronj. 2 жыл бұрын
Yes for series :)
@VaibhavNaik26
@VaibhavNaik26 2 жыл бұрын
how to convert our bot to slash commands? and also how to keep prefix with slash commands
@neq7129
@neq7129 2 жыл бұрын
Can you make a video about slash commands? they are really useful :)
@CorelessRex
@CorelessRex 2 жыл бұрын
For the toSay message, how do I make it that it deletes the original message and only shows the bot message? Or make the bot send the message to a specific channel
@jairusu
@jairusu 2 жыл бұрын
THANKS BRO!
@imaheis
@imaheis Жыл бұрын
i love your guys tutorial, its easy to follow make it do admin stuff please, like kicking other member, showing other member's avatar of course with admin permission member can use only
@RealAmay
@RealAmay 2 жыл бұрын
Love you brooo
@helgin_lol
@helgin_lol 2 жыл бұрын
Thank you Mr Legend
@qu.
@qu. 2 жыл бұрын
Can you make a video that makes some commands only available for certain roles? For example only admins can use some commands and only the owner can use the others. Btw, you rock. Keep making these videos!
@helgin_lol
@helgin_lol 2 жыл бұрын
So you mean command permissions?
@qu.
@qu. 2 жыл бұрын
@@helgin_lol Yeah basically. I just forgot how to say it.
@smritinanda4981
@smritinanda4981 2 жыл бұрын
Bro tip: contact Snowie#8353 (me) and I'll help you out there...
@helgin_lol
@helgin_lol 2 жыл бұрын
@@qu. well i guess you could do if(member.roles.cache.has('role-id-here') { message.channel.send("Hello!") } else { message.channel.send("You dont have permission for that") } You can read docs
@helgin_lol
@helgin_lol 2 жыл бұрын
@@smritinanda4981 or he can just read docs :/
@mrchogus
@mrchogus 2 жыл бұрын
So uhhh, problem, I exactly did what you typed on the bot reply if a command doesn't exist, but it keeps saying "Unexpected token: return" How do I fix it
@luxuryva
@luxuryva Жыл бұрын
best tutorial ever, would love to know how to get the Bot to ban users, roll the dice etc
@bmigames123
@bmigames123 2 жыл бұрын
I love the music
@bizlinkenterprises1175
@bizlinkenterprises1175 2 жыл бұрын
can you make a video that teaches us how to make a bot like this insted of just copying the code. like learning how to write code and make bots without copy and paste
@satwiksarkar4567
@satwiksarkar4567 2 жыл бұрын
Yes pls make a series of JavaScript
@bigjamal420
@bigjamal420 2 жыл бұрын
2:34 (saving my spot) also ur vids are great
@itscharles-_-
@itscharles-_- 2 жыл бұрын
Thanks bro :D
@soupki6301
@soupki6301 2 жыл бұрын
question will other people see you use the "say" command? and if they do is there a command to delete the message after the bot does the command?
@TuanVibe
@TuanVibe 2 жыл бұрын
Every part of the series is so nice and useful for me and everyone, but I just want to ask, can you make the say command when we say "!say " and it will automatically deleted that message please?
@Oofioznis
@Oofioznis 2 жыл бұрын
I'll ask again, since my last question got unheard: I want my bot only usable in a single channel, so I disabled the permissions for the bot in a different channel, this works as intended, however when someone uses one of my bot's commands in a channel where the bot is disabled, the bot just crashes and I have to manually restart it, how can I fix this?
@kkensantana
@kkensantana 2 жыл бұрын
disable the administrator permission in ouath2, both bot and url generator (remove in general permissions, which is after you select bot in scopes but make sure you enable the send messages permission
@imaduck2176
@imaduck2176 2 жыл бұрын
Really nice series but can we get a tutorial on how to make random message sender and how to send multiple embed please
@CashTaylor44
@CashTaylor44 2 жыл бұрын
I finished the part that ends at 5:00. But when I press the run button, I get this message. TypeError: Cannot read properties of undefined (reading 'set') at Object. (/home/runner/bot/index.js:21:19) at Module._compile (node:internal/modules/cjs/loader:1101:14) How do I fix this?
@ytsharpenhead
@ytsharpenhead Жыл бұрын
That means there's an error in your index.js. maybe try to rewatch that part of the video and make sure you have copied the same thing.
@buruburu196
@buruburu196 Жыл бұрын
Can you do more parts of this.. creating commands? Please!
@Chee0x
@Chee0x Жыл бұрын
can you make a video about the economy commands you made last year with command handler?
@Maytid-rx7op
@Maytid-rx7op 2 жыл бұрын
when i tried making the kick command it will error every time i try to kick someone with higher role than bot how do i fix that?
@IGrindMinecraft
@IGrindMinecraft 2 жыл бұрын
its good and all, but I did it - it worked, but I had to register EACH folder I did (I did folder named "commands" and innit I did many categories), I did like 200 lines of code copying and pastin just to make it work with mini-folders... can you do a version of folder categorising?
@naboriruta5291
@naboriruta5291 2 жыл бұрын
I would like to see a tutorial on how to do ban/kick/mute commands
@THE_FALL3N
@THE_FALL3N 2 жыл бұрын
Could you make a tutorial on how to make a bot create threads?
@313xottic
@313xottic 2 жыл бұрын
can you make a video on how to make the bot auto apply roles when a new user joins?
@eccentrichooman8973
@eccentrichooman8973 2 жыл бұрын
Yes please make a video series on JavaScript ;-;
@hanzozohan6009
@hanzozohan6009 2 жыл бұрын
how to send message in other channel? for example, the input from user is in channel A and the bot send the message in channel B.
@deathnote6623
@deathnote6623 2 жыл бұрын
omg ur insane tysm
@naziaperween8554
@naziaperween8554 2 жыл бұрын
in next part I want how to make kick ban mute unmute and other moderation commands
@fiifa
@fiifa 2 жыл бұрын
Tysm!
@acedvector119
@acedvector119 2 жыл бұрын
Ive got a request,how do you make THE bot keep talking again and again? I will give you a big thumbs up! Im sure the others are also interested
@rohitlove87
@rohitlove87 2 жыл бұрын
1:02 'fs' means file system
@SkyPoly
@SkyPoly 2 жыл бұрын
are you going to make a level up system?
@jairusu
@jairusu 2 жыл бұрын
Can you make a video about permission? like only admin can use that command. Thank you
@iEthereality
@iEthereality 2 жыл бұрын
can you do a tutorial on how to make moderation commands for your bot ?
@dopegameplayzz5869
@dopegameplayzz5869 2 жыл бұрын
bro you are pro coder but can you make a video on how to make a pagination embed in handler using djs?
@pixelneeryt
@pixelneeryt 2 жыл бұрын
Can you make a tutorial on how to make the commands not case sensitive
@dux_dc
@dux_dc 2 жыл бұрын
Can you make a video based on JavaScript only? It may include basic functions based on string and int, eg .parseInt(), .replace(), .startsWith() Because 95% of the viewers are the one who has no previous experience on coding. Making such a video would be extremely helpful!
@citroff496
@citroff496 2 жыл бұрын
you are damn right bro
@mousomi8306
@mousomi8306 2 жыл бұрын
Make a series on typescript
@somefield8091
@somefield8091 2 жыл бұрын
Can someone help me, I've been getting this error: TypeError: Cannot read properties of undefined (reading 'set') at Object. I know it's about the client.commands.set(commandName, command) line but I can't find anything wrong with it.
@hastyz7325
@hastyz7325 2 жыл бұрын
Thank you!!!
@epicjewels8522
@epicjewels8522 Жыл бұрын
For next parts buttons and menus maybe
@shimonUD
@shimonUD 2 жыл бұрын
Could you make a vid on how to make a leveling system?
@elonmuskegg
@elonmuskegg 2 жыл бұрын
can you make a video on buttons?
@_Sp3ctre_
@_Sp3ctre_ 2 жыл бұрын
Is there a reason as to why the bot keeps going offline inside the replit website? The uptime site is working great but replit keeps turning it off
How to make a Discord Bot Without Downloading Anything + Host it Online FOREVER
8:56
So you want to make a Game Engine!? (WATCH THIS before you start)
14:39
Giant Sloth Games
Рет қаралды 272 М.
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 33 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 7 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 77 МЛН
How to become a rally driver in 2022 - Fully Explained
11:06
SportCubeMoments
Рет қаралды 26 М.
I made a Discord Bot that says Choo Choo
33:15
The Coding Train
Рет қаралды 39 М.
Making My Own Programming Language and Coding a Game in It
10:19
AstroSam
Рет қаралды 1,2 МЛН
I remade Reddit in 7 DAYS
7:14
FaceDev
Рет қаралды 23 М.
[NEW] Slash Commands in Less than 10 Minutes Using Discord.PY
5:55
How to make a Discord Bot for Beginners (Discord.js v14)
27:29
Under Ctrl
Рет қаралды 309 М.
Learn Discord JS in 15 min
14:30
Computeshorts
Рет қаралды 17 М.
How to Build a Discord Bot
4:41
Beyond Fireship
Рет қаралды 209 М.
😱НЕ ЗЛИ СВОЮ МАМУ В ПОППИ ПЛЕЙТАЙМ
0:47
КэндиМэн
Рет қаралды 1,3 МЛН
37.First Day as a Zombie💀
0:32
Limekey0
Рет қаралды 47 МЛН
Жайдарман | Туған күн 2024 | Алматы
2:22:55
Jaidarman OFFICIAL / JCI
Рет қаралды 1,6 МЛН