[2024] How To Make A Discord Bot For Beginners | Complete Setup | Discord.js v14

[2024] How To Make A Discord Bot For Beginners | Complete Setup | Discord.js v14

Jishan Kharbanda

10 месяцев назад

27,646 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

hazazi
hazazi - 03.11.2023 13:36

I hope if you may can explain whats mean const and those stuff I mean in a tutorial I want to understand what am I doing to learn about that but ill follow you for more tutorials anyway thanks.

Ответить
Rayny
Rayny - 24.10.2023 13:43

Hey there,
Upon creating the terminal and entering "node .", i get this error message...

node:internal/process/promises:289
triggerUncaughtException(err, true /* fromPromise */);
^

ConnectTimeoutError: Connect Timeout Error
at onConnectTimeout (C:\Users\Ryan\Downloads\ODDS ON\node_modules\undici\lib\core\connect.js:182:24)
at C:\Users\Ryan\Downloads\ODDS ON\node_modules\undici\lib\core\connect.js:129:46
at Immediate._onImmediate (C:\Users\Ryan\Downloads\ODDS ON\node_modules\undici\lib\core\connect.js:168:33)
at process.processImmediate (node:internal/timers:478:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}

Node.js v20.8.1

Please help!!!

Ответить
Overlord
Overlord - 21.10.2023 19:41

GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent all don't work anymore, so I'm kinda stuck lol

Ответить
D13G0RV
D13G0RV - 14.10.2023 01:44

i have a question what is the package-lock.json for ?

Ответить
IoFPV
IoFPV - 11.10.2023 23:55

Thank you man your video really helped me

Ответить
potato
potato - 03.10.2023 13:01

mine says used disallowed intents pleasee help

Ответить
Vifetexy
Vifetexy - 25.09.2023 20:56

bro it says invalid token when i type node . then press enter. what do i do???

Ответить
Piggers
Piggers - 23.09.2023 04:15

it says error: new error("used disallowed intents")

Ответить
Tillu
Tillu - 13.09.2023 06:56

You have invalid token and one unclosed bracket on line 7. It hsa to be ) not }

Ответить
candypow5
candypow5 - 10.09.2023 00:40

i did this tutorial 12 times wondering why it kept saying 'Please verify package.json has a valid "main" entry' only to realise just now i put scr instead of src for the folder and src for the package.json. I have no idea how i did this 12 times in a row

Ответить
atthomms
atthomms - 07.09.2023 23:15

Hello! I got a question. When I tried installing node js, 5 options popped up in the node js window and i didn't know which to install:

"Node.js runtime"
"corepack manager"
"npm package manager" (the one I tried but didn't work)
"Online documentation shortcuts"
and
"Add to PATH"

WHICH ONE OF ALL THE ABOVE DO I HAVE TO INSTALL???
Thanks! Have a great day!

Ответить
nivre
nivre - 01.09.2023 04:33

my discord.js is installing but it isnt going into my created folder

Ответить
Allyelista
Allyelista - 15.08.2023 09:46

it says cant read file

Ответить
JustFard2
JustFard2 - 13.08.2023 02:31

I know this was uploaded a while ago but I have inserted all of the index. js and when i run the command "node .




I get...

SyntaxError: Unexpected token '{'


This was done on discord js 14.12.1 however you did it on 14.11 so either the update had muddled the code up or I did something wrong.



EDIT: I figured out the problem!

Ответить
Fiv
Fiv - 10.08.2023 18:05

Anyone knowing how to make it be online always?

Ответить