Discord JS Introduction - Creating your bot (2020) [Episode #1]

preview_player
Показать описание
In this video we go over setting up our first Discord bot using the Discord.JS JavaScript library.

🙋‍♂️ Need help? Ask in our Discord community:

📺 Watch more Discord.JS videos here:

💡 Have an idea for a video or course? Request it here:

------------------------------

🕒 Timestamps:
00:00 Introduction
00:13 Creating our bot
01:45 Setting up our Discord.JS project
03:57 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.
Рекомендации по теме
Комментарии
Автор

🧠 Learn website dashboards + bot monetization:
levelupyourbot.com
🙋‍♂ Need help? Ask in our Discord community:
wornoffkeys.com/discord

WornOffKeys
Автор

2022 update (If you have just started learning) Things you need to know

1: Use node version 16 or higher to use discord.js library
2: intents needed to be passed to client so new way of using client would be

const {Client, Intents} = require( 'discord.js' )
const client = new Client( {intents: [Intents.FLAGS.GUILDS, )

Rest is same. Enjoy!

Sightfails
Автор

oh wow just found this series. 80 videos and going? cool, time to watch it all :D

Muphet
Автор

This is the most underrated tutorial channel it explains so it so well

treesontop
Автор

the most underrate tutorial channel
hats off

roronoa_zoro
Автор

Do we only require to study JS or NodeJs too for learning DiscordJS ?

amitgoyal
Автор

You can just type node . Which basically run the file aswell.You can just open up terminal on visual studio code

echomatmat
Автор

i wish you would've explained how to setup cmder :((

izziearii
Автор

Hey, so my bot only runs when I use it in the cmd and not the terminal. Do you know what might be happening?

darkexelive
Автор

Absolutely fantastic series. Helped me understand so many different aspects of bot creation!

chesterng
Автор

pro tip there is auto save in VSC that i use and you can still undo and redo the codes you have done

cheyennehamilton
Автор

Can you pls make a new setup vid as now in Djs 13 there are Intents And I cannot understand a thing

elipson
Автор

I was wondering about the repository. If you open the first folder and do your work in that, then open another folder e.g. (08-Embeds) do you replace the files in the latest folder?

mickeymouseganghouse
Автор

I wish you explained how to use cmder at the beginning.

badblli
Автор

why when i tap node index.js is not doing anything man someon to help me

itschris
Автор

So Ive used glitch to script discord Bots but I'm moving here but I don't know what to do.

Jacob-sqxk
Автор

I get an error: "Valid intents must be provided for the client"

trapido
Автор

when i put my package.json inside the "1-Creating-The-Bot" Folder when i try to use "node index.js" in terminal it just say something like: "code: 'MODULE_NOT_FOUND', requirestack: []

wakicial
Автор

Awesome i use a same thing but different using discord.js

echomatmat
Автор

When i try to use node . or node index.js it does nothing at all. all of the other commands work like npm init and npm install
but I cant run the bot no error nothing

shortign
visit shbcf.ru