Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Commit

Permalink
fix: correct variable replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
ImRodry committed Apr 25, 2022
1 parent d1484e8 commit 776d77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listeners/messageCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ client.on("messageCreate", async message => {
embed = new EmbedBuilder({
color: colors.error,
author: { name: getGlobalString("errors.wrongLink") },
title: getGlobalString("linkCorrectionDesc", { variables: { extension: "`crowdin.com/translate/hypixel/.../en-en#`" } }),
title: getGlobalString("linkCorrectionDesc", { variables: { format: "`crowdin.com/translate/hypixel/.../en-en#`" } }),
description: `**${getGlobalString("correctLink")}**\n${correctLink.startsWith("https://") ? correctLink : `https://${correctLink}`}`,
})
await message.reply({ embeds: [embed] })
Expand Down

0 comments on commit 776d77b

Please sign in to comment.