aboutsummaryrefslogtreecommitdiff
path: root/commands/control.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-03-28 11:00:23 -0400
committerAndrew Lee <alee14498@protonmail.com>2022-03-28 11:00:23 -0400
commit5ae481c84ea8edfd9e5589b331f32f453e6e5431 (patch)
treeb58c018985270eeebdd34672eec40eb1a7c0bb23 /commands/control.js
parente438a195c730bc1609917059bd434afdfa1354f7 (diff)
downloadDLAP-5ae481c84ea8edfd9e5589b331f32f453e6e5431.tar.gz
DLAP-5ae481c84ea8edfd9e5589b331f32f453e6e5431.tar.bz2
DLAP-5ae481c84ea8edfd9e5589b331f32f453e6e5431.zip
Oh I am dumb :P
Diffstat (limited to 'commands/control.js')
-rw-r--r--commands/control.js5
1 files changed, 3 insertions, 2 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')