Update motd.ps1

pull/76/head
Matthew Clark 2 months ago committed by GitHub
parent 442aa0d400
commit 19b023ee70
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save