Uploaded March 2021 | Updated September 2026, 1 week ago
Array Destructuring is a much cleaner way to access array elements in JavaScript. In this short tutorial we'll go over exactly how to do that.
#javascript #shorts #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos.
Array Destructuring is a much cleaner way to access array elements in JavaScript. In this short tutorial we'll go over exactly how to do that.
#javascript #shorts #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos.

![Discord JS Role Commands: Give, Remove, and Has (2020) [Episode #42]
Learn how to manage roles with a command in Discord.JS.
🔥 Source code download ➡ https://wornoffkeys.com/code?yt=pCFCLB-jzoo
🧠 Learn website dashboards + bot monetization ➡ https://levelupyourbot.com
🙋♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord
📺 Watch more Discord.JS videos here:
https://wornoffkeys.com/playlist/djs
💡 Have an idea for a video or course? Request it here:
https://wornoffkeys.com/content-request
🕒 Timestamps:
00:00 Introduction
00:29 Creating the give role command
09:21 Creating the remove role command
11:27 Creating the has role command
12:28 Outro
#discordjs #discordbots #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos. Discord JS Role Commands: Give, Remove, and Has (2020) [Episode #42]](https://i.ytimg.com/vi/pCFCLB-jzoo/mqdefault.jpg)


![Discord.JS v13 - Slash Commands [Ep. 4]
Slash Commands are the best way to utilize command handling in Discord.JS
🔥 Source code download ➡ https://wornoffkeys.com/code?yt=pXehoXnFxPM
🧠 Learn website dashboards + bot monetization ➡ https://levelupyourbot.com
🙋♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord
📺 Watch more Discord.JS videos here:
https://wornoffkeys.com/playlist/djs
💡 Have an idea for a video or course? Request it here:
https://wornoffkeys.com/content-request
🕒 Timestamps:
00:00 What we will and wont cover
00:43 Running our bot
01:39 Making a ping Slash Command
06:41 Making an add Slash Command
11:07 Deferring a reply
13:15 Outro
#discordjs #discordbots #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos. Discord.JS v13 - Slash Commands [Ep. 4]](https://i.ytimg.com/vi/pXehoXnFxPM/mqdefault.jpg)
![MongoDB in NodeJS - Updating Data (2020) [Episode #5]
In this video we go over how to update a single document as well as how to update multiple documents within MongoDB.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🖥️ Source code:
https://github.com/AlexzanderFlores/Worn-Off-Keys-MongoDB-NodeJS
🙋♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord
💡 Have an idea for a video or course? Request it here:
https://wornoffkeys.com/content-request
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🕐 Timestamps:
00:00 Introduction
00:32 Using updateOne
03:03 Using updateMany
03:33 Outro
#mongodb #javascript #nodejs #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos. MongoDB in NodeJS - Updating Data (2020) [Episode #5]](https://i.ytimg.com/vi/peVGxJCMGQI/mqdefault.jpg)
![MongoDB in NodeJS - Array Query Operators: ElemMatch, All, and Size (2020) [Episode #17]
Sometimes you need to search through arrays, in this video I show you 3 ways of how to do that. First we look at the $all operator, which will let you find documents that contain all specified elements of a given array. Next we look at the size operator, which allows you to search by array size. Last we look at the elemMatch operator, which lets you find values conditionally (greater than, less than, etc) from within the array.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🖥️ Source code:
https://github.com/AlexzanderFlores/Worn-Off-Keys-MongoDB-NodeJS
🙋♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord
💡 Have an idea for a video or course? Request it here:
https://wornoffkeys.com/content-request
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
🕐 Timestamps:
00:00 Introduction
00:33 Adding an array to our schema and document
01:47 Using the $all operator
03:44 Using the $size operator
04:38 Using the $elemMatch operator
05:51 Outro
#mongodb #javascript #nodejs #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos. MongoDB in NodeJS - Array Query Operators: ElemMatch, All, and Size (2020) [Episode #17]](https://i.ytimg.com/vi/q4v_aUiVWYQ/mqdefault.jpg)
![Discord.JS v13 - Set Status Command and Auto Changing Status [Ep. 12]
Learn how to change your Discord bots status.
🔥 Source code download ➡ https://wornoffkeys.com/code?yt=q6L53wJN5mw
🧠 Learn website dashboards + bot monetization ➡ https://levelupyourbot.com
🙋♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord
📺 Watch more Discord.JS videos here:
https://wornoffkeys.com/playlist/djs
💡 Have an idea for a video or course? Request it here:
https://wornoffkeys.com/content-request
🕒 Timestamps:
00:00 Set status command
07:11 Auto changing status
12:04 Outro
#discordjs #discordbots #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos. Discord.JS v13 - Set Status Command and Auto Changing Status [Ep. 12]](https://i.ytimg.com/vi/q6L53wJN5mw/mqdefault.jpg)
![Discord JS Ban and Kick Command (2020) [Episode #12]
Learn how to create a ban and kick command using Discord.JS
🔥 Source code download ➡ https://wornoffkeys.com/code?yt=qIg1cRKafvQ
🧠 Learn website dashboards + bot monetization ➡ https://levelupyourbot.com
🙋♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord
📺 Watch more Discord.JS videos here:
https://wornoffkeys.com/playlist/djs
💡 Have an idea for a video or course? Request it here:
https://wornoffkeys.com/content-request
🕒 Timestamps:
00:00 Introduction
00:16 Creating our ban command
05:17 Creating our kick command
06:01 Outro
#discordjs #discordbots #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos. Discord JS Ban and Kick Command (2020) [Episode #12]](https://i.ytimg.com/vi/qIg1cRKafvQ/mqdefault.jpg)
![Discord Bot Development for Beginners [Ep 1]
Discord bots are fun and simple projects. In this video we create a basic Hello World bot.
🔥 Source code download ➡ https://wornoffkeys.com/code?yt=qRMVNtIF73c
🧠 Learn website dashboards + bot monetization ➡ https://levelupyourbot.com
🤖 Discord Developer Portal:
https://discord.com/developers/applications
🙋♂️ Need help? Ask in our Discord community:
https://wornoffkeys.com/discord
📺 Watch more Discord.JS videos here:
https://wornoffkeys.com/playlist/djs
💡 Have an idea for a video or course? Request it here:
https://wornoffkeys.com/content-request
🕒 Timestamps:
00:00 Creating your project
00:30 Creating your bot
01:55 Writing the code
05:07 Outro
#discordjs #discordbots #wornoffkeys
FTC Legal Disclaimer - Some links found in my video descriptions might be affiliate links, meaning I will make commission on sales you make through my link. This is at no extra cost to you and it helps support the channel so I can make more free YouTube videos. Discord Bot Development for Beginners [Ep 1]](https://i.ytimg.com/vi/qRMVNtIF73c/mqdefault.jpg)
