DF
Dimensional FunBloxs
Error: Unexpected server response: 200
When using lavaclient via deno's npm support (I was using lavadeno but that isn't updated to lavalink 4) with a lavalink 4 node I get the following error:
V
viztea•69d ago
You need to use lavaclient v5
i've been lazy and keep putting off releasing it to @latest
B
Bloxs•69d ago
ah
V
viztea•69d ago
npm
lavaclient
A simple, easy-to-use, and flexible lavalink client for node.js. Latest version: 4.1.1, last published: 2 years ago. Start using lavaclient in your project by running
npm i lavaclient
. There are no other projects in the npm registry using lavaclient.V
viztea•69d ago
despite the semver name thingy, it's not really alpha
but it is a rewrite so ¯\_(ツ)_/¯
check pinned thread
B
Bloxs•69d ago
this is fine, not like my code was good to begin with
V
viztea•69d ago
What is the status around using NPM packages in Deno? i'm personally against it but if there's no reason to keep a dedicated port then I'd rather not keep it
B
Bloxs•69d ago
It's preferred to use native deno packages but the support has gotten good enough to where most packages work
V
viztea•69d ago
hmm, afaict native would only really consist of switching to the
WebSocket
global
node should be getting that soonB
Bloxs•69d ago
for new projects using smth like dnt would probably be the play but I don't know how viable that would be
as I've never tried it
V
viztea•69d ago
mmm
B
Bloxs•69d ago
am I doing something wrong here? #Project Discussion says you can just do player.on but types say otherwise
V
viztea•69d ago
i think it's a dev dependency issue
:AHHHH:
maybe
bruhhhhhhhhhhhh
let me just release it
typed-emitter is a required dep but it's listed as dev only, idk if there's a way for you to include it somehow
working on releasing all the packages rn
V
viztea•69d ago
npm
lavaclient
A simple, easy-to-use, and flexible lavalink client for node.js. Latest version: 4.1.1, last published: 2 years ago. Start using lavaclient in your project by running
npm i lavaclient
. There are no other projects in the npm registry using lavaclient.B
Bloxs•69d ago
not sure if this is like a deno npm compat issue or not
B
Bloxs•69d ago
I presume it most likely is because of the fact types say otherwise
V
viztea•69d ago
prolly
mmm, might be an ESM thing idk
129Members
View on DiscordWant results from more Discord servers?
More Postsplay localfile using lavaclientI want to ask that is it possible to play localfile using lavaclient (since my bot already integrateSearch Exception: Unknown file format.Im using "@lavaclient/spotify" and using this as configuration
```javascript
client: {
id: proHaving an issue with my own Pterodactyl Egg but don't know a fixIm using my own lavalink server and when i try making a request is empty and 404 trying to do myip:2Play music from other sourceshello
I would like to know if there is a way to play music from other sources that are not in the lReferenceError: sendWithDiscordLib is not definedI am getting this error:
```Uncaught Promise Rejection ReferenceError: sendWithDiscordLib is not defTrying to make a commandcan someone tell me how to make a simple autoplay command using lavaclient?Project DiscussionA thread for discussing #lavaclient & related stufffError: Unexpected server response: 404Hey I have downloaded the newest java to be able to use lavasrc but since then lavaclient isn't workNodesHello. Iam new in lavaclient and I propably dont really undersnatd one of important parts of the libnodeTrackStart and nodeQueueFinish is not assignable to parameter of type 'keyof ClusterEvents'.Hello. Iam developing discord music bot and I have problem with handler.the bot keeps disconnecting while playingif I play a song after a while it get skipped or the bot disconnect in the middle of the song, even can you set the volume by default.when you create player for the first time using /play command for example is there's anyway to set tDiscussion ThreadsHello!Project DiscussionA thread for discussing KyuTranslationsForum discussing Kyu TranslationsDifference between pause(false) and resume()What's the difference between pause(false) and resume()?Any way to reconnect when node restartsI'm currently using the reconnect: { basic: whatever } property in my nodes. While this works whenevtrackEnd event isn't fired after bot is dc'd and rejoinsFor some reason the trackEnd event isn't fired in lavadeno if the bot was manually disconnected (by