okunamayanad
Explore posts from serversDIAdiscord.js - Imagine an app
•Created by okunamayanad on 12/5/2024 in #djs-questions
client.login stopped working out of nowhere, can't start the bot
Nothing changed in code, the container was just sitting there.
Out of nowhere, the bot stopped responding to events so I hopped on to check what's going on
Stopped and tried to restart the bot and it gave this error code:
nothing changed in the code. so I tried debugging it, it crashes at
client.login()
and before calling client.on('ready',()=>{})
tried pnpm up
and updated to the last discord.js version (14.16.3), same error.7 replies
DIAdiscord.js - Imagine an app
•Created by okunamayanad on 8/21/2024 in #djs-questions
Message.startThread fails with: DiscordAPIError[10008]: Unknown Message
I'm sending a message to the channel using
channel.send
, awaiting it and saving it to a variable called sentMessage
.
Then executing .startThread()
but it fails with:
Here's the code:
8 replies
DIAdiscord.js - Imagine an app
•Created by okunamayanad on 8/19/2024 in #djs-questions
Message create event is being triggered on thread creation
How can I check if the event was because a thread was created?
4 replies
DIAdiscord.js - Imagine an app
•Created by okunamayanad on 8/18/2024 in #djs-questions
Get message by ID and then update it
I tried this but
.update
does not exist
30 replies