diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-12-01 21:56:03 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-12-01 21:56:03 -0500 |
| commit | 894dd858c380e5ac8bcd882294f044c325ef379e (patch) | |
| tree | b275ce664f6cf48272d62835bd3010c0e71bc592 /commands/reshuffle.js | |
| parent | 56573af6e6f5a839536483ea51ad1fc163f33458 (diff) | |
| download | DLAP-894dd858c380e5ac8bcd882294f044c325ef379e.tar.gz DLAP-894dd858c380e5ac8bcd882294f044c325ef379e.tar.bz2 DLAP-894dd858c380e5ac8bcd882294f044c325ef379e.zip | |
Modularized audio backend
Diffstat (limited to 'commands/reshuffle.js')
| -rw-r--r-- | commands/reshuffle.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/commands/reshuffle.js b/commands/reshuffle.js index 8de2d17..517c272 100644 --- a/commands/reshuffle.js +++ b/commands/reshuffle.js @@ -20,11 +20,12 @@ ***************************************************************************/ import { SlashCommandBuilder } from 'discord.js'; -import { player, shufflePlaylist } from '../AudioBackend.js'; +import { player } from '../backend/VoiceInitialization.js'; +import { shufflePlaylist } from '../backend/QueueSystem.js'; import { PermissionFlagsBits } from 'discord-api-types/v10'; import { readFileSync } from 'node:fs'; // import config from './config.json' assert {type: 'json'} -const { shuffle } = JSON.parse(readFileSync('./config.json')); +const { shuffle } = JSON.parse(readFileSync('./config.json', 'utf-8')); export default { data: new SlashCommandBuilder() |
