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

@@ -3,6 +3,7 @@ import { admin, helper } from "config/roles"
import { embedColor, devMessage } from "config/options"
import { ICommand } from "interfaces"
import logToChannel from "utils/functions/logtochannel"
import { removeIndents } from "utils/functions/funcs"
export = {
name: "kick",
@@ -75,11 +76,11 @@ export = {
icon_url: mod.user.avatarURL() || undefined
},
title: "Member Kicked",
description: `
description: removeIndents(`
**User:** ${userMention(member.user.id)}
**Mod:** ${userMention(mod.user.id)}
**Reason:** ${reason}
`.replace(/\n */g, "\n"),
`),
color: embedColor,
thumbnail: {
url: mod.user.avatarURL() || ""