Relance music si crash/reboot + Réécriture /amp

This commit is contained in:
Zachary Guénot committed 2023-05-28 20:39:11 +02:00
1 parent f6bf2f8616
commit d02dd5bace
15 files changed
+234 -108

No files matched your search

+5
View File
@@ -3,5 +3,10 @@ module.exports = {
async execute(queue, track) {
// Emitted when the bot leaves the voice channel
queue.metadata.channel.send("J'ai quitté le vocal !")
writeEnv('DISCORD_MUSIC_TEXTCHANNEL_ID', '')
writeEnv('DISCORD_MUSIC_VOICECHANNEL_ID', '')
writeEnv('DISCORD_MUSIC_CURRENT_TRACK', '')
writeEnv('DISCORD_MUSIC_CURRENT_PROGRESS', '')
}
}