Qq Bot Rebown Versions Save

[DEPRECATED!] SmartQQ robot written in JavaScript, using ES7 async/await features

v2.1.8

5 years ago

Fix

  • util: fix existAsync in electron
  • qq: fix self-send message handling

v2.1.7

5 years ago

Fix

  • unescape HTML special characters for received message

v2.1.6

6 years ago

Fix

update ptqrlogin URL, fixes polling

v2.1.5

6 years ago

Fix

  • only get group info by gcode (#29 ,thanks to @tongjinle )
  • handle poll retcode 100000 as disconnect

v2.1.3

6 years ago

Fix

  • do not enter message handling porcess when poll request error
  • emit "cookie-expire" when getSelfInfo error
  • cookie file should be deleted when "cookie-expire"

v2.1.2

6 years ago

Fix

  • fix index.d.ts errors reported by tslint
  • fix "short poll" log is always zero

v2.1.4

6 years ago

Fix

  • fix crash when 'cookie-expire' since v2.1.3

v2.1.1

6 years ago

Fix

  • qq:
    • detect whether msg is sent by self correctly
    • compute pollTime correctly
    • treat poll < 3s as short rather than 1s
    • use new referer when send msg
    • count short poll and msg send retry correctly
  • index.d.ts
    • fix typo and some wrong type
  • message-agent
    • msg_id now generated by code from SmartQQ

v2.1.0

6 years ago

Features

  • headless: catch and save screenshot to tmpdir when error
  • qq: new option maxSendRetry and maxShortAllow the former controls the max retry count of unsuccessful message send request; the latter controls max count of which "short poll" happens continuouslly, generally you needn't care about it.

v2.0.0

6 years ago

Depercated

  1. removed QQ construcotr options
  • options.cronTimeout
  1. removed field/method
  • qq.buddyGroup
  • qq.buddyNameMap
  • qq.groupNameMap
  • qq.discuNameMap
  • qq.cronJobs
  • qq.cronTimeout
  • qq.isAlive : renamed to qq._alive
  • qq.getAllGroupMembers()
  • qq.getAllDiscuMembers()
  • qq.getBuddyGroupInfo()
  • qq.getBuddyQQNum()

Breaking & Featrue

  • all the methods get***Name and getNameIn*** return Promise now
  • all info-fetching methods (qq.getBuddy(), qq.getGroup(), etc.) now returns its result
  • qq.innerSendMsg() would check if msg was sent successfully, and try at most 3 times. it would return false and leave a WARNING log when failed.