Keep both alive in Telegram for PC.
Budget: $10 – $30 USD
Keep both alive in Telegram for PC. Telegram bot dies after 2 hrs if you don't post to it. This was done to conserve telegram resources. I current have a send keys bot on my windows server. Current code is below: but not a solution. I need something that can do this automatically without interfering with my server work. I dont care what code you use as long work and dont disturb my server process.
param($minutes = 300)
$myshell = New-Object -com "Wscript.Shell"
for ($i = 0; $i -lt $minutes; $i++) {
Start-Sleep -Seconds 60
$myshell.sendkeys("/buy{ENTER}")
}
param($minutes = 300)
$myshell = New-Object -com "Wscript.Shell"
for ($i = 0; $i -lt $minutes; $i++) {
Start-Sleep -Seconds 60
$myshell.sendkeys("/buy{ENTER}")
}
Related categories:
C Programming
Business, Accounting, Human Resources & Legal
Visual Basic
.NET
VB.NET