VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
How to Build a Discord Bot - Full JavaScript Chatbot Tutorial

How to Build a Discord Bot - Full JavaScript Chatbot Tutorial

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
Learn to code a Discord bot with JavaScript using Node.js. - Written Tutorial - https://www.devdungeon.com/content/javascript-discord-bot-tutorial - Unicode Emojis - https://unicode.org/emoji/charts/full-emoji-list.html - Official Documentation - https://discord.js.org Tutorial by Dev Dungeon. Check out their YouTube channel: https://www.youtube.com/channel/UCgkG68BiCngkoV7I2BLtAVg
Date: 2022-03-14

Comments and reviews: 10


Is this supposed to work with 2020 Development? cause I had two errors that were supposed to be not errors which are -else if- and --- nearby one of the message for the bot to send so I need help to see what is going on or what I am supposed to put
Oh also this error -The parser expected to find a '-' to match the '-' token here.- Like I didn't copy everything from this video cause my bot is different from this and so I got an error nearby: -lient.on('message', (recievedMessage) => -- and the - is the problem..

reply

Note for all devs watching this video in 2020-2021:
please put .cache after .guilds or .guild..cache
discord has updated this so you might run into errors if you don't put it

reply

i currently have a custom dice app that i want to integrate into a discord bot. is there a way to link said diceapp to a bot so i don't have to rewrite code?
reply

If you encountered an error with npm install discord.js press ctrl + r and type where npm. After that restart your computer and you should be all set!
reply

5:40 -it should automatically put you in the directory you are working in-
In my case it doesn't, how do i reach that directory in terminal

reply

I try to do -node my_bot.js- but it comes up with -TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client- why?
reply

Can I have the discord link cause the one that you showed is not working and when I was trying to code with node it shows an error.
reply

In 7:46 while testing out the first code. Why did it work when i saved the code as my_bot.js but didnt work when i saved it as mybot.js
reply

TypeError: client.guilds.forEach is not a function.
The entire portion of the video that deals with forEach doesn't work anymore.

reply

When Im writing node.js, there is no message being displayed...moreover the bot is not going online...please help me out
reply
Add a review, comment






Other channel videos