From 19b023ee706da45ad4f54659ddb6935ebc8c08e9 Mon Sep 17 00:00:00 2001 From: Matthew Clark <43628254+mon5termatt@users.noreply.github.com> Date: Sun, 25 Feb 2024 19:37:38 -0600 Subject: [PATCH] Update motd.ps1 --- translate/motd.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/translate/motd.ps1 b/translate/motd.ps1 index 3adf6fd..2bb1d7d 100644 --- a/translate/motd.ps1 +++ b/translate/motd.ps1 @@ -2,7 +2,7 @@ $TargetLanguage = $Args[0] $text1 = "Giveaway in the discord" -$Uri1 = “https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=$($TargetLanguage)&dt=t&q=$text1” +$Uri1 = "https://translate.googleapis.com/translate_a/single?client=gtx&sl=auto&tl=$($TargetLanguage)&dt=t&q=$text1" $Response = Invoke-RestMethod -Uri $Uri1 -Method Get $Translation1 = $Response[0].SyncRoot | foreach { $_[0] }