stop

How can I stop the song without making the bot leave the voice channel?
24 Replies
stormy-gold
stormy-goldOPā€¢2y ago
@1Lucas1.apk šŸ™‚
1Lucas1.apk
1Lucas1.apkā€¢2y ago
šŸ˜Š Then I will have to change the stop parameters Tomorrow I will send an update and there will be this option to not destroy the player I'm refactoring some parts of the code and I can't launch it like this
stormy-gold
stormy-goldOPā€¢2y ago
queue.stop({ disconnect: true })
async destroy(){
if(!anything) {
if (this.connected)
this.disconnect();
}
await this.rest.destroy(this.guildId);
this.queue.clear();
let players = this.map.get("players");
delete players[this.guildId];
this.map.set("players", players);
return true;
}
queue.stop({ disconnect: true })
async destroy(){
if(!anything) {
if (this.connected)
this.disconnect();
}
await this.rest.destroy(this.guildId);
this.queue.clear();
let players = this.map.get("players");
delete players[this.guildId];
this.map.set("players", players);
return true;
}
can you make it like this
1Lucas1.apk
1Lucas1.apkā€¢2y ago
I was changing makeRequest but lavalink doesn't respond to http2, if it worked requests would be more efficient
wise-white
wise-whiteā€¢2y ago
When is this issue expected to be fixed? šŸ˜‚šŸ˜‚šŸ˜‚
1Lucas1.apk
1Lucas1.apkā€¢2y ago
My Discord is bugged, I can't log in to do tests
wise-white
wise-whiteā€¢2y ago
...
1Lucas1.apk
1Lucas1.apkā€¢2y ago
It's giving errors frequently, and I don't continue programming if I can't test Whatever I do, it makes a mistake and I publish it just to redo it later.
wise-white
wise-whiteā€¢2y ago
Why are you being eavesdropped?
1Lucas1.apk
1Lucas1.apkā€¢2y ago
No, it's Discord, when I enter it simply closes, I've already uninstalled it, reinstalled it Did not work I have to use the modified one to make it easier to translate messages directly from Discord without copying and pasting
wise-white
wise-whiteā€¢2y ago
Do you mean moonlink.js?
1Lucas1.apk
1Lucas1.apkā€¢2y ago
Yes
wise-white
wise-whiteā€¢2y ago
why can't test
1Lucas1.apk
1Lucas1.apkā€¢2y ago
Now I can, but I have to do some things first
wise-white
wise-whiteā€¢2y ago
If there is no virtual host I'm willing to pay a little money to sponsor your use
1Lucas1.apk
1Lucas1.apkā€¢2y ago
No need, today I'm closing a sponsorship with a host belonging to a user here šŸ™‚ And the replit is bugged too, mercy
wise-white
wise-whiteā€¢2y ago
... omg replit the shortcoming is this If you need to rent a web host, I am willing to sponsor you with a little money. šŸ¤“
1Lucas1.apk
1Lucas1.apkā€¢2y ago
šŸ«” It's OK?
wise-white
wise-whiteā€¢2y ago
umm uncertain šŸ§
1Lucas1.apk
1Lucas1.apkā€¢2y ago
It was a text I wrote for sponsorship and sent it to the wrong chat
wise-white
wise-whiteā€¢2y ago
ok XD
stormy-gold
stormy-goldOPā€¢2y ago
queue.stop({ destroy: true }) @1Lucas1.apk in the new update i can use this right ?
1Lucas1.apk
1Lucas1.apkā€¢2y ago
queue.stop(false), queue.stop(true) I accidentally did it this way
stormy-gold
stormy-goldOPā€¢2y ago
ok thx šŸ«”

Did you find this page helpful?