How to code a discord bot - SLASH COMMANDS - Working 2022 Discord.js v14

preview_player
Показать описание

This is a new, updated bot series that is based on v14, so if you want more videos leave a like & subscribe!

Help Server (SLASH COMMAND PACKAGE HERE):

All the websites used in this video:

Up-vote eski & add it to your servers!
Рекомендации по теме
Комментарии
Автор

Like & Subscribe for more discord.js videos!

MrJAwesomeYT
Автор

I appreciate that you take the time to redo every steps to create the bot from the start instead of just adding this to an already existing code that is learned in another video.

mrphilly
Автор

first tutorial that actually worked with global slash commands, thank you.

crumpppethan
Автор

I bet you get tired of repeating the intro instructions haha, nice video man!

Griffyn
Автор

Around 6:40, I get "TypeError: Cannot read properties of undefined (reading 'FLAGS')" after entering "node ." into the Terminal

xcpryt
Автор

Didn't work, it says that "execute" is an unexpected identifier.

pop__
Автор

my computer is saying that npm is not recognized as an internal or external command,
operable program or batch file.

coolgammathecat
Автор

"code: 'MODULE_NOT_FOUND',
requireStack: [ 'C:\\Users\\Suri ]"
i have room temperature IQ and can't figure out what this is asking of me please help

eltiolavara
Автор

itw not giving me the packagelock thing when i do npm init help?

DearestYuno
Автор

WHY THE **** DOES IT NOT IT WAS WORKING AT FIRST

DailyRasta
Автор

'npm' is not recognized as an internal or external command,
operable program or batch file. is what happens in cmd for me

HorizonSports.
Автор

if anyone trying to make there code like only you can see then

interaction.reply({ content: 'The Bot Is Working!'});
over here Change it to
interaction.reply({ content: 'The Bot Is Working!', ephemeral: true });

And That Should Do it just add (, ephemeral: true)

Sonigamerche
Автор

Bro I finnaly can add slash commands, thank too much

norminaluser
Автор

I got this error:
npm : The term 'npm' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ npm i dotenv
+ ~~~
+ CategoryInfo : ObjectNotFound: (npm:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

e-r-r-o-r---
Автор

Thank you sm. But can you make a Video for embed messages and 24/7 hosting? thx

cptcr
Автор

My command just doesn't show up, any fixes?

JavoOnYoutube
Автор

SlashCommandBuilder isn't defined lmao

Radeums
Автор

At the end I run node . Then it says
errors: { application_id: [Object] },

IZaloll
Автор

so instead of showing us how to code it, you just provide us with a zip file?....

Corzal
Автор

The command doesn't show up for me :(

_Jiwan_