-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Обновить документацию #148
Comments
Гайды по написанию различных ботов, думаю, надо смотреть не в документациях по работе с API VK |
Привет! Прошу прощение за долгий ответ, но какие именно есть предложения? Есть пример бота со сценами. Примеры должны быть простыми и понятными. |
Одно слово - контексты. |
Подсветка типов от TS используется? |
Используется, но работает только с Context и Message. Остальные геттеры тупо не видны. |
Привет. |
На примере прокси через Tor const { VK } = require('vk-io');
const Agent = require('socks5-https-client/lib/Agent');
const HttpProxyAgent = require('http-proxy-agent');
let vk = new VK();
const agent = new Agent({ socksPort: 9050, socksHost: "127.0.0.1" });
// const agent = new HttpProxyAgent("http://127.0.0.1:8119");
vk.setOptions({ agent });
(() => {
try {
let [user] = await vk.api.users.get();
console.log('User:', user);
} catch(e) { console.log(e); }
})(); |
Спасибо |
Я закрою этот вопрос в пользу этого #255 |
Несмотря на 100% coverage of the VKontakte API, документация скудная и безполезна для создания более сложных ботов чем "Команда -> Ответ".
The text was updated successfully, but these errors were encountered: