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 toolkit2d 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
chewie2d ago
You should... save your files. CTRL + K, then S
auvqrs
auvqrsOP2d ago
What is CTRL+K short for? also thanks, it worked!!
chewie
chewie2d 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
auvqrsOP2d ago
Oh, thanks! @Octobacca 🌈 whats the issue here
auvqrs
auvqrsOP2d ago
No description
No description
auvqrs
auvqrsOP2d ago
the cmd doesnt show up no errors in terminal
d.js docs
d.js docs2d 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.2d 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/luna2d ago
that wont change nothing Not to mention the event fires with a client, so you should use it
Rusty
Rusty2d ago
Did you installed discord.js?
treble/luna
treble/luna2d ago
that would result in an error if they didnt
Rusty
Rusty2d ago
I had a case when it didn’t Also, does he import all needed intents to run the app?
treble/luna
treble/luna2d ago
you dont need any intents to fire clientready nor interactions
Rusty
Rusty2d ago
Why is it “Events.ClientReady”? Shouldn’t it be just “ready”?
treble/luna
treble/luna2d 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
Rusty2d ago
So what the difference between both of them?
Amgelo
Amgelo2d ago
one is discord's, one is djs' discord's is Ready, djs' is ClientReady
Rusty
Rusty2d ago
And no difference?
Amgelo
Amgelo2d ago
well if there was no difference then they wouldn't be distinct :Thonk:
d.js docs
d.js docs2d ago
:discord: Gateway Events - Ready read more
Amgelo
Amgelo2d 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
Rusty2d ago
Can you solve their issue?
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View
Rusty
Rusty2d ago
Except you, I am trying to figure what the problem is
Unknown User
Unknown User2d ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?