Updated template literal strings
This commit is contained in:
@@ -76,7 +76,7 @@ export = {
|
|||||||
**Season:** ${animeSeason}
|
**Season:** ${animeSeason}
|
||||||
**Start Date:** ${animeStartDate}
|
**Start Date:** ${animeStartDate}
|
||||||
**End Date:** ${animeEndDate}
|
**End Date:** ${animeEndDate}
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: anime.coverImage?.medium || ""
|
url: anime.coverImage?.medium || ""
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ export = {
|
|||||||
**Mod:** ${userMention(mod.user.id)}
|
**Mod:** ${userMention(mod.user.id)}
|
||||||
**Reason:** ${reason}
|
**Reason:** ${reason}
|
||||||
**Messages Deleted:** ${messageDeletionDays} days
|
**Messages Deleted:** ${messageDeletionDays} days
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: mod.user.avatarURL() || ""
|
url: mod.user.avatarURL() || ""
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const { dependencies, devDependencies } = require("../../package.json")
|
|||||||
export = {
|
export = {
|
||||||
name: "botinfo",
|
name: "botinfo",
|
||||||
description: "Get information about the bot",
|
description: "Get information about the bot",
|
||||||
dev: false,
|
dev: true,
|
||||||
public: true,
|
public: true,
|
||||||
|
|
||||||
data: new SlashCommandBuilder()
|
data: new SlashCommandBuilder()
|
||||||
@@ -63,7 +63,7 @@ export = {
|
|||||||
> **Channels:** \`${client.channels.cache.size}\`
|
> **Channels:** \`${client.channels.cache.size}\`
|
||||||
> **Users:** \`${client.users.cache.size}\`
|
> **Users:** \`${client.users.cache.size}\`
|
||||||
> **Roles:** \`${client.guilds.cache.reduce((a, b) => a + b.roles.cache.size, 0)}\`
|
> **Roles:** \`${client.guilds.cache.reduce((a, b) => a + b.roles.cache.size, 0)}\`
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: client.user!.avatarURL() || "",
|
url: client.user!.avatarURL() || "",
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -56,7 +56,7 @@ export = {
|
|||||||
**Channel:** ${channelMention(channel.id)}
|
**Channel:** ${channelMention(channel.id)}
|
||||||
**Amount:** \`${messages.size}\` messages
|
**Amount:** \`${messages.size}\` messages
|
||||||
**Mod:** ${userMention(interaction.user.id)}
|
**Mod:** ${userMention(interaction.user.id)}
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: interaction.user.avatarURL() || ""
|
url: interaction.user.avatarURL() || ""
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export = {
|
|||||||
**Mod:** ${userMention(mod.id)}
|
**Mod:** ${userMention(mod.id)}
|
||||||
**IGN:** \`${ign}\`
|
**IGN:** \`${ign}\`
|
||||||
**UUID:** \`${uuid}\`
|
**UUID:** \`${uuid}\`
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: mod.avatarURL() || ""
|
url: mod.avatarURL() || ""
|
||||||
|
|||||||
@@ -88,7 +88,7 @@ export = {
|
|||||||
${usermentioned} was given the \`Default Member\` role.
|
${usermentioned} was given the \`Default Member\` role.
|
||||||
|
|
||||||
IGN: \`${ign}\`
|
IGN: \`${ign}\`
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: head!
|
url: head!
|
||||||
@@ -162,7 +162,7 @@ export = {
|
|||||||
${usermentioned} was given the \`${replyRank}\` role.
|
${usermentioned} was given the \`${replyRank}\` role.
|
||||||
|
|
||||||
IGN: \`${ign}\`
|
IGN: \`${ign}\`
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: head!
|
url: head!
|
||||||
|
|||||||
@@ -179,7 +179,7 @@ export = {
|
|||||||
**Mod:** ${userMention(mod.id)}
|
**Mod:** ${userMention(mod.id)}
|
||||||
**IGN:** \`${player.displayname}\`
|
**IGN:** \`${player.displayname}\`
|
||||||
**UUID:** \`${uuid}\`
|
**UUID:** \`${uuid}\`
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: mod.avatarURL() || ""
|
url: mod.avatarURL() || ""
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ export = {
|
|||||||
**User:** ${userMention(member.user.id)}
|
**User:** ${userMention(member.user.id)}
|
||||||
**Mod:** ${userMention(mod.user.id)}
|
**Mod:** ${userMention(mod.user.id)}
|
||||||
**Reason:** ${reason}
|
**Reason:** ${reason}
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: mod.user.avatarURL() || ""
|
url: mod.user.avatarURL() || ""
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ export default async function nowplaying(interaction: ChatInputCommandInteractio
|
|||||||
[${current.title}](${current.url})
|
[${current.title}](${current.url})
|
||||||
|
|
||||||
${progressBar}
|
${progressBar}
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: current.thumbnail
|
url: current.thumbnail
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ export = {
|
|||||||
**User:** ${userMention(member.user.id)}
|
**User:** ${userMention(member.user.id)}
|
||||||
**Reason:** ${reason}
|
**Reason:** ${reason}
|
||||||
**Mod:** ${userMention(mod.id)}
|
**Mod:** ${userMention(mod.id)}
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: mod.avatarURL() || ""
|
url: mod.avatarURL() || ""
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ export = {
|
|||||||
**User:** ${userMention(member.id)}
|
**User:** ${userMention(member.id)}
|
||||||
**Nickname:** ${nickname}
|
**Nickname:** ${nickname}
|
||||||
**Moderator:** ${userMention(interaction.user.id)}
|
**Moderator:** ${userMention(interaction.user.id)}
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: interaction.user.avatarURL() || ""
|
url: interaction.user.avatarURL() || ""
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ export = {
|
|||||||
**Channel:** ${channelMention(channel.id)}
|
**Channel:** ${channelMention(channel.id)}
|
||||||
**Slowmode:** ${seconds} seconds
|
**Slowmode:** ${seconds} seconds
|
||||||
**Mod:** ${userMention(interaction.user.id)}
|
**Mod:** ${userMention(interaction.user.id)}
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: interaction.user.avatarURL() || ""
|
url: interaction.user.avatarURL() || ""
|
||||||
|
|||||||
@@ -137,7 +137,7 @@ export = {
|
|||||||
${timeouttime === null ? "**Time:** `None`" : "**Time:** `" + prettyTime + "`"}
|
${timeouttime === null ? "**Time:** `None`" : "**Time:** `" + prettyTime + "`"}
|
||||||
**Reason:** \`${reason}\`
|
**Reason:** \`${reason}\`
|
||||||
**Mod:** ${userMention(mod.id)}
|
**Mod:** ${userMention(mod.id)}
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: mod.user.avatarURL() || ""
|
url: mod.user.avatarURL() || ""
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ export = {
|
|||||||
**User:** ${userMention(user!.id)}
|
**User:** ${userMention(user!.id)}
|
||||||
**Mod:** ${userMention(mod.id)}
|
**Mod:** ${userMention(mod.id)}
|
||||||
**Reason:** ${reason}
|
**Reason:** ${reason}
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: mod.avatarURL() || ""
|
url: mod.avatarURL() || ""
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ export = {
|
|||||||
Updated your roles to \`Default Member\`
|
Updated your roles to \`Default Member\`
|
||||||
|
|
||||||
IGN: \`${ign}\`
|
IGN: \`${ign}\`
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: head!
|
url: head!
|
||||||
@@ -146,7 +146,7 @@ export = {
|
|||||||
Updated your roles to \`${replyRank}\`
|
Updated your roles to \`${replyRank}\`
|
||||||
|
|
||||||
IGN: \`${ign}\`
|
IGN: \`${ign}\`
|
||||||
`,
|
`.replace(/\n */g, "\n"),
|
||||||
color: embedColor,
|
color: embedColor,
|
||||||
thumbnail: {
|
thumbnail: {
|
||||||
url: head!
|
url: head!
|
||||||
|
|||||||
Reference in New Issue
Block a user