SHARE
TWEET

Untitled

a guest May 25th, 2019 77 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. let token = 'буковы'
  2. const VkBot = require('node-vk-bot-api'),
  3.       Markup = require('node-vk-bot-api/lib/markup'),
  4.       api = require('node-vk-bot-api/lib/api'),
  5.       Scene = require('node-vk-bot-api/lib/scene'),
  6.       Context = require('node-vk-bot-api/lib/context'),
  7.       bot = new VkBot(token)
  8.  
  9. bot.command(/^eval/i, (data) => {
  10. let text = b.replace(/eval/i, '')
  11. data.reply(eval(text))
  12. })
  13.  
  14. bot.command(/ping/i, (data) => {)
  15. data.reply('pong')
  16. })
  17.  
  18. bot.startPolling()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top