aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/about.js3
-rw-r--r--commands/join.js2
-rw-r--r--commands/leave.js2
-rw-r--r--commands/list.js2
-rw-r--r--commands/next.js2
-rw-r--r--commands/pause.js2
-rw-r--r--commands/ping.js2
-rw-r--r--commands/play.js2
-rw-r--r--commands/previous.js2
-rw-r--r--commands/reshuffle.js2
-rw-r--r--commands/shutdown.js2
-rw-r--r--commands/status.js5
12 files changed, 13 insertions, 15 deletions
diff --git a/commands/about.js b/commands/about.js
index c7c6ace..dbc96c2 100644
--- a/commands/about.js
+++ b/commands/about.js
@@ -19,8 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
-import { EmbedBuilder, version, ActionRowBuilder, ButtonBuilder, ButtonStyle } from 'discord.js';
+import { EmbedBuilder, version, ActionRowBuilder, ButtonBuilder, ButtonStyle, SlashCommandBuilder } from 'discord.js';
// import npmPackage from '../package.json' assert { type:'json' }
import { readFileSync } from 'node:fs';
const npmPackage = JSON.parse(readFileSync('./package.json'));
diff --git a/commands/join.js b/commands/join.js
index 02c50a4..7294724 100644
--- a/commands/join.js
+++ b/commands/join.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
import { voiceInit } from '../AudioBackend.js';
import { PermissionFlagsBits } from 'discord-api-types/v10';
diff --git a/commands/leave.js b/commands/leave.js
index a066e38..10634af 100644
--- a/commands/leave.js
+++ b/commands/leave.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
import { destroyAudio } from '../AudioBackend.js';
import { PermissionFlagsBits } from 'discord-api-types/v10';
diff --git a/commands/list.js b/commands/list.js
index 7101e16..05d40c6 100644
--- a/commands/list.js
+++ b/commands/list.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
import { readdirSync, readdir } from 'fs';
const musicFolder = './music';
diff --git a/commands/next.js b/commands/next.js
index 9a3a5bd..01c5df9 100644
--- a/commands/next.js
+++ b/commands/next.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
import { player, nextAudio } from '../AudioBackend.js';
import { PermissionFlagsBits } from 'discord-api-types/v10';
diff --git a/commands/pause.js b/commands/pause.js
index 8d42459..dffcfb5 100644
--- a/commands/pause.js
+++ b/commands/pause.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
import { audioState, isAudioStatePaused, player } from '../AudioBackend.js';
import { PermissionFlagsBits } from 'discord-api-types/v10';
diff --git a/commands/ping.js b/commands/ping.js
index 0c6b887..72ef024 100644
--- a/commands/ping.js
+++ b/commands/ping.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
export default {
data: new SlashCommandBuilder()
diff --git a/commands/play.js b/commands/play.js
index 4145f54..f9701f7 100644
--- a/commands/play.js
+++ b/commands/play.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
import { isAudioStatePaused, inputAudio, audio, audioState, player, files } from '../AudioBackend.js';
import { PermissionFlagsBits } from 'discord-api-types/v10';
diff --git a/commands/previous.js b/commands/previous.js
index 7d96ec7..2bb8960 100644
--- a/commands/previous.js
+++ b/commands/previous.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
import { previousAudio } from '../AudioBackend.js';
import { PermissionFlagsBits } from 'discord-api-types/v10';
diff --git a/commands/reshuffle.js b/commands/reshuffle.js
index ee42289..8de2d17 100644
--- a/commands/reshuffle.js
+++ b/commands/reshuffle.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
import { player, shufflePlaylist } from '../AudioBackend.js';
import { PermissionFlagsBits } from 'discord-api-types/v10';
import { readFileSync } from 'node:fs';
diff --git a/commands/shutdown.js b/commands/shutdown.js
index 196b289..0cf75b8 100644
--- a/commands/shutdown.js
+++ b/commands/shutdown.js
@@ -19,7 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
+import { SlashCommandBuilder } from 'discord.js';
import { stopBot } from '../AudioBackend.js';
import { PermissionFlagsBits } from 'discord-api-types/v10';
diff --git a/commands/status.js b/commands/status.js
index 766b9be..654b496 100644
--- a/commands/status.js
+++ b/commands/status.js
@@ -19,8 +19,7 @@
*
***************************************************************************/
-import { SlashCommandBuilder } from '@discordjs/builders';
-import { EmbedBuilder } from 'discord.js';
+import { EmbedBuilder, SlashCommandBuilder } from 'discord.js';
import { audio, currentTrack, files, playerState } from '../AudioBackend.js';
export default {
@@ -45,6 +44,6 @@ export default {
.addFields({ name: 'Currently Playing', value: audio })
.addFields({ name: 'Up Next', value: audioName })
.setColor('#0066ff');
- interaction.reply({ embeds: [controlEmbed], ephemeral: true });
+ interaction.reply({ embeds: [controlEmbed] });
}
};