diff options
Diffstat (limited to 'commands/control.js')
| -rw-r--r-- | commands/control.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/commands/control.js b/commands/control.js index aa07991..f5846e2 100644 --- a/commands/control.js +++ b/commands/control.js @@ -1,5 +1,6 @@ const { SlashCommandBuilder } = require('@discordjs/builders'); -const { MessageEmbed, MessageActionRow, MessageButton} = require("discord.js"); +const { MessageEmbed, MessageActionRow, MessageButton } = require("discord.js"); + module.exports = { data: new SlashCommandBuilder() @@ -10,13 +11,16 @@ module.exports = { .setAuthor({name:`${bot.user.username} Control Panel`, iconURL:bot.user.avatarURL()}) .addField('Currently Playing', 'audio file here') .addField('Next Music', '(a possible feature?)') + .setColor('#0066ff') + const controlButtons = new MessageActionRow() .addComponents( new MessageButton() .setStyle('PRIMARY') - .setLabel('Pause/Play') + .setLabel('Pause') .setCustomId('soon') ); + return interaction.reply({embeds:[controlEmbed], components:[controlButtons]}); }, };
\ No newline at end of file |
