From 5ec4ea6aaeb9aad2f63c643d0cb31c3a43078ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Fri, 3 Sep 2021 01:22:25 +0300 Subject: [PATCH] Updated SIGINT.js --- src/client/events/SIGINT.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/client/events/SIGINT.js b/src/client/events/SIGINT.js index d3826a0..dc0bf65 100644 --- a/src/client/events/SIGINT.js +++ b/src/client/events/SIGINT.js @@ -17,6 +17,7 @@ module.exports = { if (currentRadio) { client.funcs.statisticsUpdate(client, currentRadio.guild, currentRadio); + client.funcs.saveState(client, currentRadio.guild, currentRadio); currentRadio.connection?.destroy(); currentRadio.audioPlayer?.stop(); currentRadio.message?.delete();