Updated template literal strings
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { embedColor } from "config/options"
|
||||
import { useMainPlayer } from "discord-player"
|
||||
import { ChatInputCommandInteraction } from "discord.js"
|
||||
import { removeIndents } from "utils/functions/funcs"
|
||||
|
||||
export default async function nowplaying(interaction: ChatInputCommandInteraction) {
|
||||
await interaction.deferReply()
|
||||
@@ -41,11 +42,11 @@ export default async function nowplaying(interaction: ChatInputCommandInteractio
|
||||
await interaction.editReply({
|
||||
embeds: [{
|
||||
title: "Now Playing",
|
||||
description: `
|
||||
description: removeIndents(`
|
||||
[${current.title}](${current.url})
|
||||
|
||||
${progressBar}
|
||||
`.replace(/\n */g, "\n"),
|
||||
`),
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: current.thumbnail
|
||||
|
||||
Reference in New Issue
Block a user