1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-17 08:20:58 -05:00

Fix incorrect field name

This commit is contained in:
AnxietyisReal 2023-12-16 17:19:57 +11:00
parent f2dcf9233d
commit 84f48e9123

View File

@ -55,7 +55,7 @@ export default {
.setAuthor({name: 'Spotify', iconURL: 'https://cdn.discordapp.com/emojis/510214342034325504.webp?quality=lossless'}) .setAuthor({name: 'Spotify', iconURL: 'https://cdn.discordapp.com/emojis/510214342034325504.webp?quality=lossless'})
.addFields( .addFields(
{name: 'Artist', value: spotifyStatus?.state, inline: true}, {name: 'Artist', value: spotifyStatus?.state, inline: true},
{name: 'Album', value: spotifyStatus?.details, inline: true}, {name: 'Title', value: spotifyStatus?.details, inline: true},
{name: 'Started', value: `<t:${Math.round(spotifyStatus?.timestamps.start as unknown as number/1000)}>\n<t:${Math.round(spotifyStatus?.timestamps.start as unknown as number/1000)}:R>`, inline: false} {name: 'Started', value: `<t:${Math.round(spotifyStatus?.timestamps.start as unknown as number/1000)}>\n<t:${Math.round(spotifyStatus?.timestamps.start as unknown as number/1000)}:R>`, inline: false}
) )
embedArray.push(spotifyEmbed) embedArray.push(spotifyEmbed)