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, userMention, User } from "dis
import { embedColor, devMessage } from "config/options"
import { ICommand } from "interfaces"
import logToChannel from "utils/functions/logtochannel"
import { removeIndents } from "utils/functions/funcs"
export = {
name: "unban",
@@ -67,11 +68,11 @@ export = {
icon_url: mod.avatarURL() || undefined
},
title: "Member Unbanned",
description: `
description: removeIndents(`
**User:** ${userMention(user!.id)}
**Mod:** ${userMention(mod.id)}
**Reason:** ${reason}
`.replace(/\n */g, "\n"),
`),
color: embedColor,
thumbnail: {
url: mod.avatarURL() || ""