How to make a Discord Bot for Beginners (Discord.js v14)

  Рет қаралды 350,949

Under Ctrl

Under Ctrl

Күн бұрын

How to make a Discord Bot for Beginners (Discord.js v14)
🌐 Important links:
Discord Developer Portal: / discord
Discord.js official website: discord.js.org
Discord Intents List: discord.com/de...
Patreon: / underctrl
Buy me a coffee (one-time donation): buymeacoffee.c...
🎵 Music Credits:
Track Name: "Blue Boi"
Music By: LAKEY INSPIRED @ / lakeyinspired
Original upload HERE - • LAKEY INSPIRED - Blue Boi
Official "LAKEY INSPIRED" KZbin Channel HERE - / @lakeyinspired
License for commercial use: Creative Commons Attribution 3.0 Unported "Share Alike" (CC BY-SA 3.0) License.
Full License HERE - creativecommon...
Music promoted by NCM / @chillcopyrightfreemusic

Пікірлер: 819
@UnderCtrl
@UnderCtrl Жыл бұрын
Want me to make you a custom bot? Email me at: avraj@underctrl.io or DM me on Discord: avrajs (PAID WORK) Source code: github.com/notunderctrl/discordjs-v14-series Discord server: discord.gg/T4faJeH84A
@Cyoclonic
@Cyoclonic 3 ай бұрын
the insane amount of times i have hear scammers say that and in reality they nuke your server
@UnderCtrl
@UnderCtrl 3 ай бұрын
@@Cyoclonic Thanks for bringing up this concern - I'll help clear it up. My reputation matters to me. I've been working with clients for web development for over a year at this point. To make things clear: 1. My clients are paying for the code I write. They own it at the end of the day and have full authority to check and see what's going on with the code. 2. If I'm doing bot development, I do the bot development in a separate guild so as to not disturb the flow of my client's community. 3. In most situations (considering the project scale), we work with a legal contract to protect the interest of both parties.
@Cyoclonic
@Cyoclonic 3 ай бұрын
​@@UnderCtrl Jesus Christ I didn't expect an entire essay dude I was just joking 😭 but can you make a vid on how to fix nodeom thingy it keeps saying that security is not letting me.do it
@UnderCtrl
@UnderCtrl 3 ай бұрын
@@Cyoclonic got an faq in our Discord about the powershell security policy: underctrl.io/discord
@RockTheSlayer
@RockTheSlayer 2 ай бұрын
I did the tutorial and my bot isnt turnin on
@iSpaRky_01
@iSpaRky_01 Жыл бұрын
10/10 tutorial guys literally spent the whole afternoon checking out tutorials and this one is the only one that worked because of the V14 update. You deserve way more views 🙌
@prestontruong524
@prestontruong524 Жыл бұрын
Fr
@Misfit5395
@Misfit5395 Жыл бұрын
Thank you for this, I’m a complete newbie to discord bot.. and programming as a whole. I had been following guides for days with no luck.. didn’t know I was using old code. Followed this step by step and the bot was online within the hour.
@ausiman
@ausiman 10 ай бұрын
Great tutorial! For those of you that received a MODULE_NOT_FOUND error after doing *"npm install dotenv"*, do the *"npm install discord.js"* command again and it should work. If this doesn't work, read through the error that you are getting and look for the module that it can't find. For example, my error was: [nodemon] starting `node src/index.js` node:internal/modules/cjs/loader:1051 throw err; Error: Cannot find module 'discord.js' Require stack: That's why you would have to do the *"npm install discord.js"* command because for some reason it got removed when I did the *"npm install dotenv"* command.
@UnderCtrl
@UnderCtrl 10 ай бұрын
Reason for this in most cases, is people usually edit their package.json while installing packages. This tends to lead to an outdated package.json. The fix you mentioned is correct. Just reinstalling should fix it!
@mr0mooz368
@mr0mooz368 10 ай бұрын
Man i've been looking for a way to solve it for hours. God bless you
@mr0mooz368
@mr0mooz368 10 ай бұрын
❤❤❤
@ausiman
@ausiman 10 ай бұрын
@mr0mooz368 Glad to hear this worked for you and good luck in your learning!
@haggarduser
@haggarduser 9 ай бұрын
Thanks so much for this!
@xcalibur3198
@xcalibur3198 10 ай бұрын
WOW just WOW. This is unbelievable that I literally set up my first discord bot successfully like literally just following along. I cant thank you enough. The way you explained every detail in depth and in such beginner friendly way was just awesome. Thank you so much!!
@MoistMosquito9000
@MoistMosquito9000 Жыл бұрын
If anyone is having the problem of "Error: Used disallowed intents", the solution I used is to scroll down untill you see "Privileged Gateway Intents", then just select all of them.
@defnotpetchz
@defnotpetchz 9 ай бұрын
Ty
@flashgaming6447
@flashgaming6447 9 ай бұрын
elaborate?
@bkkpro1980
@bkkpro1980 8 ай бұрын
thanks
@DINOxANAS
@DINOxANAS 6 ай бұрын
tysm
@nathanbotes5868
@nathanbotes5868 4 ай бұрын
The "privileged gateway intent" boxes that you tick is on the discord website, under the bot folder, tick PRESENCE INTENT, SERVER MEMBERS INTENT, and, MESSAGE CONTENT INTENT. This took me a lot longer to figure out than I am willing to admit.
@anonieme_beer9200
@anonieme_beer9200 Жыл бұрын
This playlist of video's are some of the best programming video's i've ever seen. Currently working on a discord bot, and everything you do is so clear and straight to the point, I saves so much time compared to other programming video's. Thank you so much for the effort of creating these video's!!!
@determineddecision5789
@determineddecision5789 10 ай бұрын
bu yorumu yaptığın için teşekkürler. sadece beğene basarak üste çıkarabiliyorum :)
@DucksAreEpic
@DucksAreEpic Жыл бұрын
If you get an error saying "cannot be loaded because running scripts is disabled on this system." while trying to "nodemon", I found a solution for that. This is for windows btw. I searched this online, and it seems you have to allow "untrusted" scripts to run on your computer. To do that, you have to open PowerShell as an administrator. If you type in "Get-ExecutionPolicy", you probably should get "Restricted". We want to change that. So, you should type in "Set-ExecutionPolicy RemoteSigned" and then press "y". To confirm the change, type again "Get-ExecutionPolicy". It should say "RemoteSigned" now. That should solve the problem :)
@Not_Mood
@Not_Mood Жыл бұрын
Not Working for me😥😥.Any suggestions please
@elmix5318
@elmix5318 Жыл бұрын
Thanksss!!!!!
@sniper_agent4656
@sniper_agent4656 Жыл бұрын
ohhhhhhhhhhhhhhhh! thanks
@jijiandme
@jijiandme Жыл бұрын
@@Not_Mood try typing in "Set-ExecutionPolicy RemoteSigned -Scope CurrentUser" and then press "Y"
@freshdews
@freshdews Жыл бұрын
thanks!
@1x1y8o
@1x1y8o Жыл бұрын
This tutorial is *amazing!* The documentation is enough of 8 stars! Better than the entire Discord's documentation. The creator gives answers quickly and the Discord server is helpful! *10/10* overall!
@1x1y8o
@1x1y8o Жыл бұрын
@Storm Debater Lmao
@scypus8691
@scypus8691 8 ай бұрын
If you get the error "[nodemon] app crashed - waiting for file changes before starting..." around 13:30 you may have to set the file path manually with the command since it sometimes does not account for the src folder. For example, I ran "nodemon C:\discord-bot\src\index.js" and it worked.
@sdewwu
@sdewwu 8 ай бұрын
i had the same problem, but thats because i had only been saving the index.js folder and not the package folder. double check that main is src/index.js not just index.js
@mikerotchburns4307
@mikerotchburns4307 8 ай бұрын
@@sdewwuhow do I do that
@Bloqqy88
@Bloqqy88 7 ай бұрын
it still does not work for me
@kapimo
@kapimo 7 ай бұрын
nodemon C:\discord-bot\src\index.js this will work
@Nick12_45
@Nick12_45 7 ай бұрын
out of all the tutorials i've watched, this one is definetely the best! Tysm!!
@garrydawnerdot
@garrydawnerdot Жыл бұрын
I remember spending hours and hours to debug just because of intents haha, finally someone who could relate to it! I really appreciate your effort, please keep up with the tutorials!
@V9Void
@V9Void 9 ай бұрын
I DID IT TYSM! I STRUGGLED SO MUCH FOR THE PAST 2 YEARS AND I *F I N A L L Y* DID IT! You got yourself a sub bro, keep up the good work!
@Das_08
@Das_08 Жыл бұрын
Same happened with me too I didn’t put the proper valid intents in my bot I spent a whole day debugging the code and asked many people in the discord about it but it didn’t help me lot , so started finding proper tutorial in KZbin I saw ur Video and rest is history ! Now I can continue my bot making program ( I was near to give on coding but ur video saved me THANKS A LOT)
@OptionsEmporium-z8v
@OptionsEmporium-z8v Ай бұрын
I wanted to implement a bot for something fairly niche. I have no prior programming experience, and this was incredibly useful. Thanks!
@PurpleKnok
@PurpleKnok 2 ай бұрын
you are the BEST i have been looking for forever to make a discord bot with permissions and this is the first and best one that worked. thank you you are a LIFESAVER
@being.saksham
@being.saksham Жыл бұрын
The series is so awesome, everything is explained very well. Thank you for creating such videos!! 🤩
@ApAileron9
@ApAileron9 6 ай бұрын
This is the best tutorial series out there. Very easy to understand and replicate. Make sure you have the syntax right in you are not experienced in JS. Would recommend writing down terminal commands. 10/10
@うほうほ-f3l
@うほうほ-f3l 6 ай бұрын
I got stuck with other posters' videos, but thanks to your video I was able to successfully create the bot. thanks so much. Many of the other posters omitted the part of generating the package.json, but you explained it, which was helpful. Also, you explained the meaning of each movement. It was amazing.
@IoniB
@IoniB Ай бұрын
Amazing tutorial, just the right speed and knowledge expectation + you show docs and talk us through so nicely, honeslty u r doing amazing work!!!
@EsteriaASMR
@EsteriaASMR Жыл бұрын
4:20 I put in the code but it's popping up with bash: npm: command not found. I have no idea what I'm doing wrong :/
@LunarMoonWasHere
@LunarMoonWasHere 7 ай бұрын
Same
@ZyexYT
@ZyexYT 7 ай бұрын
Same. I think its cause we are on a different OS or something.
@deleted1803
@deleted1803 3 ай бұрын
might have to change the name of the folder
@echomouser
@echomouser 3 ай бұрын
Did you install node.js?
@WildBearHW
@WildBearHW Жыл бұрын
I restarted the process 3 times and followed along side you in x0.75 speed. I keep getting this when i use command nodemon in the terminal nodemon : The term 'nodemon' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + nodemon + ~~~~~~~ + CategoryInfo : ObjectNotFound: (nodemon:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@clarks-short-channel
@clarks-short-channel 2 күн бұрын
did you run "npm install -g nodemon" if ur on mac or linux you need to add sudo before it btw
@bladedaxe77
@bladedaxe77 Жыл бұрын
Thank you, very straightforward compared to many other tutorials out there. Keep it up! 👍
@dalfydalfy9318
@dalfydalfy9318 Жыл бұрын
Hey, I'm just at the 5th video but for now it's really interesting, complete and easy to understand even though I'm not english nativ ! You care to explain a lot more than other tutorials and it seems you're going through all main topics in your playlist. Rythme is nice, finding a nice, complete and up to date guide on discord bots is hard these days :D Thanks a lot for your work ! You'll get my thumbs up, no doubts !
@akshitrajputhere
@akshitrajputhere Жыл бұрын
You speak great english
@RHOCHR
@RHOCHR Жыл бұрын
I am also not english nativ and also find it super cool!
@WhiteCattStudios
@WhiteCattStudios Жыл бұрын
NPM INIT Y- WHY DOES IT NOT WORK?: you just have to restart vsc if you have downloaded the apps while having vsc open
@LitLeafLibrary
@LitLeafLibrary 9 ай бұрын
omg this!!!!! 100% needs upvotes to go to the top!
@Hotdoghunter55
@Hotdoghunter55 5 ай бұрын
bro thank so much
@vgl0ssyq
@vgl0ssyq 4 ай бұрын
still doesnt work for me lol
@seelowe88
@seelowe88 20 күн бұрын
@@vgl0ssyq neither me lol
@krispyangels
@krispyangels 5 ай бұрын
It always gives me an error that the term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. I tried checking as I can but I'm still too new to this stuff.
@riwayateishq
@riwayateishq 5 ай бұрын
Your way of teaching is wonderful! I am a Next JS dev, but very rusty at the time! I couldn't understand the "fancy words" in the documentation, but with your guidance I can progress way faster! Hopefully things haven't got depreciated since it's been a while haha. Much love ❤
@min_808
@min_808 Жыл бұрын
I love how you included the .env portion in this tutorial :)
@RHOCHR
@RHOCHR Жыл бұрын
This is the kind of tutorial we need! Great explanation!👍 I liked and subscribed
@bxnny6657
@bxnny6657 Жыл бұрын
Thank you so so much, ive not been making bots since discord js v12 which is 2 years ago, and now i've started again, i tried following the discord js v14 guide but theres many mistakes and non necessary type things in the guide, so following you was much better. Thank you for getting me back into this!(:
@markgorbe
@markgorbe Жыл бұрын
keep up the good work. literally the best and most understandable tutorial. thank you
@mkoi228
@mkoi228 Жыл бұрын
10/10, First guide that explains why the other 7 guides that I've tried didn't work.
@stevenelsoncpp
@stevenelsoncpp 8 ай бұрын
Great tutorial man! Very obviously aimed at coders but you do a great job at explaining concepts that may be unfamiliar. Just wanted to add one note, for those that may have an issue with the 'nodemon' command, I had to login to CMD as admin and type "PowerShell Set-ExecutionPolicy -Unrestricted" for the command to work due to security settings.
@delmix-65
@delmix-65 7 ай бұрын
what do you mean ? I have the same error but i don't understand why i have this error
@YTNUKEALL
@YTNUKEALL 7 ай бұрын
I need help
@YTNUKEALL
@YTNUKEALL 7 ай бұрын
how do I login to cmd as admin I might just be dumb
@YTNUKEALL
@YTNUKEALL 7 ай бұрын
so this to open the cmd as admin Press the Windows Start button at the bottom left. Type in "Command Prompt". Right click on Command Prompt and click "Run as administrator". Click Yes if the Windows 10 User Account Control prompt is displayed. The Command Prompt should appear. then you type the cmd (PowerShell Set-ExecutionPolicy -Unrestricted) I hope this help
@YTNUKEALL
@YTNUKEALL 7 ай бұрын
maybe not idk man
@hyiping5926
@hyiping5926 Ай бұрын
Hmm when i generate the Discord invite link, i just get an error no matter if i choose user or guild "Installation type not supposed by this application"
@CodewithGunnar
@CodewithGunnar Ай бұрын
Brilliant tutorial - thank you very much :) Got my first bot up and running!
@avsm4832
@avsm4832 Жыл бұрын
Epic Tutorials, just trying to explain everything, and I even understood, you just earned a subscriber
@silentM000N
@silentM000N 8 ай бұрын
Solid video, can't wait to follow along with the rest of the series. Apprecaite you taking the time to explain even the little things.
@medul8039
@medul8039 Жыл бұрын
yoo it took me forever to get anything working today and this is the only video that actually helped thx alot also the only video that actually helped me understand things like guilds, intents ect.
@MioNozomi
@MioNozomi Жыл бұрын
Thank you so much! I'm using this as my first ever coding project and im so excited. Wanted to share a dumb mistake i spent way too long fixing. I'm dyslexic, and apperently i typed client twice in the first line and then nodemon wouldnt work. and it took me til just now to figure out the problem haha
@realnarwhal
@realnarwhal Жыл бұрын
I'm planning on making a bot for the friend that can notify discord members when he uploads, hopefully I'm starting at the right place to do it, thanks for the tutorial!
@DemonX82
@DemonX82 5 ай бұрын
if nodemon doesn't work for you on windows try to 1. Open Windows PowerShell with Run as Administrator 2. Run this command: Set-ExecutionPolicy Unrestricted 😉
@boostedrobloxdevelopment3374
@boostedrobloxdevelopment3374 Жыл бұрын
Thank you for such amazing tutorials, they are really useful and simple to understand!
@phonisesmith
@phonisesmith 10 ай бұрын
npm init -y does not work on mine 😢
@van_stop
@van_stop 7 ай бұрын
same
@CID098
@CID098 6 ай бұрын
just do npm init and try
@MSC_EMPIRE
@MSC_EMPIRE Ай бұрын
Npm install try it
@elouanm4732
@elouanm4732 5 ай бұрын
This video is so well done! Everything is explained and easy to understand. Seriously you've done a really good tutorial.
@DOTPIE
@DOTPIE 7 ай бұрын
Thanks a lot for these tutorials, they were immensely helpful. I wanted to do a simple discord bot for fun and you are super clear and to the point, while also explaining things in appropriate detail! Cheers :)
@al-mamluk
@al-mamluk 5 ай бұрын
Your tutorials have been very helpful. Thank you for taking the time and effort to make these videos.
@al-ft1ng
@al-ft1ng Жыл бұрын
appreciate the tutorial man, really really useful to get the basics done.
@KarolinaRGameDesign
@KarolinaRGameDesign 7 ай бұрын
100/10 Ive watched other tutorials and couldnt figure it out how to set it up properly, Im new to coding but your video is so easy to understand that I managed to do it :D woohoo
@simeonerasmus
@simeonerasmus Жыл бұрын
Very well put tutorial. Thank you very much my man you really teached me alot today.
@NancyL-b9k
@NancyL-b9k Жыл бұрын
Struggling, it says [nodemon] app crashed - waiting for file changes before starting...what to do?
@playerx38
@playerx38 7 ай бұрын
i got the same problem it seems it takes the token as wrong
@k4kadu
@k4kadu 7 ай бұрын
this shows up for pretty much any issue with the code that keeps the bot from running and when you read the full log it tells you the specific problem a bit earlier. for example I got that message and read through the log to find: error: new Error("Used disallowed intents") so I looked through my intents list and found out that one of those lines contradicted with my bot settings. hope this helps
@clarks-short-channel
@clarks-short-channel 2 күн бұрын
you have to press ctrl S to save it
@gillisagorastos
@gillisagorastos Жыл бұрын
Great Video! Had some problems in the start but it worked out super good! cant wait to learn more from you!
@bushibushirino6566
@bushibushirino6566 Жыл бұрын
Thank you very much, i have been trying since 3 years, you did the proper and best tutorial!
@daveyyyyyyy
@daveyyyyyyy Жыл бұрын
3 years 💀💀💀
@popmango
@popmango Жыл бұрын
Very straight forward and simple tutorial bro. Thank you so much!
@evanilsonp.8183
@evanilsonp.8183 Жыл бұрын
Hey man. I'd like to tell you that it was nice to watch this tutorial. Good video. Keep up the good work.
@s1nistr433
@s1nistr433 8 ай бұрын
This should be the official documentation of discord.js, definitly a lot better and more helpful
@albin8961
@albin8961 3 ай бұрын
The require is always throwning an error for me and it says that the modul cant be found
@_Jiwan_
@_Jiwan_ 4 ай бұрын
Thank you! Your tutorial is so easy to understand & follow
@Tendity
@Tendity 9 ай бұрын
OMG I CANT THANK YOU ENOGH! your tutorials are the best of the best (new sub)
@pancakess839
@pancakess839 6 ай бұрын
How to fix this error + nodemon + ~~~~~~~ + CategoryInfo : SecurityError: (:) [], PSSecurityException + FullyQualifiedErrorId : UnauthorizedAccess
@enkhboldnymdorj2790
@enkhboldnymdorj2790 Жыл бұрын
Your explanation goes right into my head. Nice one
@radthemadgamer9879
@radthemadgamer9879 10 ай бұрын
What Happens when you try nodemon and the terminal says "cannot be loaded because running script is disabled on thus system
@diorchenle
@diorchenle 9 ай бұрын
i still couldn't figure it out have u?
@HuebertEllowit-LOL
@HuebertEllowit-LOL 9 ай бұрын
Whenever I try to run nodemon, i get a syntax error: undexpected token . problem, and nodemon app crashed - waiting for file changes before starting. I have done the tutorial up to 13:45 4 times now, and I am basically positive my files are identical to his. Are there some sort of dependencies he has installed that most people have installed that I dont?
@nebulous5622
@nebulous5622 7 ай бұрын
having this same issue rn
@ZyexYT
@ZyexYT 7 ай бұрын
same
@isseyyy69
@isseyyy69 Жыл бұрын
this is first video which helped me. thank you!
@Rix1128
@Rix1128 Ай бұрын
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + npm init -y + ~~~ + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@m4rfs
@m4rfs Жыл бұрын
I love u so much, you explain things so well! thank you for this tutorial ♥
@HodlTokenClub
@HodlTokenClub 8 ай бұрын
Wow! Your content is amazing! You have some proper teaching skills! You are the 🐐my friend! Respect!
@supercool1826
@supercool1826 4 ай бұрын
Nodemon doesn't work for me it gives me errors after installing it and using it.
@YaBoyH
@YaBoyH 8 ай бұрын
I tried to run nodemon but after every time I tried it just said Error: Cannot find module ‘Users/Desktop/discord-bot/index.js’ then it says [nodemon] app crashed - waiting for file changes before starting. Does anyone have a fix please I’ve been trying for 2 hours now
@belzeboth93784
@belzeboth93784 8 ай бұрын
Did you fix this error?
@priyanshugupta7614
@priyanshugupta7614 Ай бұрын
Nice Tutorial learnt a lot of things
@Apsihbg
@Apsihbg 5 ай бұрын
It said Node.js v18.14.2 [nodemon] app crashed - waiting for file changes before starting... Ive already tried to kill all nodes but it still doesn't change the error. How do I fix this?
@Gamerboy_1711
@Gamerboy_1711 Ай бұрын
did you fixed it?
@Apsihbg
@Apsihbg Ай бұрын
@@Gamerboy_1711 Dam i already forgot
@Shavix
@Shavix 2 ай бұрын
For anyone whose npm isnt working, restart vscode or pc, its a common bug
@BaYPro0001
@BaYPro0001 Жыл бұрын
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + npm init -y + ~~~ + CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
@BaYPro0001
@BaYPro0001 Жыл бұрын
Pls help
@UnderCtrl
@UnderCtrl Жыл бұрын
That’s because you haven’t installed node js
@YTView2021
@YTView2021 Ай бұрын
OMG bro is a fast typer!!
@larkb4944
@larkb4944 Жыл бұрын
You’re so Calm
@alex_turing
@alex_turing Жыл бұрын
The best video on the topic I was able to find
@5bigblackmen
@5bigblackmen 5 ай бұрын
at 13.46 when i run the command the terminal says [nodemon] app crashed - waiting for file changes before starting...
@anocre
@anocre Жыл бұрын
Wow Awesome explanation. Subscribed you in 1st video.
@tariqplays5826
@tariqplays5826 3 ай бұрын
BANGER tutorial. Loved it.
@PluTiper
@PluTiper Жыл бұрын
This video was extremely helpful, thank you! 👍
@Chuppa2
@Chuppa2 3 ай бұрын
Sometimes the ENV DOES NOT WORK, just put .env inside of the src folder and put .gitignore there too.
@wooshy1x
@wooshy1x Жыл бұрын
hi! its saying TypeError: Cannot read properties of undefined (reading 'GUILD_MESSAGES') at Object. for some reason, can anyone help?
@MRHD-so5es
@MRHD-so5es Жыл бұрын
your video is very useful i hope to complete the course and don't stop uploading videos thx for help
@Khaylanafeesa1
@Khaylanafeesa1 9 ай бұрын
The background remine me something scary 💀
@Arkantos
@Arkantos Жыл бұрын
Incredible how only 29 lines of code can do it. I'm really enjoying the series, is it still updated with new episodes?
@UnderCtrl
@UnderCtrl Жыл бұрын
Thanks, and yes it is up to date!
@partyboyww
@partyboyww 8 ай бұрын
I don't know what I'm doing wrong, but I keep getting the error message: Cannot read properties of undefined (reading 'FLAGS')
@proto333
@proto333 7 ай бұрын
@@Tomerz. now my code can't read Guilds, GuildMembers, etc. how can i fix this?
@BasicallyCaramel
@BasicallyCaramel Жыл бұрын
Legit everything worked until I did the last part (hiding the token), this is happening everytime and I have no idea why I'm on my 2nd try of this and everything works out perfectly until I try to hide the token, because it says "code: 'TokenInvalid' [nodemon] app crashed - waiting for file changes before starting..." It's gotta be something with the token because that's what it says is wrong but I have no idea what it is 😭
@Keanine
@Keanine 4 ай бұрын
I know this is an old comment, but I was having this issue too. I checked it in console.log and it was undefined. To fix it, I realised I accidentally put the env file in the src folder instead of the root. Moving it to the correct location fixed the error
@maltyhopperbrewing5513
@maltyhopperbrewing5513 Ай бұрын
I’ve now spent over three hours trying to get the bot online and every time I try and start the bot I’m just getting Error: Used disallowed intents
@21jpmm
@21jpmm 11 ай бұрын
excellent guide, good way to explain the basics
@maxbro92
@maxbro92 11 ай бұрын
Change your smoke detector battery 😂
@UnderCtrl
@UnderCtrl 11 ай бұрын
That was the A/C lol 😭
@maxbro92
@maxbro92 11 ай бұрын
Hahaha 😅
@stroyz
@stroyz Жыл бұрын
Will the bot stay online even when im offline using this method?
@StrayPlayzGames
@StrayPlayzGames 7 ай бұрын
when i do npm init -y the command is not recognized
@alexventel9567
@alexventel9567 7 ай бұрын
I can help you if you want
@margotbohlin3774
@margotbohlin3774 2 ай бұрын
@@alexventel9567 mine is not working as well, what should I do to troubleshoot
@regis5507
@regis5507 7 ай бұрын
thank you for the video, amazing way to teach :)
@sean_fisher
@sean_fisher Жыл бұрын
excellent video. very detailed. coupled with chatGPT I was able to get it right and I have my own discord bot. will be watching much more subbed and notified : )
@thebestol0ch483
@thebestol0ch483 Жыл бұрын
10/10, the best guide i've ever seen!
@ardeleanu7902
@ardeleanu7902 Жыл бұрын
Thanks for the tutorial love it!!!!!! For a kid who wants to start coding it s just amazing thanks
@RHOCHR
@RHOCHR Жыл бұрын
Same
@mats33667
@mats33667 11 ай бұрын
How do I make it so it checks for user cooldown like if someone gets a promotion (roblox) it says that “Cool-down ends on the (DATE) using the / command
@hazush_
@hazush_ Жыл бұрын
I LOVE YOU, BRO YOU HELPED ME SO MUCH BRO I REALLY DON'T KNOW WHAT TO SAY BRO
@linh8708
@linh8708 5 ай бұрын
thank you! this is so useful and clear!
@AD_DeathHuntter9
@AD_DeathHuntter9 Жыл бұрын
idk why but the npm init -y isnt working
@BRAZUCANYTV
@BRAZUCANYTV Жыл бұрын
How you put the bot online with no command ? 18:39
@UnderCtrl
@UnderCtrl Жыл бұрын
That’s something nodemon handles. Auto restarts your bot when you make changes to your file.
@BRAZUCANYTV
@BRAZUCANYTV Жыл бұрын
@@UnderCtrl ty can you make a vide on how to make a bot to give stock market TOP GAiners ? Like the STOCKBOT THANK YOU FOR THE VIDEO
Register and Run Slash Commands (Discord.js v14)
10:32
Under Ctrl
Рет қаралды 110 М.
I Hacked a Discord Bot, the Owner said this...
9:09
No Text To Speech
Рет қаралды 1,3 МЛН
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 13 МЛН
Spongebob ate Michael Jackson 😱 #meme #spongebob #gmod
00:14
Mr. LoLo
Рет қаралды 11 МЛН
Incredible: Teacher builds airplane to teach kids behavior! #shorts
00:32
Fabiosa Stories
Рет қаралды 11 МЛН
20 Programming Projects That Will Make You A God At Coding
14:27
The Coding Sloth
Рет қаралды 1,2 МЛН
Can You Get Every Discord Badge?
9:44
No Text To Speech
Рет қаралды 2,4 МЛН
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 262 М.
So, you want to build apps & websites?
9:34
Sajid
Рет қаралды 199 М.
Does Your Bot REALLY Need a Dashboard? 🤔
5:28
Under Ctrl
Рет қаралды 7 М.
I run untested, viewer-submitted code on my 500-LED christmas tree.
45:17
OYUNCAK MİKROFON İLE TRAFİK LAMBASINI DEĞİŞTİRDİ 😱
00:17
Melih Taşçı
Рет қаралды 13 МЛН