Updated template literal strings

This commit is contained in:
2024-02-24 13:15:55 +01:00
parent dc126b6371
commit 1ea4c3e9df
15 changed files with 18 additions and 18 deletions

View File

@@ -76,7 +76,7 @@ export = {
**Season:** ${animeSeason}
**Start Date:** ${animeStartDate}
**End Date:** ${animeEndDate}
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: anime.coverImage?.medium || ""

View File

@@ -106,7 +106,7 @@ export = {
**Mod:** ${userMention(mod.user.id)}
**Reason:** ${reason}
**Messages Deleted:** ${messageDeletionDays} days
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: mod.user.avatarURL() || ""

View File

@@ -8,7 +8,7 @@ const { dependencies, devDependencies } = require("../../package.json")
export = {
name: "botinfo",
description: "Get information about the bot",
dev: false,
dev: true,
public: true,
data: new SlashCommandBuilder()
@@ -63,7 +63,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() || "",
},

View File

@@ -56,7 +56,7 @@ export = {
**Channel:** ${channelMention(channel.id)}
**Amount:** \`${messages.size}\` messages
**Mod:** ${userMention(interaction.user.id)}
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: interaction.user.avatarURL() || ""

View File

@@ -61,7 +61,7 @@ export = {
**Mod:** ${userMention(mod.id)}
**IGN:** \`${ign}\`
**UUID:** \`${uuid}\`
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: mod.avatarURL() || ""

View File

@@ -88,7 +88,7 @@ export = {
${usermentioned} was given the \`Default Member\` role.
IGN: \`${ign}\`
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: head!
@@ -162,7 +162,7 @@ export = {
${usermentioned} was given the \`${replyRank}\` role.
IGN: \`${ign}\`
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: head!

View File

@@ -179,7 +179,7 @@ export = {
**Mod:** ${userMention(mod.id)}
**IGN:** \`${player.displayname}\`
**UUID:** \`${uuid}\`
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: mod.avatarURL() || ""

View File

@@ -79,7 +79,7 @@ export = {
**User:** ${userMention(member.user.id)}
**Mod:** ${userMention(mod.user.id)}
**Reason:** ${reason}
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: mod.user.avatarURL() || ""

View File

@@ -45,7 +45,7 @@ export default async function nowplaying(interaction: ChatInputCommandInteractio
[${current.title}](${current.url})
${progressBar}
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: current.thumbnail

View File

@@ -61,7 +61,7 @@ export = {
**User:** ${userMention(member.user.id)}
**Reason:** ${reason}
**Mod:** ${userMention(mod.id)}
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: mod.avatarURL() || ""

View File

@@ -52,7 +52,7 @@ export = {
**User:** ${userMention(member.id)}
**Nickname:** ${nickname}
**Moderator:** ${userMention(interaction.user.id)}
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: interaction.user.avatarURL() || ""

View File

@@ -58,7 +58,7 @@ export = {
**Channel:** ${channelMention(channel.id)}
**Slowmode:** ${seconds} seconds
**Mod:** ${userMention(interaction.user.id)}
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: interaction.user.avatarURL() || ""

View File

@@ -137,7 +137,7 @@ export = {
${timeouttime === null ? "**Time:** `None`" : "**Time:** `" + prettyTime + "`"}
**Reason:** \`${reason}\`
**Mod:** ${userMention(mod.id)}
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: mod.user.avatarURL() || ""

View File

@@ -71,7 +71,7 @@ export = {
**User:** ${userMention(user!.id)}
**Mod:** ${userMention(mod.id)}
**Reason:** ${reason}
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: mod.avatarURL() || ""

View File

@@ -71,7 +71,7 @@ export = {
Updated your roles to \`Default Member\`
IGN: \`${ign}\`
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: head!
@@ -146,7 +146,7 @@ export = {
Updated your roles to \`${replyRank}\`
IGN: \`${ign}\`
`,
`.replace(/\n */g, "\n"),
color: embedColor,
thumbnail: {
url: head!