First Coding Project: Discord Bot #1 | Slash-Command & Context-Menu Handler | Learn Coding by doing

Published: 04 March 2023
on channel: Chrissy Code
1,283
48

➾ You ever wanted to Learn Javascript? The best way to learn to code, is by making projects. Coding Websites is lame, making Chat Bots is fun but hard! With me you have the easiest path of learning to code PRO-BOTs while having fun with it.

Today is the first Episode, where we are building not just a base Bot. But directly a Slash-Command Handler, a Context-Menu Handler and an Event Handler. This makes it super easy for you to continue the Project and adding more and more commands!

◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️↩️

► GIthub:
➾ https://github.com/Tomato6966/Tutoria...

◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️↩️

► Support me: ❤️
➾ https://paypal.me/MilratoDevelopment

◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️↩️

► Visual Studio Code:
➾ https://code.visualstudio.com
► Node.js:
➾ https://nodejs.org
► Discord.js:
➾ https://discord.js.org
► Discord Developer Portal:
➾   / discord  

◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️↩️

🎶 Music used:    • Video  

◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️↩️

🕛 Timestamps:
00:00 Introduction + needed Software
01:04 Creating the Bot explanation
01:27 Creating the Project in VSC
03:01 CJS / MJS / ESM / TS - What's the difference?
06:05 Initialize the Project Settings
08:00 Let's get into coding
12:05 How to get intellisense for external packages (npm)
15:15 Events & Websocket explanation
18:00 Creating Slash Command Publisher
19:35 How to add Types with JSDOC
23:00 File Loading Utils every Project needs
28:40 Command- & Event-Loader
31:10 Create the first Events
34:35 Create the first Slash- & Context-Menu-Commands
37:55 Testing the Bot & add one advancement
40:45 Ending & What comes next?


◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️➖◼️↩️

Tags:
#Coding #Javascript #LearnByDoing #Discord #DiscordBot #Bot #Api #Beginner #Pro #Advanced #Programming


On this page of the site you can watch the video online First Coding Project: Discord Bot #1 | Slash-Command & Context-Menu Handler | Learn Coding by doing with a duration of hours minute second in good quality, which was uploaded by the user Chrissy Code 04 March 2023, share the link with friends and acquaintances, this video has already been watched 1,283 times on youtube and it was liked by 48 viewers. Enjoy your viewing!