Missing Session ID

Error: The voice connection is not established due to missing session id
Solution:
Unrelated to sapphire. Make sure to follow the instructions from the discordjs guide: https://discordjs.guide/voice/voice-connections.html#deletion
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Jump to solution
9 Replies
Solution
Favna
Favna5mo ago
Unrelated to sapphire. Make sure to follow the instructions from the discordjs guide: https://discordjs.guide/voice/voice-connections.html#deletion
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Karlsefni
KarlsefniOP5mo ago
i am using kazagumo player where it worked in normal typescript but it not working in sapphire
Favna
Favna5mo ago
I have never heard of kazagumo but I insist that it's not sapphire related because sapphire doesn't do anything voice related. Sapphire is a framework on top of discordjs and only handles routing of commands to command files and event handling, it doesn't do anything related to establishing connection. This is 100% user error and not configuring something correctly.
Karlsefni
KarlsefniOP5mo ago
its a queue system for shoukaku
Favna
Favna5mo ago
Why do you want your bot to connect to voice anyway. It's against ToS to stream music unless you play from an exclusively royalty free music source and I doubt you want to do that because that's a very very niche genre. Sorry dissuade from the original problem but seeing as I can't help you there I want to at least help you on another aspect
Karlsefni
KarlsefniOP5mo ago
yes that way all music bot in discord are against ToS?
Favna
Favna5mo ago
Yes And yes I know there are large bots like mee6 still playing music but mee6 breaks ToS on more aspects but still doesn't get banned. It's a well publicised fact. The ToS states that you have to abide by the ToS of any external service used and Soundcloud and Youtube in turn essentially state in their ToS that you're not allowed to use a bot to stream music (but in more legalese terms)
Karlsefni
KarlsefniOP5mo ago
what about spoity ?
Favna
Favna5mo ago
You cannot stream Spotify at all. Spotify doesn't have a public API for external services to stream through. That said, they would also have the same terms more than likely. Also you'd subject your listeners to ads because you wouldn't want to give them access to a singular premium account (aside from the fact that account sharing is probably also prohibited) and you don't want to provide a way for users to provide their Spotify credentials because you don't want to be responsible for storing such sensitive data.
Want results from more Discord servers?
Add your server