Trying to make my bot play .mp3 for directory
Hi ! My bot is successfuly doing everything exept playing any sound :
If anyone have an idea .. 🙂
6 Replies
- What are your intents?
GuildVoiceStates
is required to receive voice data!
- Show what dependencies you are using -- generateDependencyReport()
is exported from @discordjs/voice
.
- Try looking at common examples: https://github.com/discordjs/voice-examples.
- 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{
"dependencies": {
"@discordjs/voice": "^0.18.0",
"apt-get": "^0.1.0",
"date-fns": "^3.6.0",
"discord.js": "^14.17.2",
"discordjs-reaction-role": "^3.1.0",
"dotenv": "^16.4.7",
"eslint": "^8.57.1",
"fast-levenshtein": "^3.0.0",
"ffmpeg": "^0.0.4",
"ffmpeg-static": "^5.2.0",
"fluent-ffmpeg": "^2.1.3",
"google-spreadsheet": "^3.3.0",
"googleapis": "^118.0.0",
"install": "^0.13.0",
"luxon": "^3.5.0",
"string-similarity": "^4.0.4",
"sudo": "^1.0.3",
"tmp": "^0.2.3",
"update": "^0.7.4",
"yum": "^0.1.1"
}
}
what part doesnt work
the bot dont launch sound
FFmepg is not requiered to use bot "voice " ?
still vague. you have logging in here, does it show anything ??
yes but not clear enough im redoing things from scratch to test another way 🙂
Ok its working now !
Thanks guy