souji
DIAdiscord.js - Imagine an app
•Created by souji on 10/17/2023 in #djs-voice
FAQ: Voice connection disconnects after a short time
Make sure you are using version
0.16.0
of @discordjs/voice
or newer. Check that this also applies to all voice-related packages that may use other versions!
If you verified you do not have an old version installed in your dependency tree, please create a post in #djs-voice with the dependency tree and relevant code samples.1 replies
DIAdiscord.js - Imagine an app
•Created by souji on 3/30/2023 in #djs-questions
TypeError channel.isTextBased/channel.isText is not a function
-
v14
: npm i discord.js@latest
- v13
: npm i discord.js@v13-lts
What happened?
Discord has rolled out a change which broke how we handle things in discord.js. We have fixed this when it first came up and was reverted due to breaking a lot of bots without an immediate fix. Apparently you have not updated discord.js since we did that!How do I fix it?
Update discord.js! (updating minor versions should not break anything)But I didn't change anything!
Correct, but Discord did! (and as response discord.js did, which you need to apply now)I updated and it still throws this error!
• Please make sure you actually updated the library and confirm the version withIt shows the right version number, but still throws this error!npm list discord.js
• You need to have a version of at least14.8.0
or13.14.0
respectively.
Try a clean installation with your package manager of choice: (if using a process manager, try to restart the daemon process as well)V14: V13: If after this you still get this error, please open a post in our support forum with a full error stack trace and your relevant code!
1 replies
DIAdiscord.js - Imagine an app
•Created by souji on 7/22/2022 in #djs-questions
[RESOLVED] DiscordAPIError Invalid Webhook Token
DiscordAPIError: Invalid Webhook Token
-This is a Discord API error. Neither you nor we can do anything about that, you'll have to wait until Discord fixes this.
27 replies