- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- 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 OP
#state changes back to connecting after ready
22 messages · Page 1 of 1 (latest)
it is the latest version
thats the problem
sl4ssh in #yoran-bot-testing triggered /voice.
Connection state changed: signalling
Connection state changed: connecting
Connection state changed: connecting
Connection state changed: connecting
Connection state changed: connecting
Connection state changed: ready
sl4ssh in #yoran-bot-testing triggered /voice.
Connection state changed: ready
Connection state changed: connecting```
this is the log
so the first trigger is the /join command
the first connection state changed happens when i have the second trigger (/play command) and then it gives another ready state and back to connecting
what are your client intents?
what do you mean
with which intents are you instantiating your bot
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.DirectMessages,
GatewayIntentBits.GuildVoiceStates,
],
i cant open the txt file btw im on my phone, if you could upload code to pastebin or something would be appreciated
looks fine to me, what are your dependencies?
"dependencies": {
"@discordjs/rest": "^2.2.0",
"@discordjs/voice": "^0.14.0",
"axios": "^1.3.4",
"canvas": "^2.11.0",
"chalk": "^5.0.1",
"colors": "^1.4.0",
"colors.js": "^1.2.4",
"cron": "^2.0.0",
"dayjs": "^1.11.7",
"discord": "^0.8.2",
"discord-api-types": "^0.37.71",
"discord-modal": "^1.0.3",
"discord-modals": "^1.3.6",
"discord-rich-presence": "^0.0.8",
"discord.js": "^14.14.1",
"express": "^4.18.2",
"ffmpeg-static": "^5.2.0",
"gm": "^1.25.0",
"image-downloader": "^4.3.0",
"libsodium-wrappers": "^0.7.11",
"node-cron": "^3.0.0",
"strip-ansi": "^7.1.0",
"ytdl-core": "^4.11.5"
},
yea you lied to me when you told me you were using latest
also my support stops here because this is against TOS
? what
if i reinstall the voice it gives me this one
so
why wouldnt it not be the latest
because you dont know how the node package manager works