diff options
| author | Zagrthos <[email protected]> | 2022-03-19 15:55:23 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-03-19 09:55:23 -0500 |
| commit | 60376d4f5798004bc0215698bc1cc0786fcd5dbc (patch) | |
| tree | 270ae2fc9a11b4a9d5ef50023a89799d4e69a928 /src/utils | |
| parent | 346a6c6eee4a790cc71e5b6d78854be61b28873f (diff) | |
| download | muse-60376d4f5798004bc0215698bc1cc0786fcd5dbc.tar.xz muse-60376d4f5798004bc0215698bc1cc0786fcd5dbc.zip | |
Update README and add "Now playing" Command (#589)
Co-authored-by: Max Isom <[email protected]>
Co-authored-by: Max Isom <[email protected]>
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/build-embed.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/build-embed.ts b/src/utils/build-embed.ts index 0925da1..c6e9551 100644 --- a/src/utils/build-embed.ts +++ b/src/utils/build-embed.ts @@ -61,8 +61,8 @@ export const buildPlayingMessageEmbed = (player: Player): MessageEmbed => { const message = new MessageEmbed(); message - .setColor('DARK_GREEN') - .setTitle('Now Playing') + .setColor(player.status === STATUS.PLAYING ? 'DARK_GREEN' : 'DARK_RED') + .setTitle(player.status === STATUS.PLAYING ? 'Now Playing' : 'Paused') .setDescription(` **${getSongTitle(currentlyPlaying)}** Requested by: <@${requestedBy}>\n |
