Commit 803d82fd authored by globa's avatar globa

cfg add

parent a3f338cc
$db = "D:\telegram-bot\db.sqlite" $db = "D:\telegram-bot\db.sqlite"
$ids = ('177113518','162513986')
#Invoke-SqliteQuery -DataBase $db -Query $query
# Token
$token = "320805042:AAFsnz44hhAmHvUy4i3fgT9oAA9xk0VbkHc" # Подключение файла с конфигурацией
$configFile = ".\config.cfg"
if (Test-Path $configFile) {
. $configFile
} else {
Write-Host "Файл с конфигурацией не найден"
}
# Telegram URLs # Telegram URLs
$URL_get = "https://api.telegram.org/bot$token/getUpdates" $URL_get = "https://api.telegram.org/bot$token/getUpdates"
$URL_set = "https://api.telegram.org/bot$token/sendMessage" $URL_set = "https://api.telegram.org/bot$token/sendMessage"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment