Advertisement
Guest User

Untitled

a guest
Aug 17th, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const { VK } = require('vk-io');
  2. const vk = new VK();
  3. const commands = [];
  4. vk.setOptions({ token: '', pollingGroupId: });
  5. const { updates } = vk;
  6. let users = require('./users.json');
  7.  
  8. vk.updates.hear(/^(?:помощь)$/i, async (ctx) => {
  9.     await ctx.send(`
  10.         Мои команды:
  11.         -- id
  12.         -- Профиль
  13.     `)
  14. });
  15.  
  16. vk.updates.start().catch(console.error);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement