diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-07-17 16:32:31 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-07-17 16:32:31 -0400 |
| commit | 6664618ed1225e17f2e98ee8a44179181e3dcf9b (patch) | |
| tree | d43e98bc01c3a8088c41f445592a53e7a983bada /AudioBackend.js | |
| parent | 57bab0a953849501d85f6509ba69802d08fadf3b (diff) | |
| download | DLAP-6664618ed1225e17f2e98ee8a44179181e3dcf9b.tar.gz DLAP-6664618ed1225e17f2e98ee8a44179181e3dcf9b.tar.bz2 DLAP-6664618ed1225e17f2e98ee8a44179181e3dcf9b.zip | |
Couple of tweaks
Diffstat (limited to 'AudioBackend.js')
| -rw-r--r-- | AudioBackend.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/AudioBackend.js b/AudioBackend.js index 7d24b1c..0f68aa2 100644 --- a/AudioBackend.js +++ b/AudioBackend.js @@ -35,11 +35,12 @@ export const player = createAudioPlayer(); export let audio; export const files = readdirSync('music'); let fileData; + +let totalTrack = files.length; export let currentTrack; export let playerState; export let isAudioStatePaused; -let totalTrack = files.length; export async function voiceInit(bot) { bot.channels.fetch(voiceChannel).then(async channel => { |
