aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/control.js5
-rw-r--r--commands/ping.js2
2 files changed, 4 insertions, 3 deletions
diff --git a/commands/control.js b/commands/control.js
index 42ce177..c677f3f 100644
--- a/commands/control.js
+++ b/commands/control.js
@@ -21,16 +21,17 @@
import { SlashCommandBuilder } from '@discordjs/builders'
import { MessageEmbed, MessageActionRow, MessageButton } from 'discord.js'
+import { audio } from '../AudioBackend.js'
-export const command = {
+export default {
data: new SlashCommandBuilder()
.setName('control')
.setDescription('Controlling the music'),
async execute(interaction, bot) {
const controlEmbed = new MessageEmbed()
.setAuthor({name:`${bot.user.username} Control Panel`, iconURL:bot.user.avatarURL()})
- .addField('Currently Playing', 'audio file here')
+ .addField('Currently Playing', audio)
.addField('Next Music', '(a possible feature?)')
.setColor('#0066ff')
diff --git a/commands/ping.js b/commands/ping.js
index 274a1e5..b3fccb7 100644
--- a/commands/ping.js
+++ b/commands/ping.js
@@ -21,7 +21,7 @@
import { SlashCommandBuilder } from '@discordjs/builders'
-export const command = {
+export default {
data: new SlashCommandBuilder()
.setName('ping')
.setDescription('Replies with Pong!'),