Update README and add "Now playing" Command (#589)

Co-authored-by: Max Isom <codetheweb@users.noreply.github.com>
Co-authored-by: Max Isom <hi@maxisom.me>
This commit is contained in:
Zagrthos 2022-03-19 15:55:23 +01:00 committed by GitHub
parent 346a6c6eee
commit 60376d4f57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 41 additions and 3 deletions

View file

@ -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