SHARE
TWEET

Untitled

a guest May 25th, 2019 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. uvk.api.likes.isLiked({
  2.             user_id: context.senderId,
  3.             type: 'post',
  4.             owner_id: -group_id,
  5.             item_id: wall.items[0].id
  6.         }).then((likes) => {
  7.             if(!likes.liked) {
  8.                 return context.send('🔒 Вы должны поставить лайк на последнюю запись в нашем сообществе.');
  9.             }
  10.         }).catch((error) => {
  11.             console.error(error);
  12.         });
  13.  
  14. return context.scene.enter('scene_freedonate');
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