
You will get a introduction to the course and what you learn in the course.
You will learn who is your instructor.
You will understand that all future course updates are made for free.
A complete list over the course updates and what's to come.
Take the course at your own pace.
What is important to you in this course? What sections do you want to complete?
Explaining about the software used within this course.
Providing you with the correct links to nodejs and visual studio code.
Installing Nodejs programming language.
Installing Visual Studio Code.
Version control is important to make sure software works as intended throughout this course.
Teaching you about some commands within Visual Studio Code that we will be using.
How you create a new Discord Server.
Creating a new Discord bot.
Troubleshooting if the bot doesn't work.
Explaining the Next Step.
Explaining the objective of this section. Which is to teach you the basics of nodejs programming.
console.log() is used to print data to the console or the output terminal.
Teaching you the 3 types of variables that exist within nodejs programming language. Variables hold values.
Text lecture explaining console.log and variables within nodejs.
for loops within programming is used to iterate through arrays, lists, values.
If we have a list of 100 products and we want to find a product with a specific name, we can achieve that by using for loops. This is like finding a specific page in a book.
Arrays is essentially like a list but slightly different. In this lecture I will teach you how arrays work and what they are.
Text lecture explaining for loops and arrays.
If statements, else if statements and else statements are used within programming languages to declare conditions and proceed with the execution of the program.
If statements text lecture.
Functions are essential to programming. Functions is essentially a box that is filled with code such as if statements, variables and database calls. Code is usually put inside functions depending on what the purpose of the function is. Variables created inside functions, only live inside that specific function. Functions can have parameters which mean that we can send data to the function.
Functions text lecture.
JSON Data lecture.
JSON Text lecture
Creating a program that converts Celsius to Fahrenheit and Fahrenheit back into Celsius.
Creating a program that converts kilos to pounds and pounds to kilos as well as converting the kilos to whole metric tons.
Teaching you how to write proper comments that explains what your code is doing. Comments are essential and is 40% of the importance within software development.
Converting milliseconds to Date and time!
.forEach() is not a function, why? I will explain in this lecture why.
What is a const variable and when do we use const keyword and why? In this lecture I will explain when and why.
Explaining what we're doing in the upcoming section. Which is to develop a Discord bot.
Describing the objective of this section, which is to create a Discord bot!
Explaining what's new in the course update.
Creating a Discord Server.
Creating a Discord Bot.
A new easier way to invite the bot to your Discord Server.
Creating the app.js file and inviting the bot to our server.
Talking about the discord.js documentation and how to use the documentation to your advantage.
Installation npm.
Discord.js & Course update!
Creating a new Client and specifying intents and partials.
Ready event and Login Method to get the bot application online.
Token safety, keeping your password safer.
The bot will reply to messages.
Adding !help commands.
A lecture covering some basic math in programming.
Display date & time when the Discord server was created.
Promises in Node.js to fetch all members of a Discord server.
Display when a member joined the Discord server.
Explaining what you'll learn in this section.
How you can host the bot on your own computer/server.
How you can host the bot on your own computer/server.
How and why you should keep your password safe!
A short explanation about nodejs web servers and discord bots.
In this section we're developing a Discord bot that you can play rock, paper & scissors with!
We will be using a template for this discord bot.
Explaining the game logic.
We'll be writing code that handles the user input. rock paper or scissors
Adding Computer RNG to determine who won the game.
Finishing up the rock paper scissors game with if statements and a tailored statusmessage.
Explaining how we're going to save the game data to a file.
Creating the Object structure of the game object.
Saving data to the gamedata.json file.
Reading data from gamedata.json file.
Creating the saveGame() function that handles the adaptation of game object properties.
Determine if we need to create a new game object or update an existing one.
Creating a new Game object and save to the gamedata.json file.
Getting paper & scissors command to work.
An overview of the logic behind displaying game data.
Writing a function that returns the data of all games in gamedata.json.
Writing a function that returns the data of a specific game in gamedata.json.
Improvements & Expansion. What can you do to further develop this bot?
In this section we're going to develop a discord bot that handles the creation of polls that server members can vote on.
To create this bot we're going to use a template that I've made. This is going to speed up the process and get you started quickly developing the poll bot.
Creating the baseline for all the commands within the poll bot. The !help command will display all available commands.
Creating an external function that handles the logic to create a new poll.
Sending data from app.js to the external file and create a new object.
Using Filesystem to save the poll data to a JSON file.
In this lecture we will be able to read data from poll.json file and extend the data instead of overwriting the data.
Adding correct IDs to each poll and adding more properties. The !create command will be completed within this lecture.
Correcting myself about JSON.stringify() method.
Correcting myself about JSON.parse() method.
Returning a list of all polls in the poll.json file.
Display a list of all existing polls.
Able to select a specific poll to view the voting options.
Creating an embedded message to display the options for the poll.
Replacing the timestamp with the correct date when the poll was created.
Adding fields to the embed message.
Creating a graph for the yes and no votes on a specific poll.
Finishing the creation of the graph that display's the amount of votes on the poll.
the !close <id> command is going to close a specific poll if you are the author of the poll.
Finishing the development of the !close <id> poll command.
The start of creating the !vote command so that server members can vote on a specific poll.
Loop through all polls and find the poll the server member tried to vote on.
Register a server members vote on a specific poll.
Adding some improvements to the poll bot.
Pros & Cons about the Discord bot.
What is the benefit of reading the documentation about programming?
What we're doing within this section!
Informing you about a small change to the Discord bot intents and partials.
Adding the correct updated intents for the Discord bot.
Creating the logic to handle user text input from the discord server or direct messages in the discord application.
Handling the number input, the second word in the sentence is expected to be a number if first word is !randomreward command.
Teaching you the isNaN Method. Which checks if input is Not a Number.
The bot needs to have a minimum and maximum number of loot boxes that can be opened.
Creating a for loop that determines how many reward roll we're going to get from opening x amount of loot boxes. Spoiler: each loot box generated between 3 and 5 items.
We're creating a for loop that generates a number between 1 and 250. And we're creating the variables that will hold the count of how many rare rewards we're receiving.
Channel.type Update lecture.
Creating the if statements that will determine if we receive loot or not depending on the random number generated. The luck factor.
Tailoring a response message that doesn't break DRY principle. This message will display how many loot boxes you opened and how many rare rewards that you received from the loot boxes.
Adding comments to explain what the code does within the program. Follow along and create your own comments to explain your code! I will show you how to do that.
In this section we're creating a movie list sorter project within nodejs programming language.
The start of the project, creating an array of json objects.
Creating a function that returns all available movies from the movielist.
Creating a function that searches for a specific movie title if it exists or not.
Creating a function that displays movies that has a minimum rating of ex. 7.
Creating a function that displays what movies that we can and can't afford.
Creating a function that determines if we can watch a movie based of title, our age and our money. If movie exist, if we are old enough to watch the movie and if we have enough money to watch the movie.
A quick text-lecture about the following lecture if you haven't developed a Discord bot yet.
Circular Reference within Nodejs.
DRY Pattern, What is DRY? Don't Repeat Yourself. Why is that important? in this lecture we will discuss that.
Writing comments that explain your code is important. For other programmers to understand your program. For you to show that you understand your own program. As well as it's easier to come back and further develop your program if you have comments that explains the code.
When a user joins your server, this bot will send a welcoming message in the server and in DMs tagging the user.
Discord.js intents update and bot template update.
Reading documentation to get an understanding of how it works to add a guildmember in the terms of backend code and json objects.
Adding the correct intents and using guildMemberAdd event.
You will learn what circle reference is within javascript.
Fetching channels that exist within the Discord Server. Saving the channel's ID to use for later.
Presenting a welcome message to the user that just joined the server.
Presenting an admin message about who joined the server and when the user joined the server.
The bot will send a direct message to the user that joined the server. As well as adding comments to explain the code.
Fixing the issue with the bot not being able to send a direct message to the user that just joined the server.
Hi there, 'Develop Discord Bots in nodejs Complete course' is perfect for you who wish to make Discord bots and add to your server. In this course I will teach you how to create some basic and then more advanced bots. We're going to have a lot of fun!
As we progress further into the course, the bots will become more advanced and your skill will grow rapidly.
Each bot serves a purpose, some bots are more educational and some bots are useful on a daily basis.
I will be there developing the bots with you, even if you get stuck you will be able to get the bot up and running by downloading the source code from the lecture.
Why trust me?
I've been developing different kinds of software including a lot of web development during my time span as a developer. Creating complex functions with tons of security is my favorite. Creating outstanding code is my focus. I'm teaching you nodejs in this course which is the fastest language to use when it comes to Discord bots. I have 4 years of experience in programming and I've used different languages to build different type of software applications. When this course was first released for free I received a lot of positive feedback. Now this course is being further developed to become a large Discord bot course.
Why this course?
• The best bot course on Udemy.
• You have lifetime access, you will get new content for free.
• At a very generous price. The knowledge within this course is literally worth $400-$500.
• Downloadable code so you can use my code for free.
• Bots are made to teach you how to handle objects in programming.
• 1080p HD videos.
• English captions.