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 { ICommand } from "interfaces"
import { embedColor, devMessage } from "config/options"
import os from "os"
import { execSync } from "child_process"
import { removeIndents } from "utils/functions/funcs"
const { dependencies, devDependencies } = require("../../package.json")
export = {
@@ -42,7 +43,7 @@ export = {
await interaction.reply({
embeds: [{
title: "Bot Info",
description: `
description: removeIndents(`
__**Bot**__
> **Name**: \`${client.user!.username}\`
> **ID**: \`${client.user!.id}\`
@@ -63,7 +64,7 @@ export = {
> **Channels:** \`${client.channels.cache.size}\`
> **Users:** \`${client.users.cache.size}\`
> **Roles:** \`${client.guilds.cache.reduce((a, b) => a + b.roles.cache.size, 0)}\`
`.replace(/\n */g, "\n"),
`),
thumbnail: {
url: client.user!.avatarURL() || "",
},