SHARE
TWEET

Untitled

a guest Feb 24th, 2020 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. updates.hear(/реф$/i,(context) => {
  2. let platform = false
  3. if(context.isChat) platform = true
  4. let user = base.bs[base.id[context.senderId].id]
  5. let nick = ``
  6. if(user.nicknotify == false) {
  7.     nick = `${base.bs[base.id[context.senderId].id].nick}`
  8. }
  9. if(user.nicknotify == true) {
  10.     nick = `*id${context.senderId} (${base.bs[base.id[context.senderId].id].nick})`
  11. }
  12. let myclan = clan[base.bs[base.id[context.senderId].id].clan]
  13.    
  14.     let ssilka = `vk.me/botbananatop?ref=${base.id[context.senderId].id}`
  15.     vk.api.call("utils.getShortLink", {url: ssilka}).then(function (res){
  16.     return context.send(`${nick}, ваша реферальная ссылка: ` + res.short_url + ` ${ssilka}`)
  17.     return context.send(`${ssilka}
  18.     💎 Вы пригласили в игру: ${user.refs} чел.
  19.     📮 Заработано на рефералах: ${utils.sp(user.refs * 25000000)}$
  20.  
  21.     🤝 Ваш друг должен перейти по Вашей реферальной ссылке.
  22. `)
  23. })
  24. })
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