Advertisement
Guest User

fff

a guest
Jul 12th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. vk.updates.hear(/^(?:Играть)\s?([^]+)?/i, async (message) => {
  2.         let user = acc.users[user_id(message.user)];
  3. if(user.keyboard == true) {
  4.     await message.send(`Вот все игры :D`,
  5.  {
  6.             keyboard:JSON.stringify(
  7.         {
  8.             "buttons": [
  9.             [{
  10.                 "action": {
  11.                 "type": "open_app",
  12.                 "app_id": 6748650,
  13.                 "owner_id": -182999446,
  14.                 "payload": "{\"buttons\": \"1\"}",
  15.                 "hash":"123",
  16.                 "label":"VkPoint"
  17.  
  18.          }
  19.          }
  20.       ],
  21.       [
  22.          {
  23.                 "action": {
  24.                 "type": "open_app",
  25.                 "app_id": 6948819,
  26.                 "owner_id": -182999446,
  27.                 "payload": "{\"buttons\": \"1\"}",
  28.                 "hash": "123",
  29.                 "label": "ByteCoin"
  30.  
  31.          }
  32.          }
  33.       ],
  34.       [
  35.          {
  36.                 "action": {
  37.                 "type": "open_app",
  38.                 "app_id": 6952930,
  39.                 "owner_id": -182999446,
  40.                 "payload": "{\"buttons\": \"1\"}",
  41.                 "hash": "123",
  42.                 "label": "Pulse Coin"
  43. },
  44.         }]
  45.             ]
  46.             })
  47.         });
  48. await message.send(`Приложения в нашем основном сообществе - @gamemaxwell`)
  49.     }}
  50. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement