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] }