Error with createAudioResource()
hey, i would like some help for my discord bot, i have been trying to code music command to play music in voice channels, but i am encountering an issue, and its been 11 hours since i have been trying to fix it
17 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 staff#how-to-get-help, share your code
wait
since i dont have nitro i will share it in a message.txt file, my message exceeds the character limit set by discord
@treble/luna here
you can expand it
use a pastebin
but i can already see by the first line you are violating TOS by using play-dl
so we will not provide support for that
eh no?
No
anything using youtube is against its TOS
this bot uses it
and is verified
cool, but its against TOS
theres a reason why the large music bots shut down
then what should i use
@treble/luna my brain has been fried by the errors 'play-dl' gave
something thats TOS compliant
aka audio you have the rights to use on
so you wont help?
nope
okay