diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-11-29 08:36:41 -0500 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-11-29 08:36:41 -0500 |
| commit | 04a22f66087656fdbb8d0f98c9331334cae6eb22 (patch) | |
| tree | 8617325764e61cf3d71298c4cbc0332eaff7b267 /AudioBackend.js | |
| parent | d8068715eff8536bb223b191aaa69efc35af1a36 (diff) | |
| download | DLAP-04a22f66087656fdbb8d0f98c9331334cae6eb22.tar.gz DLAP-04a22f66087656fdbb8d0f98c9331334cae6eb22.tar.bz2 DLAP-04a22f66087656fdbb8d0f98c9331334cae6eb22.zip | |
Reverted titles; Fixed formatting
Diffstat (limited to 'AudioBackend.js')
| -rw-r--r-- | AudioBackend.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/AudioBackend.js b/AudioBackend.js index 3cd2867..9a3feaf 100644 --- a/AudioBackend.js +++ b/AudioBackend.js @@ -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 }, |
