diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-07-07 23:49:37 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-07-07 23:49:37 -0400 |
| commit | 83e4c8679c656ecb352ddc34d5dced9518ba240a (patch) | |
| tree | 0f220abe0de074880e5f28d4e0779dc6b98d7c07 /commands/skip.js | |
| parent | 8d2042206df47b0f172ecc829b5f2c518b89a6a5 (diff) | |
| download | DLAP-83e4c8679c656ecb352ddc34d5dced9518ba240a.tar.gz DLAP-83e4c8679c656ecb352ddc34d5dced9518ba240a.tar.bz2 DLAP-83e4c8679c656ecb352ddc34d5dced9518ba240a.zip | |
New shuffling system (not bug free yet); Tweaks and fixes on other commands
Diffstat (limited to 'commands/skip.js')
| -rw-r--r-- | commands/skip.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/skip.js b/commands/skip.js index 3e1a836..3003ca0 100644 --- a/commands/skip.js +++ b/commands/skip.js @@ -20,7 +20,7 @@ ***************************************************************************/ import { SlashCommandBuilder } from '@discordjs/builders' -import { audio, player, searchAudio } from "../AudioBackend.js" +import { audio, player, nextAudio } from "../AudioBackend.js" import { PermissionFlagsBits } from "discord-api-types/v10" export default { @@ -31,6 +31,6 @@ export default { async execute(interaction, bot) { await interaction.reply({content:`Skipping ${audio}`, ephemeral:true}); player.stop(); - return await searchAudio(bot, interaction); + return await nextAudio(bot, interaction); }, };
\ No newline at end of file |
