Updated template literal strings
This commit is contained in:
@@ -76,7 +76,7 @@ export = {
|
||||
**Season:** ${animeSeason}
|
||||
**Start Date:** ${animeStartDate}
|
||||
**End Date:** ${animeEndDate}
|
||||
`,
|
||||
`.replace(/\n */g, "\n"),
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: anime.coverImage?.medium || ""
|
||||
|
||||
@@ -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() || ""
|
||||
|
||||
@@ -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() || "",
|
||||
},
|
||||
|
||||
@@ -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() || ""
|
||||
|
||||
@@ -61,7 +61,7 @@ export = {
|
||||
**Mod:** ${userMention(mod.id)}
|
||||
**IGN:** \`${ign}\`
|
||||
**UUID:** \`${uuid}\`
|
||||
`,
|
||||
`.replace(/\n */g, "\n"),
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: mod.avatarURL() || ""
|
||||
|
||||
@@ -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!
|
||||
|
||||
@@ -179,7 +179,7 @@ export = {
|
||||
**Mod:** ${userMention(mod.id)}
|
||||
**IGN:** \`${player.displayname}\`
|
||||
**UUID:** \`${uuid}\`
|
||||
`,
|
||||
`.replace(/\n */g, "\n"),
|
||||
color: embedColor,
|
||||
thumbnail: {
|
||||
url: mod.avatarURL() || ""
|
||||
|
||||
@@ -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() || ""
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() || ""
|
||||
|
||||
@@ -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() || ""
|
||||
|
||||
@@ -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() || ""
|
||||
|
||||
@@ -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() || ""
|
||||
|
||||
@@ -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() || ""
|
||||
|
||||
@@ -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!
|
||||
|
||||
Reference in New Issue
Block a user