UNPKG

cq-websocket

Version:

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

21 lines (19 loc) 269 B
const CQTAG_TYPES = [ 'face', 'emoji', 'bface', 'sface', 'image', 'record', 'at', 'rps', 'dice', 'shake', 'anonymous', 'music', 'share', 'text' ] module.exports = function isSupportedTag (tagName) { return CQTAG_TYPES.includes(tagName) }