Updated template literal strings

This commit is contained in:
2024-02-24 14:39:45 +01:00
parent 1ea4c3e9df
commit 2f7f1427dd
16 changed files with 53 additions and 35 deletions

View File

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