Bot not waking up

This is just basic code so there is no errors, but the bot wont wake up
No description
26 Replies
d.js toolkit
d.js toolkit7mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by staff
chewie
chewie7mo ago
You should... save your files. CTRL + K, then S
auvqrs
auvqrsOP7mo ago
What is CTRL+K short for? also thanks, it worked!!
chewie
chewie7mo ago
idk what the actual keybind is called, pressing CTRL + K enters some kind of command mode, in which you can press S to save all your files
auvqrs
auvqrsOP7mo ago
Oh, thanks! @Octobacca 🌈 whats the issue here
auvqrs
auvqrsOP7mo ago
No description
No description
auvqrs
auvqrsOP7mo ago
the cmd doesnt show up no errors in terminal
d.js docs
d.js docs7mo ago
We do not provide any help with third party libraries discord.js supports message components natively. - Select Menus: learn more - Buttons: learn more - Modals: learn more
deqzii.
deqzii.7mo ago
Try changing your client event to this:
client.once('ready', () => {
console.log(`Ready! Logged in as ${client.user.tag}`);
});
client.once('ready', () => {
console.log(`Ready! Logged in as ${client.user.tag}`);
});
treble/luna
treble/luna7mo ago
that wont change nothing Not to mention the event fires with a client, so you should use it
Rusty
Rusty7mo ago
Did you installed discord.js?
treble/luna
treble/luna7mo ago
that would result in an error if they didnt
Rusty
Rusty7mo ago
I had a case when it didn’t Also, does he import all needed intents to run the app?
treble/luna
treble/luna7mo ago
you dont need any intents to fire clientready nor interactions
Rusty
Rusty7mo ago
Why is it “Events.ClientReady”? Shouldn’t it be just “ready”?
treble/luna
treble/luna7mo ago
because it fires when the client is ready the actual ready from discord is sent before that and v15 will also make a distinction between both
Rusty
Rusty7mo ago
So what the difference between both of them?
Amgelo
Amgelo7mo ago
one is discord's, one is djs' discord's is Ready, djs' is ClientReady
Rusty
Rusty7mo ago
And no difference?
Amgelo
Amgelo7mo ago
well if there was no difference then they wouldn't be distinct :Thonk:
d.js docs
d.js docs7mo ago
:discord: Gateway Events - Ready read more
Amgelo
Amgelo7mo ago
that discord's though now that I notice, you should move to #djs-help-v14 or #djs-questions if you want more info you're filling someone else's issue with unrelated questions
Rusty
Rusty7mo ago
Can you solve their issue?
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View
Rusty
Rusty7mo ago
Except you, I am trying to figure what the problem is
Unknown User
Unknown User7mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?