Комментарии:
next: command handler
Ответитьthanks this helped, btw 'ascii' is pronounced (Ass-kii)
ОтветитьThis is sooo sick!!! tysm
Ответитьi have a problem code: 'MODULE_NOT_FOUND' can you help me pls
ОтветитьI put the value const client = new Client({intents: 32767}); it shows
[Symbol(code)]: 'DISALLOWED_INTENTS', how to fix?
too tough :(((
ОтветитьThank you it worked! Just had to fix some spelling mistakes and that was it.
Ответитьwhy do you need to use promisify and glob? what do they do for real?
Thanks for the content!! Shout out from Brazil
I have a error in Events.js in (await PG....
can you resolve that?
TypeError: (intermediate value) is not a function
at module.exports How to fix?
i just got:
.
||
|
'
best channel ever
Ответить.-----------------.
| Events Loaded |
|-----------------|
| | ✔️ SUCESSFUL |
'-----------------'
The Client Is Now Ready!
mines got this
help node .
.--------------------------------------------------------------------.
| Events Loaded |
|--------------------------------------------------------------------|
| ready | ❌ Event name is either invalid or missing: Client/ready.js |
'--------------------------------------------------------------------' everything is written correctly
event handler? zamnn
Ответитьhey i didn't understand the part when you typed
const Table = new Ascii, what do you mean by the whatever name is? is it gotta be ascii?
/home/arthur/Documents/Projects/Bot/Handlers/Events.js:10
(await PG(`${process.cwd()}/Events/*/*.js`)).map(async (file) => {
^
TypeError: (intermediate value) is not a function
at module.exports (/home/arthur/Documents/Projects/Bot/Handlers/Events.js:10:3)
how to fix?
(await PG(`${process.cwd()}/Events/**/*.js`)).map(async (file) => {
dont forget to add 1 * after Events/*
you are so underrated man, great tutorials, absolutely love it and subscribed
ОтветитьI love u it worked I am happy ☺☺☺☺☺
ОтветитьTypeError: require(...) is not a function
at Object.<anonymous> (C:\Users\*****\Documents\discordbot\src\index.js:7:30)
C:\Users\*****\Documents\discordbot\src\index.js:7
require("../Handlers/Events")(client);
^
When i run the but , logs return
.
||
|
'
Can you help me pls ?
(await PG(`${process.cwd()}/Events/**/*.js`)).map(async (file) => {
^
TypeError: (intermediate value) is not a function
at module.exports (C:\Bot\Handerls\Events.js:11:5)
it says ReferenceError: Table is not defined
at Object.<anonymous> (C:\Users\ultim\DineroManager\Handlers\Events.js:27:17) what do i do?
can someone help me ??
Ответитьawait PG(`${process.cwd()}/Events/*/*.js`)).map(async (file) => {
^
TypeError: (intermediate value) is not a function whats the error??
I have an empty table printed
Ответитьfor some reason the events files array that got returned from PG function is returning an empty array
(await PG(`${process.cwd()}/events/*/*.js`))
i checked if there's a mistake with the folder name but there's no mistakes
ISSUE SOLUTION: TypeError (intermediate value) is not a function
Line Issue: (await PG (`${process.cwd()}/Events/*/*.js`)).map(async (file) => {...}
Put a semicolon after Line 8 (the one right before the issue line): const Table = new ascii("Events Loaded")
It should work properly afterwards
Error: Cannot find module './Handlers/Events'
Require stack:
How can i use @param? The text is just green for me.
ОтветитьHi, i have try to install glob and the table but i get lot of errors bu the installatiions i run discord.js 13.8.0
Ответитьto everyone who gets the console crashed u can use this (await PG(`${(process.cwd().replace(/\\/g, "/"))}/TYPE/*/*.js`))
ОтветитьIt works but when i put rEady instead of ready I get the error in the console but both of my L array variables are undefined and my code is the exact same. Event name is either invalid or missing: undefined/undefined
ОтветитьTypeError: require(...) is not a function
at Object.<anonymous> (/home/runner/Toomy/index.js:5:29)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
E
ОтветитьI did everything as you said in this video and everyting works, but...
my console outputs incomplete message.
messge in console:
.
||
|
'
how can i fix this?
here is how to pronounce Ascii: "Ass" - "Key"
sorry for the swear word if you think that is a swear word
When I create an event and start it, it doesn't run and doesn't show up in the list. Can you help me?
ОтветитьRussian Discord servers very problem
Ответить