Join the Fireship Discord Server / discord Learn how to build your own discord bot from scratch with JavaScript and deploy it to the cloud in this beginner friendly tutorial. #javascript #discord #tutorial
Well, telegram bot are very easy to deploy in serverless environment. I built a Telegram Bot with Deno and deploy it in Deno Deploy and it is just blazingly fast.
I just logged into CZcams to learn how to make a discord bot and your video popped up in my recommendations, Just the thing I needed. Although I was planning to use Python for the bot I changed my decision to use Node instead
Few months ago I made a discord bot for my discord server with python(nextcord) and it was awesome. I learned many things from it and it encouraged me to keep coding. BTW I am really happy you made a discord server
1:55 I'm really sorry but you are kind of wrong you are able to build bots with server-less functions (discord has an example on their docs for cloudflare workers). However you will only be able to receive interaction events not any other event. Keep up with the amazing vids tho
Didn't App Engine standard automatically shutdown when no incoming request? It means bot can't listen events after a shot time. How you are managing it on App Engine
when you said you were going to create your bot from scratch, i thought you were actually going go reinvent this wheel, but then you imported discord.js lol glad to know you aren't crazy
guild messages is a privileged intent, you shouldn't ask for that intent or rely on it anymore as discord will only approve those requests on case by case. just use interactions for everything
I have never used Discordjs, how does it compare to DiscordPy? personally I've used discordpy for a long time and some of the tools that it offers out of the box like tasks, extensions etc are extremely powerful and on top of that you also have the full power of python at your disposal.
I generally use builder patterns while coding and when you that that you are not a fan of that, it got me really curious to know you thoughts. Maybe can you elaborate on what is the thing builder pattern lacks, and which pattern you use personally for most cases. Thanks :-)
How do I check if the bot is working fine or not? when I'm running the index file its giving errors like 'Privileged intent provided is not enabled or whitelisted'
I would *really* love to know how to use Google App Engine. I hear it's "free" but i cannot wrap my head around how to use it and the limits this "free" tier apply to.
Is it possible to imbue a bot with the memories/information of fictional characters? I need to know, as I must create a Lelouch Vi Britannia bot as well as a Zero bot.
Hey! There's this scammer on using your logo that replies to commentsvon your channel. Reported it earlier today not sure if the channel got taken down. Just putting it out so you know and if possible you could give a heads up to your followers
This dude covered 30-ten minute long video series in 4 minutes 😂
I love watching videos about creating Discord bots even know I have made multiple. This content is just so satisfying to watch.
Well, serverless is possible if you only need a bot to do slash commands which is a valid use case
Interactions not only slash commands (message components and context menus, modals also)
Well, telegram bot are very easy to deploy in serverless environment.
I built a Telegram Bot with Deno and deploy it in Deno Deploy and it is just blazingly fast.
currently working on a Python library that focuses solely on Discord interactions! the timing for this video is pretty funny
@@hrvs *ThePrimagean intensifies*
How would that work if it requires a persistent connection?
Finally, we've been waiting for so long 😂
Great video as always, please keep doing this, you help out so many people (including me). Thanks for that!
keep up the amazing work🙌
This is perfect timing! I am just working on a discord server for a product I am making and here comes fireship with the discord bot video!
4:33 well, I don't think I can ask you any questions when activity is super high and slowmo is 25sec. Your videos are amazing, keep doing them 🔥
Literally the best tutorial of discord bot making damnn
I just logged into CZcams to learn how to make a discord bot and your video popped up in my recommendations, Just the thing I needed. Although I was planning to use Python for the bot I changed my decision to use Node instead
My favorite part was when Jeff said "it's Discord time" and botted all over the servers. Definitely one of the tutorials of all time ever!!
Definitely one of the comments of all time
I was just thinking about making a discord bot, you're a mind reader!
The Builder Pattern is my favorite!
I absolutely loved the “create your own discord bot” experience. I built mine using Heroku + DialogFlow 2+ years ago.
Such a cool memory !
ah yeah heroku, remember using it to create server side apps. unfortunately they stopped giving free tiers
Do not take servers too seriously, you will someday get out of free tear - Arjit Tiwari
@@yeppiidev so sad my first app on heroku was a discord bot
@@yeppiidev What are the alternative options nowadays?
@@vabtech7627 hmm i haven't done much backend development to know that but repl.it provides some stuff you can use to run things server side
Great as usual. I would love to see a 'How to build a Twitch extension' video
Few months ago I made a discord bot for my discord server with python(nextcord) and it was awesome. I learned many things from it and it encouraged me to keep coding. BTW I am really happy you made a discord server
hey you probably wont respond but can you help me learn to make a bot
@@JamesBezza01 I at least will respond. What type of bot do you want to make?
nice video mate
Thanks for the tutorial :D
BTW why does the video have 480p as the max res?
Wish this came out 2 weeks earlier, love this though!
Gonna be 1M subscribers in a Month 🔥🔥
1:55 I'm really sorry but you are kind of wrong you are able to build bots with server-less functions (discord has an example on their docs for cloudflare workers). However you will only be able to receive interaction events not any other event. Keep up with the amazing vids tho
Good call, yeah serverless will work in certain cases.
@@beyondfireship yeah it works on interaction model with webhooks like system
Telegram Bots works amazing in serverless environment.
Didn't App Engine standard automatically shutdown when no incoming request?
It means bot can't listen events after a shot time.
How you are managing it on App Engine
its very easy when you explain it
Awesome 👍
props to you.
Good video. "Follow the principal of least privilege"
Good vid but why is it in 480p ?
Thanks Brother
0:12
you got me - you really got me
Great video! but why don't you like the builder pattern?
when you said you were going to create your bot from scratch, i thought you were actually going go reinvent this wheel, but then you imported discord.js lol glad to know you aren't crazy
guild messages is a privileged intent, you shouldn't ask for that intent or rely on it anymore as discord will only approve those requests on case by case. just use interactions for everything
you listed to event messageCreate but then show a screenshot of the bot replying to an interaction wtf???
The most fireship way of announcing the discord
Our helpline⬆️
Contact me ⬆️.
have you considering opening s matrix room as well?
Building a Discord bot is easy. Keeping it from taking over the world .. now that's a challenge !
It,s so so good 😀🤘🏼
Hey, good video. For future videos i would recommend a editing soft
an*
nice video but were the discords notification sounds necessary?
I have a question. What code editor do you use? I have no solid one, so I use notepad or notepad++
why is this video in 480?!!!
Hey could you take a look at the biscuit library for Discord API? :)
Why the quality of video is set to 480p ??
I have never used Discordjs, how does it compare to DiscordPy? personally I've used discordpy for a long time and some of the tools that it offers out of the box like tasks, extensions etc are extremely powerful and on top of that you also have the full power of python at your disposal.
My God.. the discord notification noices triggered me. I can't resist checking if there is actually a message. Great video though :D
I'm pretty sure you will have the best tutorials (and shortest) about “how to make *good* discord bot”
Our helpline⬆️
Contact me ⬆️
Why you are not a fan of builder pattern? What do you prefer to solve lots of parameters in the constructor/constructors?
Is there a reason you didn't use something like a Heroku worker? That's what I'm using now and wondering if its a bad idea.
You released this after i figured slash commands out lmao
I did this in 2020 because nothing existed to automatically assign a role based on email verification. It was a pretty fun project.
wow I'm early!!
Lol same
Not going to lie, I read the thumbnail as: "How I built a cyber bully"
I generally use builder patterns while coding and when you that that you are not a fan of that, it got me really curious to know you thoughts. Maybe can you elaborate on what is the thing builder pattern lacks, and which pattern you use personally for most cases. Thanks :-)
X2, personally I find the builder pattern really useful and readable, can simplify the sometimes complex way of building objects.
One question, can you recommend a bot that allocatates daily points to users for writing a particular command
Question, are you still editing all your videos? The edits are so clean.
@@jujimufi472 fireship is just too good
that's the man! thank you for your tutorials! today i am employed as a web3 dev and your videos had a huge influence on it ;)
@@victorhenriquecollasanta4740 LETS GOOOO!!!!!
How do I check if the bot is working fine or not?
when I'm running the index file its giving errors like 'Privileged intent provided is not enabled or whitelisted'
ok man cool where is the discord developer dashboard?
Curious to know why you don't like builder pattern?
I would *really* love to know how to use Google App Engine. I hear it's "free" but i cannot wrap my head around how to use it and the limits this "free" tier apply to.
full discord bot tutorial would be nice
Our helpline⬆️
Contact me ⬆️
Let's chat. UPDATE: Thanks for boosts, we have a custom link now discord.gg/fireship
less goo!!!!!
😮
Is there a particular reason why this comment isn't pinned?
Hey Jeff, why is this video in 480p?
Please make video on your journey as a developer and the ups-downs you faced. btw love watching your video and it inspires a lot ^_^
I'm not a bot
That's probably what a bot would say
I guess we only get 480p eh?
I would love to see a Telegram got tutorial next
Do matrix next
I didn't realize how easy it is. Definitely will try making my own bot soon!
He lost me at the coding part
@@R80QZ this fr
I can confirm this youtube video will hit a lot of views, due to the topic being so popular ;)
Is it possible to imbue a bot with the memories/information of fictional characters? I need to know, as I must create a Lelouch Vi Britannia bot as well as a Zero bot.
can we get a video about a TEAMS bot?
Cool
can you give some examples of free bot hostings?
why your videos aren't in hd?
Can you make example repo on GitHub with base for a bot? It would be really helpful.
Btw great video
Our helpline⬆️
Contact me ⬆️
Do you have twitter bot as well?
Javascript or Python is better for easily builds a bot?
LET'S GOOOO
what app is he using for the codes
3:30 youtube not THAT liike 😭
The long awaited tutorial. 2:32 thanks for the free token.
when i put npm in the terminal it says that it doesn't know what that is
I managed to run telegram bots on serverless environment via web hooks I'm not sure if that also possible for discord tho
what was the javascript app?
Love from bangladesh
Why is the quality 480p at max?
I have a bot that will turn on a led if my mic is muted and off when unmuted, hosted on my raspberry pi
This works amazingly with langchain.
only 480p?
My rather biased self would love to see a How to Build a [matrix] Bot video :)
+1
are you reset your token bro?
The content field is always empty for some reason?
Why your videos are 480p?
Why 480p?
Any idea why this video is only 480p?
Not a fan of the builder pattern huh, spicy
why's its only 480p on quality??
3:10 !message?.author.bot can anyone explain why there is question mark?
Why don't you like the builder pattern?
okj , but how do i run it ?
Vscode extension tutorial?
about discord and rustlang rust ?
1:55 You can 100% build a bot using serverless functions because that's what I'm doing right now
can you lease shed more light on the how?
I tried. Not possible for discord bots.
how
It's made possible by using HTTP interactions instead of Gateway events.
Why are you not a fan of the builder pattern?
Hey! There's this scammer on using your logo that replies to commentsvon your channel. Reported it earlier today not sure if the channel got taken down. Just putting it out so you know and if possible you could give a heads up to your followers