Update motd.ps1

pull/59/head
Matthew Clark 6 months ago committed by GitHub
parent 05afa83493
commit 45e39b1d40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,9 +1,10 @@
$TargetLanguage = $Args[0]
$text1 = "if you have any issues please contact the discord"
$text1 = "We are currently doing a giveaway in the discord."
$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] }
write-host $Translation1
write-host "https://discord.gg/medicat"

Loading…
Cancel
Save