UNPKG

@xud6/cq-websocket

Version:

A Node SDK for developing QQ chatbots based on WebSocket, which is depending on CoolQ and CQHTTP API plugin.

17 lines (13 loc) 248 B
const CQTag = require('../CQTag') module.exports = class CQRPS extends CQTag { constructor () { super('rps') } get type () { return this.data.type } coerce () { this.data.type = Number(this.data.type) return this } }