Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- vk.updates.hear(/^(?:Играть)\s?([^]+)?/i, async (message) => {
- let user = acc.users[user_id(message.user)];
- if(user.keyboard == true) {
- await message.send(`Вот все игры :D`,
- {
- keyboard:JSON.stringify(
- {
- "buttons": [
- [{
- "action": {
- "type": "open_app",
- "app_id": 6748650,
- "owner_id": -182999446,
- "payload": "{\"buttons\": \"1\"}",
- "hash":"123",
- "label":"VkPoint"
- }
- }
- ],
- [
- {
- "action": {
- "type": "open_app",
- "app_id": 6948819,
- "owner_id": -182999446,
- "payload": "{\"buttons\": \"1\"}",
- "hash": "123",
- "label": "ByteCoin"
- }
- }
- ],
- [
- {
- "action": {
- "type": "open_app",
- "app_id": 6952930,
- "owner_id": -182999446,
- "payload": "{\"buttons\": \"1\"}",
- "hash": "123",
- "label": "Pulse Coin"
- },
- }]
- ]
- })
- });
- await message.send(`Приложения в нашем основном сообществе - @gamemaxwell`)
- }}
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement