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

@@ -2,6 +2,7 @@ import { SlashCommandBuilder, PermissionFlagsBits, ChannelType, TextChannel, cha
import { embedColor, devMessage } from "config/options"
import { ICommand } from "interfaces"
import logToChannel from "utils/functions/logtochannel"
import { removeIndents } from "utils/functions/funcs"
export = {
name: "slowmode",
@@ -54,11 +55,11 @@ export = {
icon_url: interaction.user.avatarURL() || undefined
},
title: "Slowmode Update",
description: `
description: removeIndents(`
**Channel:** ${channelMention(channel.id)}
**Slowmode:** ${seconds} seconds
**Mod:** ${userMention(interaction.user.id)}
`.replace(/\n */g, "\n"),
`),
color: embedColor,
thumbnail: {
url: interaction.user.avatarURL() || ""