Initial commit: VK Sales Bot project structure

This commit is contained in:
User
2026-05-05 18:25:28 +03:00
commit 09c42edfdc
47 changed files with 1512 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
$body = @{
name = 'bot_vk_ikp'
description = 'VK Sales Bot'
private = $false
} | ConvertTo-Json
$bytes = [System.Text.Encoding]::UTF8.GetBytes($body)
$headers = @{
'Authorization' = 'Bearer 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'
'Accept' = 'application/vnd.github.v3+json'
}
$result = Invoke-RestMethod -Method POST -Uri 'https://api.github.com/user/repos' -Headers $headers -Body $bytes -ContentType 'application/json; charset=utf-8'
Write-Host "Repository created: $($result.html_url)"