mirror of
https://github.com/Alee14/DLAP.git
synced 2025-01-22 10:52:03 -05:00
Reverted titles; Fixed formatting
This commit is contained in:
parent
d8068715ef
commit
04a22f6608
2 changed files with 7 additions and 5 deletions
|
@ -184,14 +184,14 @@ export async function playAudio(bot) {
|
|||
|
||||
const statusEmbed = new EmbedBuilder();
|
||||
if (metadataEmpty === true) {
|
||||
statusEmbed.setTitle({ title: 'Now Playing' })
|
||||
statusEmbed.setTitle('Now Playing')
|
||||
statusEmbed.addFields(
|
||||
{ name: 'Title', value: audio },
|
||||
{ name: 'Duration', value: formattedDuration }
|
||||
);
|
||||
statusEmbed.setColor('#0066ff');
|
||||
} else {
|
||||
statusEmbed.setTitle({ title: 'Now Playing' });
|
||||
statusEmbed.setTitle('Now Playing');
|
||||
statusEmbed.addFields(
|
||||
{ name: 'Title', value: audioTitle },
|
||||
{ name: 'Artist', value: audioArtist },
|
||||
|
|
|
@ -50,9 +50,11 @@ export default {
|
|||
|
||||
const controlEmbed = new EmbedBuilder()
|
||||
.setAuthor({ name: `${bot.user.username} Status`, iconURL: bot.user.avatarURL() })
|
||||
.addFields({ name: 'State', value: playerState })
|
||||
.addFields({ name: 'Tracks', value: `${audioID}/${files.length}` })
|
||||
.addFields({ name: 'Duration', value: formattedDuration })
|
||||
.addFields(
|
||||
{ name: 'State', value: playerState },
|
||||
{ name: 'Tracks', value: `${audioID}/${files.length}` },
|
||||
{ name: 'Duration', value: formattedDuration }
|
||||
)
|
||||
.setColor('#0066ff');
|
||||
|
||||
if (metadataEmpty === true) {
|
||||
|
|
Loading…
Reference in a new issue